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
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
zsilencer
5d04e5e03e
Multiplayer desync stuff
2016-08-01 20:47:21 +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
Niels NTG
017e688fcc
New file naming convention for screenshots
...
- With this change screenshot file names have the following pattern:
save file name + + YYYY-MM-DD hh-mm-ss + .png
- To get the correct date and time the method platform_get_time and platform_get_date are rewritten and to a version for UTC and a version for local time. This change gave the opportunity to simplify the code generating file names for autosaves.
- SOUND_WINDOW_OPEN is now the new "shutter" sound when taking screenshot.
2016-07-24 20:32:55 +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
Josue Acevedo
097c5b101d
Fix open ride error messages
...
Some error messages aren't properly displayed because 'gGameCommandErrorText' is replaced with 'STR_NONE' before it's displayed.
This only happens with commands that use multiple commands inside them for do another "job" (or do another check).
2016-07-14 20:00:16 +01: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
Marijn van der Werf
5204fb0ce9
Clean up string and sprite ID's ( #3977 )
2016-07-14 14:07:49 +02:00
Michał Janiszewski
402e5a32a0
Integrate path variables used by game
2016-06-19 23:52:20 +02:00
Alexander Overvoorde
ca1590c086
Add parameter to utf8_remove_formatting to allow colour codes ( fixes #3638 ) ( #3831 )
2016-06-09 12:30:32 +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
Ted John
fbcc68dff1
fix #3575 : Construction Redirection Bug
...
Was probably only caused when a player did not have 'Allow unfinished tracks to be tested' enabled. The function was too embeded to work into a callback function, so a new flag is added to say whether the current game command is network sourced or not. This now means the host has to have the unfinished tracks option enabled, otherwise nothing will happen on the client machine. Unfortunately if the host has it enabled and the client doesn't, the command will run on the host game but not the client game and desync. The option, like some of the cheats is game session fixed.
2016-05-30 12:39:17 +01:00
CraigCraig
3f9afb9744
Various Spellchecks ( #3741 )
2016-05-26 09:49:19 +02:00
Hielke Morsink
5d6c8e3b8e
Sorting peeps on startup
2016-05-22 21:48:13 +02:00
Hielke Morsink
e948135636
Sort guest list when loading a park
2016-05-22 21:48:11 +02:00
Ted John
781c422c76
integrate tick variables
2016-05-20 22:56:45 +01:00
Ted John
8d4e4ed0e9
remove unread RCT2_GLOBALs
2016-05-17 23:39:37 +01:00
Ted John
e73aeb9a42
integrate gGameCommandNestLevel
2016-05-17 21:47:14 +01:00
Ted John
1cc35dfe6e
integrate common format args
2016-05-15 22:03:53 +01:00
Ted John
3fcb337c7b
integrate variable: gWindowMapFlashingFlags
2016-05-13 22:51:16 +01:00
Alexander Overvoorde
f22257056c
Remove formatting from loaded user strings
2016-05-10 14:16:48 +02: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
2ab41b547a
use S6Importer for network load game
2016-05-08 22:35:11 +01:00
Ted John
3bb1d47813
use new S6Importer for loading saved games
2016-05-08 22:35:06 +01:00
Ted John
77e7313540
move track design related functions to new source
2016-05-08 14:03:48 +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
Gymnasiast
f2a3c21beb
Check if peep is guest or staff, refactor
2016-04-28 21:26:58 +02:00
Nubbie
339f0aba10
Make renaming staff use staff permissions, fixes #3243
2016-04-28 19:33:50 +02:00
Ted John
870a8b55e5
add global macros for viewport variables
2016-04-25 21:53:21 +01:00
Gymnasiast
57d2618fb5
Use gFirstTimeSave
2016-04-25 19:16:58 +02:00
Gymnasiast
7521a70ac8
Use get_file_extension_type()
2016-04-25 19:11:51 +02:00
Gymnasiast
8dc7fdcec2
Enable SV4 files to be loaded from the native load/save dialog
2016-04-25 15:38:44 +02:00
Ted John
652b1c83db
integrate variables for lightning and toolbar dirty flags
2016-04-24 21:49:09 +01:00
Ted John
fc938892d8
integrate variables for command position and expenditure
2016-04-24 17:53:39 +01:00
Ted John
e7f62bf014
integrate game palette variables
2016-04-24 02:02:56 +01:00
Ted John
98f732aaf7
integrate screen variables ( #3411 )
2016-04-24 00:36:39 +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
3bd21240ed
add global macros for climate variables
2016-04-23 10:53:48 +01:00
Ted John
467513616d
add global macro: gCurrentTicks
2016-04-23 02:49:24 +01:00
Ted John
11a2ba0133
add global macro: gCashEncrypted
2016-04-23 01:58:54 +01:00