From 507b0a9ace42616d1a6242b8780827dc8f64efad Mon Sep 17 00:00:00 2001 From: DirtPiper Date: Sun, 21 Oct 2018 21:09:49 -0400 Subject: [PATCH] New Enums All 05-era enums added (might be more, idk tbh) --- ActionType.h | 4 ++++ AffectType.h | 4 ++++ BinType.h | 4 ++++ ControllerType.h | 4 ++++ G3DTest.vcproj | 1 + InputType.h | 4 ++++ JointType.h | 4 ++++ KeywordFilterType.h | 4 ++++ PartType.h | 4 ++++ SoundType.h | 4 ++++ SurfaceConstraint.h | 4 ++++ SurfaceType.h | 4 ++++ main.cpp | 2 +- 13 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 ActionType.h create mode 100644 AffectType.h create mode 100644 BinType.h create mode 100644 ControllerType.h create mode 100644 InputType.h create mode 100644 JointType.h create mode 100644 KeywordFilterType.h create mode 100644 PartType.h create mode 100644 SoundType.h create mode 100644 SurfaceConstraint.h create mode 100644 SurfaceType.h diff --git a/ActionType.h b/ActionType.h new file mode 100644 index 0000000..6ec748b --- /dev/null +++ b/ActionType.h @@ -0,0 +1,4 @@ +#ifndef ACTIONTYPE_H +#define ACTIONTYPE_H +static enum ActionType {Nothing, Pause, Lose, Draw, Win}; +#endif diff --git a/AffectType.h b/AffectType.h new file mode 100644 index 0000000..cee3834 --- /dev/null +++ b/AffectType.h @@ -0,0 +1,4 @@ +#ifndef AFFECTTYPE_H +#define AFFECTTYPE_H +static enum AffectType {NoChange, Increase, Decrease}; +#endif diff --git a/BinType.h b/BinType.h new file mode 100644 index 0000000..15ef898 --- /dev/null +++ b/BinType.h @@ -0,0 +1,4 @@ +#ifndef BINTYPE_H +#define BINTYPE_H +static enum ActionType {GameTool, Grab, Clone, Hammer}; +#endif diff --git a/ControllerType.h b/ControllerType.h new file mode 100644 index 0000000..77a6d7f --- /dev/null +++ b/ControllerType.h @@ -0,0 +1,4 @@ +#ifndef CONTROLLERTYPE_H +#define CONTROLLERTYPE_H +static enum ControllerType {None, KeyboardRight, KeyboardLeft, Joypad1, Joypad2, Chase, Flee}; +#endif diff --git a/G3DTest.vcproj b/G3DTest.vcproj index 6804e0b..e2539b2 100644 --- a/G3DTest.vcproj +++ b/G3DTest.vcproj @@ -169,6 +169,7 @@ /> color = Color3(0.2F,0.3F,1); test->setSize(Vector3(24,1,24)); test->setPosition(Vector3(0,0,0)); - test->setCFrame(test->getCFrame() * Matrix3::fromEulerAnglesXYZ(0,toRadians(40),toRadians(40))); + test->setCFrame(test->getCFrame() * Matrix3::fromEulerAnglesXYZ(0,toRadians(0),toRadians(0)));