From: <sv...@ww...> - 2007-09-11 17:55:16
|
Author: nsmoooose Date: 2007-09-11 10:55:09 -0700 (Tue, 11 Sep 2007) New Revision: 2179 Modified: trunk/csp/cspsim/CSPSim.cpp trunk/csp/cspsim/CSPSim.h trunk/csp/cspsim/LogoScreen.cpp trunk/csp/cspsim/LogoScreen.h trunk/csp/cspsim/MenuScreen.cpp trunk/csp/cspsim/MenuScreen.h trunk/csp/cspsim/VirtualScene.cpp trunk/csp/cspsim/VirtualScene.h trunk/csp/cspsim/swig/Screens.i trunk/csp/cspsim/swig/wf.i trunk/csp/cspsim/wf/WindowManager.cpp trunk/csp/cspsim/wf/WindowManager.h Log: It is now possible to return to the main menu from the simulation. All osg::SceneView instances will use the same osg::State object. The osg::State object we use is stored in the CSPSim singleton since this singleton is responsible for starting the various screens (LogoScreen, MenuScreen, GameScreen) etc. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=2179 Diff omitted (12551 bytes). |