Show
Ignore:
Timestamp:
02/05/10 15:50:32 (6 months ago)
Author:
mgray
Message:

Updated tutorials to accomodate changes to I_GameClient interface refactor.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tutorials/branches/0185_GEN_PHYSICS_REFACTOR_2/Tutorial1/Tutorial1/src/GameClient.cpp

    r3276 r3369  
    9898{ 
    9999    return m_pScriptObject; 
     100} 
     101 
     102//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     103void 
     104GameClient::registerScriptEngine(pScriptEngine_type _pScriptEngine) 
     105{ 
     106    // This isn't really used with the Base Starter kit since ZGameLoader  
     107    // registers the script engine with the BaseGameClient. 
     108 
     109    // Just ignore this method. 
    100110} 
    101111 
     
    150160} 
    151161 
     162//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     163Zen::Engine::Widgets::I_WidgetService& 
     164GameClient::getWidgetService() 
     165{ 
     166    return m_base.getWidgetService(); 
     167} 
     168 
     169//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     170Zen::Engine::Rendering::I_RenderingCanvas& 
     171GameClient::getRenderingCanvas() 
     172{ 
     173    return m_base.getRenderingCanvas(); 
     174} 
     175 
     176//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     177bool 
     178GameClient::initRenderingService(const std::string& _type, const std::string& _title, int _xRes, int _yRes) 
     179{ 
     180    return m_base.initRenderingService(_type, _title, _xRes, _yRes); 
     181} 
     182 
     183//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     184bool 
     185GameClient::initTerrainService(const std::string& _type) 
     186{ 
     187    return m_base.initTerrainService(_type); 
     188} 
     189 
     190//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     191bool 
     192GameClient::initSkyService(const std::string& _type) 
     193{ 
     194    return m_base.initSkyService(_type); 
     195} 
     196 
     197//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     198bool 
     199GameClient::initInputService(const std::string& _type) 
     200{ 
     201    return m_base.initInputService(_type); 
     202} 
     203 
     204//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     205bool 
     206GameClient::initWidgetService(const std::string& _type) 
     207{ 
     208    return m_base.initWidgetService(_type); 
     209} 
    152210 
    153211//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~