Actor Viewer: Added controls for wireframe, background colour, move-when-walking. Reduced CPU usage when 'playing' things with no animation.

Color: Moved SColor* structs into SColor.h, so they can be used without
indirectly including CVector[34]D.
Terrain: Added 'base colour', for the Actor Viewer to be able to
modulate the colour of normally-white terrain.
Removed some "using namespace std" (because it doesn't make the code
easier to read, and it defeats the point of namespaces, and the rest of
the code doesn't do it).

This was SVN commit r4392.
This commit is contained in:
Ykkrosh
2006-09-26 01:44:20 +00:00
parent 39c7143a1d
commit 2f53eea71a
39 changed files with 351 additions and 183 deletions
@@ -17,6 +17,9 @@ private:
void OnAnimationSelection(wxCommandEvent& event);
void OnSpeedButton(wxCommandEvent& event);
void OnEditButton(wxCommandEvent& event);
void OnWireframeButton(wxCommandEvent& event);
void OnBackgroundButton(wxCommandEvent& event);
void OnWalkingButton(wxCommandEvent& event);
void OnActorEdited();
ObservableScopedConnections m_ActorConns;
@@ -26,6 +29,10 @@ private:
wxString m_CurrentActor;
float m_CurrentSpeed;
bool m_Wireframe;
wxColour m_BackgroundColour;
bool m_Walking;
Observable<AtlasMessage::sEnvironmentSettings> m_EnvironmentSettings;
ObservableScopedConnection m_EnvConn;