Ted John
25bc798ff8
Move contents of src into project sub directory
2017-01-04 17:44:12 +00:00
Ted John
31d4f79dc5
Merge pull request #4878 from Broxzier/cpp_fixes
...
CppCheck fixes
2016-12-28 12:57:34 +00:00
LRFLEW
8e449b9648
Fix #4571 : Only start autosave timer after update or game command
2016-12-28 12:53:55 +00:00
Gymnasiast
c226df8dfe
Load SV6 files with incorrect checksum if the user has enabled that option
2016-12-25 13:48:49 +01:00
LRFLEW
a345560509
Add Importing of RCTC scenarios ( #4905 )
2016-12-25 13:40:45 +01:00
Broxzier
6c29bdbf21
CppCheck fixes
2016-12-24 13:10:03 +01:00
Ted John
c5899139d7
Move scenario sources to sub directory
2016-12-16 01:25:05 +00:00
LRFLEW
7a93c1f001
Fix Compilation Issues
2016-12-16 01:25:04 +00:00
Ted John
afdd45f3cc
Refactor title sequence player to new class
2016-12-16 01:25:02 +00:00
Ted John
fb89826280
Get parks loading from ZIP working
2016-12-16 01:25:01 +00:00
Ted John
abc3835d7b
Rename openrct2.c h to OpenRCT2.c h
2016-12-14 00:32:06 +00:00
Ted John
0019827d6c
Refactor sprite tween logic out openrct2.c
2016-12-11 12:16:47 +00:00
Michał Janiszewski
54e622659d
Extract common parts from rct2.h to common.h
2016-12-01 16:03:16 +01:00
Alexander Overvoorde
18d943533a
Fixes #4808 : Add land rights recalculation for loading save games
...
The feature of disabling the land rights buying buttons depends on the
land rights being accounted for, but the function that calculates these
was not called when loading saved games. Therefore it would often make
it impossible to buy land after loading a saved game.
2016-11-21 22:54:06 +01:00
Ted John
5e554ebdcb
Allow loading saved games in editor
2016-10-03 19:14:26 +01:00
Marijn van der Werf
487d6d8f15
Remove unnecessary addresses.h imports
2016-09-17 20:59:55 +01:00
Michał Janiszewski
5603e11d49
Remove unused 0x13CA742
2016-09-12 19:27:06 +02:00
Ted John
0553ed5b95
Integrate various buffers
2016-09-10 23:01:42 +01:00
Ted John
6af50c1135
Integrate variables in map.c
2016-09-10 21:50:21 +01:00
Ted John
4350e53392
Integrate gS6Info
2016-09-10 18:30:53 +01:00
Ted John
f36485557d
Integrate remaining globals in ride window
2016-09-10 18:21:05 +01:00
Ted John
20c35b10eb
Integrate variables in park.c
2016-09-10 17:46:34 +01:00
Ted John
708efdd08c
Integrate unknown game variables
2016-09-10 14:46:53 +01:00
Ted John
3b0b8a12d1
Integrate ride count
2016-09-10 13:40:58 +01:00
Ted John
ae0eb1804c
Integrate gParkRatingCasualtyPenalty
2016-09-04 15:44:59 +01:00
Ted John
9478e0a53e
Integrate gHistoricalProfit
2016-09-04 15:36:39 +01:00
Ted John
e47b8d906e
Integrate gLastEntranceStyle
2016-09-04 15:21:49 +01:00
Ted John
5893c6da82
Remove loan hash, but keep for S6 export
2016-09-04 15:11:15 +01:00
Ted John
3c80df07d4
Integrate gSavedAge
2016-09-04 15:11:15 +01:00
Michał Janiszewski
f8145b6edc
Refactor inclusion of addresses.h
...
addresses.h is now only included when necessary, limiting scope as much
as possible.
2016-09-03 21:25:19 +01:00
Ted John
ff12c2b326
Integrate animation objects
2016-08-20 22:38:50 +01:00
Ted John
154bb0d475
Integrate guest and park globals
...
Note: this also fixes loading of landscapes in the editor which did not use the new SC loading code.
2016-08-14 15:50:52 +01:00
Ted John
223d377d09
Integrate ride rating calc data using struct
2016-08-14 14:47:53 +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
zsilencer
5d04e5e03e
Multiplayer desync stuff
2016-08-01 20:47:21 +02:00
Michał Janiszewski
155bc054df
Fix #4172 : Expose ride-type changing capability in UI
...
This also allows changing ride type in multiplayer games. Very crashy.
2016-08-01 20:30:08 +02:00
Yaroslav Tretyakov
dd4e4caeaa
Reset sprite quadrant placements as part of sprite reset command
...
This addresses some sources of desyncs in multiplayer.
2016-07-26 22:29:54 +02:00
Michał Janiszewski
010422c7da
Load and save sprites to S6 explicitly
2016-07-18 00:23:33 +02:00
Michał Janiszewski
9f57c82653
Refactor access to g_sprite_list
...
Hide g_sprite_list behind accessor function with a check. `assert` is
temporarily disabled, as it breaks nearly every park.
2016-07-17 22:19:34 +02:00
Ted John
4de1f2912a
remove unnecessary functions
2016-07-09 15:36:48 +01:00
Ted John
78c6b6a251
remove all unnecessary object resets
2016-07-08 22:58:38 +01:00
Ted John
e8635c1307
prepare for better object loading
2016-07-08 22:58:38 +01:00
Ted John
80381cfaa0
fix objects always been packed into saves
2016-07-08 22:58:38 +01:00
Michał Janiszewski
644a36a310
Fixes to -Wall compilation
...
By default, not all warnings are enabled. This change makes sure that
the project compiles correctly with following options turned on:
-Wall -Wno-unused-but-set-variable -Wno-missing-braces \
-Wno-unknown-pragmas -Wno-unused-function
2016-06-20 13:46:27 +01:00
X123M3-256
706b3db99e
Chain lift cheat ( #3818 )
...
* Fix conflict with disable plant aging cheat
* Allow chain lift on any piece
* Keep chain toggled while building
* Ignore current chain lift state when cheat enabled
* Update string ids to one not already used
* Implement command for toggling cheat
* Allow chain on steep tracks when cheat is enabled
* Add checkbox for chain cheat
* Fix spacing
* Send cheat over network
* Change label for checkbox
* Replaced tabs with spaces
2016-06-07 22:08:38 +01:00
Ted John
a9bf0cdd4e
fix #3811 : Multiplayer Crash on join
...
Game was probably being updated with title sequence sprite spatial index.
2016-06-03 22:03:22 +01:00
Michał Janiszewski
4955279b7b
Synchronise reset_0x69EBE4 over network
...
Clients calling reset_0x69EBE4 not in sync is a major cause of desyncs,
this change tries to force sync across clients
2016-06-03 00:33:15 +02:00
Goddesen
809e459495
Added cheat to disable plant aging
2016-06-03 00:33:15 +02:00
Ted John
8db0933ee2
fix loading of temperature from SV6
2016-05-28 23:11:57 +01:00
Ted John
25ac99e04a
add variable for gS6Info
2016-05-20 23:26:19 +01:00