summaryrefslogtreecommitdiff
path: root/common/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/project.h')
-rw-r--r--common/project.h28
1 files changed, 16 insertions, 12 deletions
diff --git a/common/project.h b/common/project.h
index 1492b40..2182518 100644
--- a/common/project.h
+++ b/common/project.h
@@ -14,6 +14,18 @@ typedef enum
LC_TRACK_START_RIGHT, LC_TRACK_RIGHT
} LC_MOUSE_TRACK;
+// Mouse control overlays.
+typedef enum
+{
+ LC_OVERLAY_XYZ,
+ LC_OVERLAY_X,
+ LC_OVERLAY_Y,
+ LC_OVERLAY_Z,
+ LC_OVERLAY_XY,
+ LC_OVERLAY_XZ,
+ LC_OVERLAY_YZ
+} LC_OVERLAY_MODES;
+
class Piece;
class Camera;
class Light;
@@ -70,6 +82,10 @@ public:
{ return m_nCurGroup; }
float* GetBackgroundColor()
{ return m_fBackground; }
+ unsigned char GetAction() const
+ { return m_nCurAction; }
+ int GetOverlayMode() const
+ { return m_OverlayMode; }
Camera* GetCamera(int i);
void GetTimeRange(int* from, int* to)
{
@@ -201,18 +217,6 @@ protected:
Vector3 m_MouseSnapLeftover;
Vector3 m_MouseTotalDelta;
- // Mouse control overlays.
- typedef enum
- {
- LC_OVERLAY_XYZ,
- LC_OVERLAY_X,
- LC_OVERLAY_Y,
- LC_OVERLAY_Z,
- LC_OVERLAY_XY,
- LC_OVERLAY_XZ,
- LC_OVERLAY_YZ
- } LC_OVERLAY_MODES;
-
int m_OverlayMode;
bool m_OverlayActive;
float m_OverlayScale[4];