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

167 Commits

Author SHA1 Message Date
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
duncanspumpkin
f6b610c325 Implement Banner Place/Remove Actions 2019-05-02 17:47:01 +01:00
Duncan
1e1d263dae PlayerSetGroupAction (#9072)
* First pass at action.

* Version 2. Do all the work in Network.cpp

* Mark game command as complete

* Make requested changes

* Increment of network version
2019-05-01 16:54:12 +01:00
Michael Steenbeek
42a1a8704d Use empty() for vectors; clean up bool comparisons (#9118) 2019-04-20 20:39:47 +02:00
duncanspumpkin
baad532c17 Fix formatting 2019-04-07 14:55:08 +01:00
duncanspumpkin
d63919c0cc Implement LargeSceneryPlaceAction 2019-04-07 14:55:07 +01:00
duncanspumpkin
aa65e25c6b Implement banner set style action 2019-04-07 10:10:36 +01:00
duncanspumpkin
3593366e95 Implement banner set colour action 2019-04-07 09:22:39 +01:00
duncanspumpkin
5ab42488a9 Implement large scenery set colour action 2019-04-07 09:22:33 +01:00
duncanspumpkin
8ef5afe2ce Implement wall set colour action 2019-04-06 19:39:01 +01:00
duncanspumpkin
8fc1d70239 Implement small scenery set colour action 2019-04-06 19:39:00 +01:00
duncanspumpkin
356a0e5e91 Rework flags 2019-04-04 19:23:44 +01:00
duncanspumpkin
7e6254f30c Fix function. 2019-04-02 18:36:57 +01:00
duncanspumpkin
29f5018bd1 Implement wall place game action 2019-04-02 18:36:57 +01:00
duncanspumpkin
227786e05b Remove game command 2019-03-27 18:48:26 +00:00
Duncan
791c3059f6 Add ParkEntranceRemove GameAction 2019-03-24 21:41:14 +01:00
duncanspumpkin
add40feb57 Merge #8898 branch 'staff_ga' into game_actions 2019-03-18 20:00:34 +00:00
duncanspumpkin
351adcc88b Merge #8897 branch 'surface_set_style_ga' into game_actions 2019-03-18 19:58:21 +00:00
duncanspumpkin
f28be1ae30 Merge #8881 branch 'set_park_open' into game_actions 2019-03-18 19:57:50 +00:00
duncanspumpkin
9fc464a322 Remove game command
Correct the copyright

Include correct headers
2019-03-17 07:20:37 +00:00
Aaron van Geffen
2af13904c5 Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
duncanspumpkin
0b231c8b38 Remove old game commands 2019-03-16 20:47:54 +00:00
duncanspumpkin
9a1532ecc4 Add ParkSetParameterAction 2019-03-15 21:01:35 +00:00
duncanspumpkin
edff5caa7e Merge pull request #8849 'ga-staff-hire' 2019-03-15 19:49:24 +00:00
duncanspumpkin
fa0feb18d0 Merge pull request #8852 'track_set_brake_speed' 2019-03-15 19:46:19 +00:00
duncanspumpkin
d8f764723f Remove old game command 2019-03-15 19:44:17 +00:00
duncanspumpkin
539c12b41a Remove old game command 2019-03-11 19:11:54 +00:00
Matt
f96a1a1b5f Implement StaffHireNewAction game action. 2019-03-11 13:44:34 +01:00
duncanspumpkin
0070283dc2 Implement game action 2019-03-05 19:54:17 +00:00
duncanspumpkin
29de97f5b1 Remove references to old game command 2019-03-04 16:57:21 +00:00
duncanspumpkin
aef3f24178 Remove reference to game command 2019-03-02 16:06:03 +00:00
duncanspumpkin
f10391c98d Remove references to old command 2019-03-02 07:24:42 +00:00
Ted John
cdec457abd Refactor peep struct 2019-02-28 20:28:58 +01:00
duncanspumpkin
245a7fe64d Remove old game command 2019-02-28 08:21:58 +00:00
duncanspumpkin
cbb02ec98a Use game action for track design. Fix error titles.
Add files to xcode project (#20)

Finally get the placement code working

Use game action for ghosts. Fix basequarter

Remove references to old command

Fix formating remove unused var

Fix clang format
2019-02-27 18:51:54 +00:00
duncanspumpkin
e1977d1a2f Remove references to game command 2019-02-27 08:15:11 +00:00
duncanspumpkin
c1546a92b7 Implement RideSetVehicleAction
Move all callees to the new action.
Required rework on how the ride type change worked.
2019-02-26 08:14:57 +00:00
duncanspumpkin
c24c6bdf0a Remove references to old game command 2019-02-22 09:01:39 +00:00
duncanspumpkin
eadef45ffd Add LoadOrQuiteAction 2019-02-22 09:00:38 +00:00
duncanspumpkin
1227bc09fc Remove references to game command 2019-02-21 16:00:31 +00:00
duncanspumpkin
77b25714ff Move callbacks into GameActionCallbacks
Remove remaining references to game command
2019-02-19 12:30:42 +00:00
Matt
a6c6d6ddc3 Update checks for when money is required. 2019-02-18 17:19:44 +01:00
Duncan
79ccc8ca32 Merge pull request #8705 from phillipwalters/develop
Removed dead code per issue 8677 (https://github.com/OpenRCT2/OpenRCT2/issues/8677)
2019-02-15 13:58:57 +00:00
Phillip Walters
b7787daa9f More formatting changes. 2019-02-12 18:02:33 -08:00
Phillip Walters
11ff0b6688 Cleaned up some formatting 2019-02-12 17:53:39 -08:00