Hielke Morsink
ec0a734511
Fix: Silent replay record message gets overwritten ( #11600 )
2020-05-02 11:40:21 -03:00
Ted John
c67962577a
Rename __ENABLE_SCRIPTING__ to ENABLE_SCRIPTING
2020-04-26 14:35:08 +01:00
Ted John
2f525e0539
Apply more code review comments
2020-04-26 14:35:07 +01:00
Ted John
bac91cd563
Allow scripting to be compile-disabled
2020-04-26 14:35:03 +01:00
Ted John
dc64d3541d
Transfer server-client scripts over network
2020-04-26 14:35:03 +01:00
Ted John
e6915e8799
Do not load plugins on title screen
2020-04-26 14:35:01 +01:00
Breno Rodrigues Guimarães
a0619d04cf
Replace usage of set_format_arg by Formatter::Common() ( #11412 )
2020-04-25 18:44:14 -03:00
Tulio Leao
c17127f65b
Use named casts on openrct2 root folder ( #11139 )
2020-04-17 21:36:25 +02:00
Aaron van Geffen
0cbd700290
Warn to console if no autosave could be saved ( #11255 )
...
* Warn to console if no autosave could be saved.
* Use std::fprintf as suggested.
* Update src/openrct2/Game.cpp
Co-Authored-By: Michał Janiszewski <janisozaur@users.noreply.github.com >
Co-authored-by: Michał Janiszewski <janisozaur@users.noreply.github.com >
2020-04-12 11:32:39 +02:00
Michał Janiszewski
e19eaa6a98
Upload park recording in case of crash
2020-04-02 23:44:59 +02:00
Duncan
2806104db0
Remove peep sort ( #11088 )
...
* Remove peep sort. No longer required.
Peeps are now only sorted in a temporary vector when the staff or guest list is open. This allows for simpler allocation of sprites
* Increment Network Version
2020-03-28 12:37:01 +00:00
Michael Steenbeek
81c6bb26e9
Prepare guest counters for more than 32767 guests ( #10989 )
2020-03-26 20:02:15 +01:00
Aaron van Geffen
a2f8e8c72b
Automatically reset speed to normal upon scenario completion. ( #10998 )
2020-03-22 23:22:28 +01:00
Gymnasiast
2f7a26e8da
Refactor station index a bit
2020-03-21 17:05:16 +01:00
Gymnasiast
5dc4b3e136
Make tile_element_insert take CoordsXYZ
2020-03-07 21:28:36 +01:00
Michael Steenbeek
be13c1fc87
Refactor more TileCoords
2020-03-07 21:07:18 +01:00
Tulio Leao
1b3f0e9a44
Create ScreenCoordsXY gSavedView from separate x,y variables
2020-02-22 16:01:21 -03:00
Tulio Leao
47025c45b4
Make setMainView() use ScreenCoordsXY
2020-02-22 16:01:21 -03:00
duncanspumpkin
bdcfd615ed
Refactor sprite_move
2020-01-19 17:16:41 +00:00
Michael Steenbeek
77494bbc73
Create definitions for some coords related stuff ( #10456 )
...
* Create definitions for some coords related stuff
* Use constexpr; add define for Z step
2019-12-30 15:03:51 +00:00
Tulio Leao
5c657bde9f
Remove map_get_surface_element_at operating with TileCoordsXY
2019-12-18 23:47:17 -03:00
Tulio Leao
7c75db2b2d
Make map_get_surface_element_at only accept Coords objects
2019-12-18 23:46:50 -03:00
duncanspumpkin
d8b5060eb9
Remove dead game command code.
...
Refactor of z increment
2019-12-15 08:21:32 +00:00
ζeh Matt
9b499ea239
Fix #10087 : crash loading a save with corrupt peeps ( #10122 )
2019-11-09 17:00:09 +01:00
duncanspumpkin
ee64892f4b
Clang format
2019-10-20 15:47:45 +01:00
duncanspumpkin
5842b851c2
Remove old game command for MazePlaceTrack
2019-10-20 15:23:36 +01:00
Gymnasiast
f365bc3cb7
Create getters and setters for occupied quadrant
2019-08-27 21:12:48 +02:00
Matt
769ed255f3
Refactor game action queue out of network into GameActions
2019-08-21 00:15:39 +02:00
duncanspumpkin
fb8c42f3c2
Fix #9557 . Refactor map_is_location_at_edge and tile_element_insert
2019-08-19 20:04:57 +01:00
duncanspumpkin
5333dc4295
Return a SurfaceElement from get_surface_element
2019-08-19 20:04:56 +01:00
kennycastro007
9708e3a043
Fixed issue #8376 ( #9866 )
...
#8376 : Added static function show_error in S6Importer.cpp
2019-08-15 16:02:03 +02:00
Duncan
659b4d8f9f
Clean up some litter in the codebase ( #9753 )
...
13CA740 and 141F568 have been doing mostly nothing since the game action refacotr. Before that they didn't do much as I've never found any instance where the code was hit.
2019-08-08 06:05:58 +01:00
ζeh Matt
7730b35d82
Merge pull request #9571 from ZehMatt/replay-cleanup
...
Replay cleanup
2019-08-05 18:31:03 +02:00
Ted John
7ce2f38c92
Fix formatting
2019-07-29 20:01:49 +01:00
Ted John
d28799ef18
Remove user strings
2019-07-29 20:01:37 +01:00
Ted John
40d49b93d3
Do not use user strings for peep names
2019-07-29 19:18:16 +01:00
Matt
e267be785b
Remove obsolete code
2019-07-14 16:42:08 +02:00
duncanspumpkin
2d75c01882
Unnetwork game commands
...
Only track designs still use game commands and they cannot be networked so remove dead code
2019-06-23 18:50:35 +01:00
duncanspumpkin
e99c51d23c
Remove game command callback
2019-06-23 18:50:35 +01:00
duncanspumpkin
b896f07687
Add PeepPickupAction
...
Move Guest and Staff pickup to the new game action. Rework the game
action so that only one game action is required for the two game
commands. Remove the final game command with a callback.
2019-06-20 19:34:02 +01:00
duncanspumpkin
3162d4dc75
Implement TileModifyAction
...
Further work moving game commands into the game action framework
2019-06-11 18:42:52 +01:00
aw20368
8c20b635bd
Fix #9270 : Refactor money effect
...
Changed static functions to rct_money_effect member functions. GetStringId now returns std::pair.
2019-05-21 21:22:47 +02:00
duncanspumpkin
3ac596faf1
Implement ScenarioSetSetting game action
...
Further work moving game commands into the game action framework to improve design.
2019-05-14 21:46:27 +01:00
duncanspumpkin
1eb7f4d8c6
Implement Modify Group and Kick Player Actions.
...
Further work on the Game Actions porting
2019-05-14 21:58:55 +02:00
Duncan
7793001f5d
Implement BalloonPressAction
...
Furthering reducing the number of game commands and moving them to the Game Action framework
2019-05-14 21:54:54 +02:00
Gymnasiast
5e39640837
Also remove game_command_set_park_entrance_fee from new_game_command_table
2019-05-14 18:39:14 +02:00
Gymnasiast
4e23c42d38
Remove stub functions from new_game_command_table[]
2019-05-13 22:51:41 +02:00
duncanspumpkin
e9e445837f
Add landset/buyrights action
2019-05-12 17:29:19 +01:00
ζeh Matt
c8f822ea70
Gamestate snapshots ( #8819 )
...
* Add initial interface.
* Implement move operator in MemoryStream
* Add pod array serialisation traits.
* Add push_back with move semantics to CircularBuffer
* Initial implementation of GameStateSnapshots
* Add GameStateSnapshots to Context.
* Add mp_desync console command.
* Compare sprite data and fill change list.
* Minor changes.
* Proof of concept.
* Calculate offset instead of using offsetof
* Implement game state difference detection
* Update mp_desync console command.
* Fix identification of sprite remove/add.
* Fix crash when only one peep in park when using mp_desync
* Output state differences into user directory desync folder.
* Add desync debugging as an option.
* Add information to network status when a desync report was created.
* Cast to proper type for %llu.
* Update xcode project
* Add more information to the diffed data.
* Remove client-only relevant fields.
* Cleanup.
* Add better name output for misc sprites
* Add srand0 and tick information to the output
* Bump up network version
* Cleanup
* Set desync_debugging to false as default
* Apply suggestions
2019-05-11 21:31:34 +02:00
ζeh Matt
cd8c67ddac
Implement SetCheatAction. ( #8990 )
...
* Implement SetCheatAction.
* Bump up network version
2019-05-04 15:28:38 +02:00