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

99 Commits

Author SHA1 Message Date
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
IntelOrca
dc3fe2a6c8 remove commented out CALLPROCs and CALLFUNCs 2015-06-09 15:09:45 +01:00
Duncan Frost
3bd3fccb57 Fix rotation disapearing sprites
This was caused by the sprite quadrant assignment not being reset when a new rotation was assigned
2015-05-30 10:15:29 +01:00
zsilencer
26ab7c7b7e #1011 2015-04-25 09:20:15 -06:00
IntelOrca
c9ea1b6979 refactor RCT1 import code 2015-04-01 18:14:30 +01:00
IntelOrca
32cbbb1e35 implement editor_fix_rct1_terrain 2015-03-31 18:24:49 +01:00
IntelOrca
509b2a1c6d implement research_populate_list_random 2015-03-31 17:09:16 +01:00
IntelOrca
4d11def81d implement editor_fix_rct1_scenery, editor_rct1_reset_research and research_remove_non_separate_vehicle_types 2015-03-31 15:17:43 +01:00
IntelOrca
1c1445d14f implement editor_load_rct1_default_objects 2015-03-31 13:06:34 +01:00
IntelOrca
851b0819b9 clean up many CALL_PROCs and implement a few functions 2015-03-31 02:21:30 +01:00
IntelOrca
d1e4fe8060 implement scenery_set_default_placement_configuration 2015-03-29 02:29:07 +01:00
IntelOrca
d67335d0c7 implement remaining map animation invalidate event handlers and create map animation 2015-03-22 01:19:23 +00:00
Duncan Frost
a04de29bf8 Finish refactor of object_list.c 2015-03-07 12:45:13 +00:00
Duncan Frost
936f2f127f Refactor of object_list.c 2015-03-07 11:13:10 +00:00
Duncan Frost
ddcf766fea More refactoring of object.c 2015-03-07 09:44:34 +00:00
Duncan Frost
013be11aed Refactored water and entrance paint functions 2015-03-01 21:06:51 +00:00
Duncan Frost
2b2ca7c7b3 Fix zoomed saves incorrectly loading 2015-02-28 00:20:34 +00:00
Ted John
b89af82f07 Merge pull request #876 from Gericom/develop
Implemented paint_ride_entry and cleanup,  Implemented window_construction_paint
2015-02-27 12:11:53 +00:00
Gericom
ec3e7edcec Implemented paint_ride_entry
Translated ride names and descriptions! (only the names in the scenario
editor are still in english somehow)
2015-02-26 14:47:34 +01:00