mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 14:33:52 +00:00
# Basic experimental multiplayer integration with new simulation system.
Add new turn manager that should be more correct and potentially more efficient. Remove evil CNetServer/CNetClient multiple inheritance of CTurnManager. Add multiplayer autostart. Various minor cleanups. This was SVN commit r7551.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "simulation2/system/InterfaceScripted.h"
|
||||
|
||||
BEGIN_INTERFACE_WRAPPER(CommandQueue)
|
||||
DEFINE_INTERFACE_METHOD_2("PushClientCommand", void, ICmpCommandQueue, PushClientCommand, int, CScriptVal)
|
||||
// Excluded: ProcessCommands (doesn't make sense for scripts to call it)
|
||||
DEFINE_INTERFACE_METHOD_2("PushLocalCommand", void, ICmpCommandQueue, PushLocalCommand, int, CScriptVal)
|
||||
DEFINE_INTERFACE_METHOD_1("PostNetworkCommand", void, ICmpCommandQueue, PostNetworkCommand, CScriptVal)
|
||||
// Excluded: FlushTurn (doesn't make sense for scripts to call it)
|
||||
END_INTERFACE_WRAPPER(CommandQueue)
|
||||
|
||||
Reference in New Issue
Block a user