Update of /cvsroot/csp/APPLICATIONS/CSPSim/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv22765/Include
Modified Files:
GameScreen.h VirtualScene.h
Log Message:
Index: GameScreen.h
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Include/GameScreen.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** GameScreen.h 24 Jul 2003 04:41:46 -0000 1.11
--- GameScreen.h 24 Jul 2003 07:32:39 -0000 1.12
***************
*** 66,69 ****
--- 66,70 ----
ACTION_INTERFACE(GameScreen, on_Pause);
ACTION_INTERFACE(GameScreen, on_ToggleRecorder);
+ ACTION_INTERFACE(GameScreen, on_ToggleWireframe);
ACTION_INTERFACE(GameScreen, on_Stats);
ACTION_INTERFACE(GameScreen, on_Console);
Index: VirtualScene.h
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Include/VirtualScene.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** VirtualScene.h 18 Jul 2003 21:15:44 -0000 1.8
--- VirtualScene.h 24 Jul 2003 07:32:39 -0000 1.9
***************
*** 87,90 ****
--- 87,91 ----
void getLookAt(simdata::Vector3 & eyePos, simdata::Vector3 & lookPos, simdata::Vector3 & upVec) const;
void setWireframeMode(bool flag);
+ bool getWireframeMode() const { return m_Wireframe; }
void setFogMode(bool flag);
void setFogStart(float value);
***************
*** 127,130 ****
--- 128,133 ----
bool m_FogEnabled;
osg::Vec4 m_FogColor;
+
+ bool m_Wireframe;
bool m_SpinTheWorld;
|