1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00
Commit Graph

5406 Commits

Author SHA1 Message Date
Ted John
5ccfd83dea add global macro for gScenarioTicks 2016-05-08 23:20:42 +01:00
Ted John
c77311a113 small fix and refactor of S6Importer / Exporter 2016-05-08 23:16:25 +01:00
Ted John
9d7db70965 export variables individually 2016-05-08 22:35:12 +01:00
Ted John
2ab41b547a use S6Importer for network load game 2016-05-08 22:35:11 +01:00
Ted John
bc7d1343da fix crash, just always reset loaded objects 2016-05-08 22:35:10 +01:00
Ted John
09fab986ed remove old code 2016-05-08 22:35:10 +01:00
Ted John
a86bc57a96 use S6Exporter for scenario_save 2016-05-08 22:35:09 +01:00
Ted John
4eb7a7ee0e add S6 exporter 2016-05-08 22:35:08 +01:00
Ted John
9a61d8c885 add importing of scenarios 2016-05-08 22:35:07 +01:00
Ted John
3bb1d47813 use new S6Importer for loading saved games 2016-05-08 22:35:06 +01:00
Ted John
30467a1467 copy over game variables and refactor a few 2016-05-08 22:35:05 +01:00
Ted John
3557c7c8eb add S6 importer and chunk loading 2016-05-08 22:35:05 +01:00
Matte A
c7c3923556 Fix conflicting strings (#3534) 2016-05-08 21:55:04 +01:00
Steven Vascellaro
dbb64f8ea3 Added additional tooltips for options menu (#3394)
Added tooltips for every selectable item in the options menu, as well as some minor variable renaming and vertical alignment
2016-05-08 17:22:48 +01:00
Ted John
094d395567 create tracks directory on save track 2016-05-08 14:04:16 +01:00
Ted John
4d7e693ace fix non-deterministic file dialog title for save track 2016-05-08 14:04:15 +01:00
janisozaur
f60855ab95 Fix strict aliasing breakage in ride_set_name() (#9) 2016-05-08 14:04:15 +01:00
Michał Janiszewski
0366a6c57f Fix possible bad memory access when placing track design
Name of ride can be set to a string of variable length, like in
`track_design_open` it gets set to the variable length filename. In
`ride_set_name`, however, the ride name is accessed as if it was
36-bytes long anyway. This makes sure all 36 bytes are available for
accessing.
2016-05-08 14:04:14 +01:00
Michał Janiszewski
227c772099 Fixes to track design manager
Fix errorneous sizeof() argument, skip unneeded memset
2016-05-08 14:04:13 +01:00
Ted John
87d4a9dab9 use track rather than tracks for user directory 2016-05-08 14:04:12 +01:00
Ted John
a76a76a4b5 prevent crash when TD6s have less than 4 bytes 2016-05-08 14:04:11 +01:00
Ted John
70d613ede2 prevent crash in some place track design case 2016-05-08 14:04:10 +01:00
Ted John
cf27410b4e fix track index file writing 2016-05-08 14:04:09 +01:00
Ted John
d4c30ea5ec fix warnings 2016-05-08 14:04:09 +01:00
Ted John
e20d8b4040 add licence headers to new sources 2016-05-08 14:04:08 +01:00
Ted John
805a89d49a refactor more track place 2016-05-08 14:04:07 +01:00
Ted John
7564d0e5a6 fix placing and saving of mazes 2016-05-08 14:04:06 +01:00
Ted John
52ab86fdcf rename functions without design word 2016-05-08 14:04:06 +01:00
Ted John
f110597f41 clear up sub_6CB945 2016-05-08 14:04:05 +01:00
Ted John
6797753e18 refactor track_place_ride 2016-05-08 14:04:04 +01:00
Ted John
f9074485f9 integrate more variables 2016-05-08 14:04:04 +01:00
Ted John
629e36bc0a integrate variable: _trackSaveDirection 2016-05-08 14:04:03 +01:00
Ted John
c844275cea integrate variable: gTrackPreviewOrigin 2016-05-08 14:04:02 +01:00
Ted John
a8a8a7b1b2 fix track saving 2016-05-08 14:04:01 +01:00
Ted John
cbc1848db4 refactor track design save: _trackSavedMapElements 2016-05-08 14:04:00 +01:00
Ted John
c0fa762fa5 integrate some unknown variables 2016-05-08 14:04:00 +01:00
Ted John
b9ae7d44cf refactor track preview map backup 2016-05-08 14:03:59 +01:00
Ted John
9afdd7b514 refactor track_design_draw_preview 2016-05-08 14:03:58 +01:00
Ted John
09bc083a69 integrate variables for preview min, max 2016-05-08 14:03:57 +01:00
Ted John
7c0d3a9077 fix install track 2016-05-08 14:03:57 +01:00
Ted John
231ea9e97c fix rename and delete track design 2016-05-08 14:03:56 +01:00
Ted John
f4f8801f2b fix memory issue and add variable for scenery toggle 2016-05-08 14:03:55 +01:00
Ted John
feb34660e3 fix up track manage window 2016-05-08 14:03:54 +01:00
Ted John
a19e5feadf fix track design mirror and ride name 2016-05-08 14:03:53 +01:00
Ted John
02a979cad5 refactor track design functions 2016-05-08 14:03:52 +01:00
Ted John
d88ef5e4c2 rename track list to track design index 2016-05-08 14:03:52 +01:00
Ted John
993ef35508 reduce use of gActiveTrackDesign 2016-05-08 14:03:51 +01:00
Ted John
f00d7daef5 fix track design preview, place and refactor 2016-05-08 14:03:50 +01:00
Ted John
3c95562efd fix new ride design count and track design listing 2016-05-08 14:03:49 +01:00
Ted John
1908743c71 refactor track save, move into own source 2016-05-08 14:03:49 +01:00