1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00
Commit Graph

117 Commits

Author SHA1 Message Date
Ted John
b1f704dac4 add global macros for more finance variables 2016-04-25 22:38:09 +01:00
Ted John
870a8b55e5 add global macros for viewport variables 2016-04-25 21:53:21 +01:00
Ted John
99223d5d04 fix #3407: rides were not removed in editor 2016-04-24 23:48:33 +01:00
Ted John
171c4f20b7 fix tautology bug 2016-04-24 22:25:32 +01:00
Ted John
0f6e64ac76 add global macros for map size and tile loop 2016-04-24 14:00:26 +01:00
Ted John
6c25c85363 add variable pointers for park entrance position 2016-04-24 10:53:04 +01:00
Ted John
ef7dd83735 add pointer variables for scenario name and details 2016-04-23 17:53:25 +01:00
Ted John
4cdb2df9dc integrate screen variables 2016-04-23 11:16:46 +01:00
Ted John
3bd21240ed add global macros for climate variables 2016-04-23 10:53:48 +01:00
Ted John
c9adf50716 add global macro: gNumGuestsHeadingForPark 2016-04-23 02:56:55 +01:00
Ted John
7905757923 add global macro: gNumGuestsInParkLastWeek 2016-04-23 02:55:14 +01:00
Ted John
65d749de7b add global macro: gGuestChangeModifier 2016-04-23 02:51:38 +01:00
Ted John
8509927dc7 add global macro: gGuestInitialCash 2016-04-23 02:35:03 +01:00
Ted John
463a2f4533 add global macro: gScenarioObjectiveCurrency 2016-04-23 02:23:17 +01:00
Ted John
1f6081c0d9 add global macro: gScenarioObjectiveNumGuests 2016-04-23 02:18:45 +01:00
Ted John
17f5d8cb48 add global macro: gScenarioObjectiveYear 2016-04-23 02:16:32 +01:00
Ted John
35e5c49454 add global macro: gScenarioObjectiveType 2016-04-23 02:14:14 +01:00
Ted John
5cb25c390f add global macro: gBankLoanInterestRate 2016-04-23 02:06:56 +01:00
Ted John
3c52983178 add global macro: gBankLoan 2016-04-23 02:00:44 +01:00
Ted John
b59f5c17ca add global macros for park...
- gParkSize
- gParkEntranceFee
- gNumGuestsInPark
2016-04-23 01:00:00 +01:00
Ted John
307cb9e08b add global macro: gParkFlags 2016-04-23 00:51:22 +01:00
Ted John
25958b0d30 remove old RCT1 import code 2016-04-22 19:26:15 +01:00
Ted John
1b3f46f960 integrate game command error string variables
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
IntelOrca
b436ac9bc6 fix #3160: no land owned in rc designer 2016-03-26 15:41:58 +00:00
Michał Janiszewski
3bf1e0e06d Rename safe_strncpy to safe_strcpy 2016-01-18 20:49:52 +01:00
IntelOrca
3073bc64fd remove rct2_endupdate 2016-01-09 00:25:30 +00:00
IntelOrca
40a4bd1fa8 remove old object_paint calls, replace with new 2016-01-07 19:01:19 +00:00
IntelOrca
ab38828e03 integrate object list variables:
- gInstalledObjectsCount
- gInstalledObjects
- gNumInstalledRCT2Objects
- gNumInstalledCustomObjects
- gLastLoadedObjectChunkData
2016-01-06 20:41:21 +00:00
IntelOrca
6747f20238 hardcode difficulty for original scenarios 2016-01-02 21:05:31 +00:00
Dom Light
3a8b25a0ee Sanitize audio.h 2015-11-17 01:05:14 +00:00
duncanspumpkin
efb30a8121 Fix #2037. Issue caused by reseting the zoom difference before too early. 2015-11-09 18:48:03 +00:00
IntelOrca
2c58e1d894 use internal load window for convert saved game to scenario, closes #2121 2015-11-02 21:10:07 +00:00
Michał Janiszewski
9284930d7e Add safe_strncpy function
safe_strncpy is similar to strncpy, but makes sure buffer is
null-terminated. Update most of project to use this updated function to
prevent illegal memory accesses.
2015-10-30 16:01:00 +01:00
Alexander Overvoorde
01793e11b7 Replace RCT2_GLOBAL magic numbers with address identifiers and string ids 2015-10-29 09:44:46 +01:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
duncanspumpkin
ee1e71f287 Fix loadlandscape breaking enabled tabs
Issue was caused by not calling sub_6DFED0 when loading the landscape. I assume in vanilla this would happen as part of the loading but due to the way loadsave now works it doesn't happen. In the process I also labelled the offset for editor step.
2015-10-15 22:16:27 +01:00
Jonathan Haas
8463e58922 Define some tick related addresses 2015-10-03 20:00:29 +02:00
IntelOrca
bea74ee261 make all file IO utf8 compatible, fixes #1847 2015-08-29 13:13:23 +01:00
medsouz
ca1a1e0ddd Document various memory addresses 2015-08-16 13:05:49 -04:00
Gymnasiast
86bcbafc01 Rename finance_mark_loan_settings_as_legitimate() to finance_update_loan_hash() 2015-08-13 09:00:49 +02:00
Gymnasiast
e9637978a1 Fix cheat detection when using Scenario Options in-game, rename sub_69E869() 2015-08-12 16:12:34 +02:00
IntelOrca
799cb53ec7 implement utf8, part 18 2015-08-01 10:20:59 +01:00
IntelOrca
445d603abe refactor various things such as scenario begin and staff mode reset, add rct1 ride struct 2015-07-14 18:18:28 +01:00
zsilencer
b876591543 use SDL_RWops for save games 2015-07-11 12:27:46 +01:00
IntelOrca
c366571a99 implement editor_check_object_selection 2015-07-06 15:37:40 +01:00
IntelOrca
791c2391f5 implement-editor-callprocs, part 2 2015-07-06 14:40:37 +01:00
IntelOrca
3d6988b0f7 isolate callprocs in rct1.c and add reset cash function 2015-07-02 18:39:32 +01:00
IntelOrca
19edd8a3bb refactor game command enum 2015-06-29 17:36:07 +01:00
Duncan Frost
ab7e1da84e Implemented object unload.
Refactored calls to the function. No need to pass the object type.
2015-06-26 17:45:38 +01:00
IntelOrca
8416596bf8 implement park_update_histories 2015-06-20 17:28:17 +01:00