Split TurnManager classes into individual files per class. Patch by echotangoecho...
commit9e982b14d31ed5ee73e3c3d2e982d70934918750
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Tue, 24 Jan 2017 02:04:50 +0000 (24 02:04 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Tue, 24 Jan 2017 02:04:50 +0000 (24 02:04 +0000)
tree14023f2f4c63c331b839d122da5e9030f5c5cf6d
parent16712a2fc4ca347904d52062e1f1f62fa3631704
Split TurnManager classes into individual files per class. Patch by echotangoecho, fixes #4095.
Remove the "Net" prefix from the non-networked classes.
Use variadic macros and mark the client turnmanager as NONCOPYABLE.

Differential Revision: D16
Reviewed By: leper

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@19165 3db68df2-c116-0410-a063-a993310a9797
19 files changed:
source/gui/scripting/ScriptFunctions.cpp
source/network/NetClient.cpp
source/network/NetClientTurnManager.cpp [new file with mode: 0644]
source/network/NetClientTurnManager.h [new file with mode: 0644]
source/network/NetServer.cpp
source/network/NetServerTurnManager.cpp [new file with mode: 0644]
source/network/NetServerTurnManager.h [new file with mode: 0644]
source/network/NetTurnManager.cpp [deleted file]
source/network/tests/test_Net.h
source/ps/Game.cpp
source/ps/Game.h
source/ps/Util.h
source/simulation2/components/CCmpCommandQueue.cpp
source/simulation2/system/LocalTurnManager.cpp [new file with mode: 0644]
source/simulation2/system/LocalTurnManager.h [copied from source/ps/Util.h with 53% similarity]
source/simulation2/system/ReplayTurnManager.cpp [new file with mode: 0644]
source/simulation2/system/ReplayTurnManager.h [new file with mode: 0644]
source/simulation2/system/TurnManager.cpp [new file with mode: 0644]
source/simulation2/system/TurnManager.h [moved from source/network/NetTurnManager.h with 51% similarity]