committing the current status of dacian's new network code on matei's request

also includes sound support.

GameSetup: ensure all ScriptingInit are called; moved simulation
ScriptingInits and init/shutdown to SimulationScriptInit.cpp (reduces
#includes)

This was SVN commit r6028.
This commit is contained in:
janwas
2008-06-16 18:19:35 +00:00
parent ab2f86ff75
commit b0a6d6dca8
25 changed files with 1930 additions and 521 deletions
+3 -2
View File
@@ -17,6 +17,7 @@
#include "LOSManager.h"
#include "graphics/Terrain.h"
#include "Stance.h"
#include "sound/SoundGroupMgr.h"
#include "ps/Game.h"
#include "ps/World.h"
@@ -437,8 +438,8 @@ bool CEntity::ProcessContactActionNoPathing( CEntityOrder* current, int timestep
if( ( m_fsm_cyclepos <= action->m_Speed ) && ( nextpos > action->m_Speed ) )
{
// TODO: Play a sound here. Use m_base->m_SoundGroupTable[animation] to get the
// name of the soundgroup XML file to play.
const size_t soundGroupIndex = m_base->m_SoundGroupTable[animation];
g_soundGroupMgr->PlayNext(soundGroupIndex);
if(!DispatchEvent( contactEvent ))
{