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

5415 Commits

Author SHA1 Message Date
Ted John
b5c0913b76 add global macros for a few more things, ride rating related and misc 2016-05-09 22:54:22 +01:00
Ted John
5162bc5a0e add global macro for a few ride variables and expenditure table 2016-05-09 22:11:56 +01:00
Ted John
3c3a37073d add global macro for gSamePriceThroughoutPark 2016-05-09 21:18:44 +01:00
Ted John
275f7c6723 add global macro for gCurrentExpenditure, gCurrentProfit 2016-05-09 21:12:01 +01:00
Ted John
3105d62d3b add global macro for gTotalAdmissions, gTotalIncomeFromAdmissions 2016-05-09 21:05:17 +01:00
Ted John
be2d1127f5 add global macro for gResearchLastItemSubject 2016-05-09 20:38:26 +01:00
janisozaur
d7a51aadee Sanity checks for RCT1 SC4 import (#3551) 2016-05-09 19:13:21 +01:00
janisozaur
8d0481deba Make sure to only update valid vehicles (#3543)
Lets us load parks like Six Flags Carolina:
http://www.nedesigns.com/park/1571/six-flags-carolina/
2016-05-09 15:52:03 +01:00
Ted John
d2c5501eea refactor sprite heads and counts 2016-05-09 00:08:03 +01:00
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