1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00
Commit Graph

306 Commits

Author SHA1 Message Date
Michał Janiszewski
0ece63a7f6 Wrap RCT2's addresses in RCT2_ADDRESS macro 2016-08-06 21:38:46 +01:00
Ted John
c2db79919d Integrate gWindowUpdateTicks 2016-08-06 01:35:46 +01:00
Michał Janiszewski
801c7f27d5 Use named addresses 2016-08-05 22:46:45 +01:00
Yaroslav Tretyakov
53a7b87414 Fix #4204: Client trying to get sprite 65535
Caused by a conflict between a multiplayer map download and the title loading a different map.
2016-08-05 22:46:19 +01:00
Michał Janiszewski
b16b6814aa Fix pointer types for 64 bit builds 2016-08-01 23:14:42 +02:00
Michał Janiszewski
a6d0e6916e Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Ted John
04340021f6 Fix #4071: Guests paid when free entry park flag
Make most usages of park entrance fee use a common function which does the necessary checks.
2016-07-13 19:48:42 +01:00
Ted John
dca816cfd3 Merge pull request #4024 from IntelOrca/refactor/object-list
Refactor and improve the object system:
- Objects are now exported to user directory under 'object'.
- Object directories are scanned recursively.
- Improves reliability of object loading and handling of bad objects.
- Improve performance of object scanning.
- Only load new objects when loading a new game.
- Improve changing language experience.
2016-07-11 23:45:45 +01:00
Michał Janiszewski
639f19adbf Fix define checks in project 2016-07-09 10:05:12 +02:00
Ted John
6f97ec798e remove object entry addresses and use constants 2016-07-08 22:58:38 +01:00
Ted John
a47c039f22 remove lots of old object code 2016-07-08 22:58:38 +01:00
Michał Janiszewski
402e5a32a0 Integrate path variables used by game 2016-06-19 23:52:20 +02:00
Michał Janiszewski
ba7008df18 Integrate some scenario variables
gScenarioTicks is still being used in some of native code
2016-06-19 23:52:20 +02:00
Ted John
d07b9535c2 integrate variables: object entry lists 2016-06-16 11:36:15 +02:00
CraigCraig
c946d2fb06 Various Spelling Fixes - 5/29/16 (#3770) 2016-05-29 10:00:38 +01:00
Ted John
25ac99e04a add variable for gS6Info 2016-05-20 23:26:19 +01:00
janisozaur
ca430e1b23 Drop unused variables (#3586) 2016-05-13 18:21:58 +01:00
Ted John
1229cbd540 clean up s6 struct a bit 2016-05-11 22:30:25 +01:00
Ted John
30a044ae72 add globals for gWeeklyProfitAverage... 2016-05-11 19:41:34 +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
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
9d7db70965 export variables individually 2016-05-08 22:35:12 +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
a0dac1fee5 fix #3323: save (not save as) crashed afterwards due to saving objects 2016-05-07 18:24:50 +01:00
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Gymnasiast
b37d4804ce Integrate gErrorType and gErrorStringId, fixes 2016-05-03 07:25:19 +02:00
Gymnasiast
5d0b79227f Clean up some magic values and refactor a bit 2016-05-03 07:25:19 +02:00
X7123M3-256
ef82bbbab1 Send cheat status over network 2016-05-02 21:37:09 +02:00
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
652b1c83db integrate variables for lightning and toolbar dirty flags 2016-04-24 21:49:09 +01:00
Ted John
6c25c85363 add variable pointers for park entrance position 2016-04-24 10:53:04 +01:00
Ted John
bac5538178 add global macro: gTotalRideValue 2016-04-24 10:36:56 +01:00
Ted John
e7f62bf014 integrate game palette variables 2016-04-24 02:02:56 +01:00
Ted John
a1150d31cf add global macros for more scenario variables 2016-04-23 18:07:07 +01:00
Ted John
ef7dd83735 add pointer variables for scenario name and details 2016-04-23 17:53:25 +01:00
Ted John
ee509caf35 integrate game paused variable and refactor 2016-04-23 13:34:55 +01:00
Ted John
4cdb2df9dc integrate screen variables 2016-04-23 11:16:46 +01:00
Ted John
1950fad315 add global macros for date 2016-04-23 11:03:34 +01:00
Ted John
3bd21240ed add global macros for climate variables 2016-04-23 10:53:48 +01:00
Ted John
727a568e32 add global macro: gGuestInitialHappiness 2016-04-23 02:36:24 +01:00
Ted John
66855e41e5 add global macro: gParkNameArgs 2016-04-23 02:28:11 +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