From 8e858a2aa1dc84ce8b344967b927c1f58752f4f3 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 24 Oct 2009 21:16:00 +0000 Subject: [PATCH] getting ready to add user-defined object types git-svn-id: svn://anubis/anaglym/trunk@122 99a6e188-d820-4881-8870-2d33a10e2619 --- Engine.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Engine.h b/Engine.h index 29d6b65..5cd061f 100644 --- a/Engine.h +++ b/Engine.h @@ -5,6 +5,7 @@ #include #include #include +#include #include #include "OdeWorld/OdeWorld.h" #include "TextureCache/TextureCache.h" @@ -17,8 +18,11 @@ class Engine class Object { public: + enum ObjectType { CUBE, SPHERE, PLANE, CYLINDER, CCYLINDER }; Object(bool is_static, OdeWorld & world, GLuint dl, float scale = 1.0f); + Object(bool is_static, OdeWorld & world, ObjectType obj, + const std::vector & args); Object(const Object & orig); ~Object();