1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 05:23:04 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
ZehMatt
072ecadd48 Fix leaking memory creating game actions.
Specialized class use for game action results.
2017-10-05 10:42:43 +02:00
ZehMatt
97504b45ae Add network stubs for no network builds. 2017-10-05 10:42:43 +02:00
ZehM4tt
fbd793083c Put action files in headers instead of cpps.
Added callbacks for GameActions and network support for them.
Refactored GameAction registration due static library issues.
Moved all C functions into a single file.
2017-10-05 10:42:43 +02:00
ZehM4tt
1b2a61c6ba Separated out byte swapping into its own header.
Simplified data serialisation of game actions.
Moved the flags away from parameters.
GameAction base now serialises mandatory data such as flags and player.
Split some functions from network in order to move command processing to the end of tick.
2017-10-05 10:42:43 +02:00
duncanspumpkin
149a854c51 Make changes to match @ZehMatt code 2017-10-05 10:42:39 +02:00
duncanspumpkin
a7d1cbee9e Add deep copy to GameCommand 2017-10-05 10:42:39 +02:00
duncanspumpkin
1d3076a2af Initial attempt at getting place entrance into game action 2017-10-05 10:42:38 +02:00
duncanspumpkin
8adcbd6e35 Fix warning 2017-10-05 10:42:38 +02:00
duncanspumpkin
feef3d98da Refactor packet handling 2017-10-05 10:42:38 +02:00
Duncan
f8241b7bb0 Fix no network builds 2017-10-05 10:42:38 +02:00
duncanspumpkin
df5ea16026 Change function declarations. Move network code into network 2017-10-05 10:42:38 +02:00
Ted John
8f362cef8c Fix spaces / tabs for network.h and network.cpp 2017-10-05 10:42:38 +02:00
Ted John
fae45d6989 Fix warning 2017-10-05 10:42:38 +02:00
duncanspumpkin
254041985f Make servers work 2017-10-05 10:42:38 +02:00
duncanspumpkin
ae24ded8bf Make client work 2017-10-05 10:42:38 +02:00
duncanspumpkin
351b0df76b Initial try at adding networking 2017-10-05 10:42:38 +02:00
duncanspumpkin
e7c66bb208 Start adding network code 2017-10-05 10:42:38 +02:00
Michał Janiszewski
5ab9f938a7 Update files missed in the great extern "C" cleanup of 2017 2017-09-28 23:29:16 +02:00
Marijn van der Werf
ac910a5979 Move Error, Campaign and Ride Demolition windows 2017-09-24 22:41:49 +02:00
Michał Janiszewski
00fd18809c Move extern "C" {} blocks to headers (#6282) 2017-09-18 17:05:28 +02:00
Michał Janiszewski
d698ad1100 Convert NULL -> nullptr in C++ 2017-08-15 11:51:56 +02:00
duncanspumpkin
18d082053e Rename cpp files to use TitleCase 2017-08-04 18:12:54 +02:00