Commit graph

13 commits

Author SHA1 Message Date
Jarod42
390b143f3d Use nullptr instead of NULL. 2023-08-01 14:13:01 +02:00
joris
e64b56d0fb Fix chopping wood. (Bug introduced by rev.8737).
Fix unitTest.
2013-05-19 18:15:00 +02:00
joris
4ae820929a All (de)serializations return size_t instead of unsigned int (Should fix compilation on x64)
Commit missing unit test file.
2013-04-12 15:58:50 +02:00
joris
a42cfaecab Rework InGame network messages.
Remove 'adjust' parameter of ChangeTeamSelectedUnits (always called with 0)
2013-04-10 19:39:52 +02:00
joris
af53391cee Add classes CHost and CUDPSocket. 2013-04-04 23:59:29 +02:00
joris
8df4949abc Don't use (global) ServerSetupState and LocalSetupState inside CClient and CServer.
Simplify CInitMessage_Config.
2013-04-02 20:25:15 +02:00
joris
9e6958e19b Replace CInitMessage by more specific classes. 2013-04-01 12:54:48 +02:00
joris
8c58c7b05e Move network messages into its own file. 2013-03-24 14:57:58 +01:00
joris
232f6dec47 Move LastFrame from CServerSetup into NetworkState. 2013-03-20 19:58:57 +01:00
joris
94f20ffea4 Some refactoring of network code. 2013-03-19 18:49:50 +01:00
joris
0a6e1760d5 Add missing [] to delete.
Some clean up.
2013-03-19 18:42:31 +01:00
joris
0d548c9903 Remove global NetLastHost, NetLastPort. 2013-03-15 14:41:13 +01:00
joris
819f84de34 [UnitTest]: Some unittest code using UnitTest++. (Not yet integrated in CMake). 2013-03-14 16:03:29 +01:00