1
0
forked from mirrors/0ad

# Refactored the networking code, and redesigned the game setup screen.

Major updates to most network classes.
Simplify CNetServer so it doesn't duplicate any client behaviour; all
players now run CNetClient.
Remove most player/slot management from networking code.
Wait for all players to finish loading before starting the simulation.
Remove CGameAttributes; attributes are now just a JS object.
Remove CPlayer; they are now just simulation entities.
Handle player colours via simulation system.
Add a default map for Atlas, so it always has something to load.
Move network documentation to Doxygen.
Remove lots of now-unused code.

This was SVN commit r7653.
This commit is contained in:
Ykkrosh
2010-06-30 21:41:04 +00:00
parent 303a3ff437
commit 1c0536bf08
85 changed files with 3107 additions and 6238 deletions
+6
View File
@@ -48,3 +48,9 @@ jsval CScriptValRooted::get() const
return JSVAL_VOID;
return *m_Val;
}
bool CScriptValRooted::undefined() const
{
return (!m_Val || *m_Val == JSVAL_VOID);
}