Created a NetworkGameObserver class able to extend the serialization code of GameObserver to synchronize and forward game actions on the network

Fixes in GameObserver serialization/deserialization code
Fixes in JNetwork and JSocket on windows
Various code cleanup (currentGamePhase access in particular)
Updated GUI code to re-enable a basic network GUI
Activated threaded tests on Windows. It uses 4 threads by default.
This commit is contained in:
Xawotihs@gmail.com
2013-01-22 22:39:49 +00:00
parent ada0a1555d
commit 9db8478dfe
18 changed files with 493 additions and 269 deletions
+13 -7
View File
@@ -322,12 +322,15 @@
<ClCompile Include="src\AbilityParser.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\InteractiveButton.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\SimpleButton.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\InteractiveButton.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\SimpleButton.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\NetworkPlayer.cpp">
<Filter>src</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\ActionElement.h">
@@ -681,6 +684,9 @@
<ClInclude Include="include\AbilityParser.h">
<Filter>inc</Filter>
</ClInclude>
<ClInclude Include="include\NetworkPlayer.h">
<Filter>inc</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="Makefile" />
@@ -704,4 +710,4 @@
<Filter>res</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
</Project>