getting ready to add user-defined object types
git-svn-id: svn://anubis/anaglym/trunk@122 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
parent
1ade25beaa
commit
8e858a2aa1
4
Engine.h
4
Engine.h
@ -5,6 +5,7 @@
|
||||
#include <string>
|
||||
#include <lua.hpp>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <SDL.h>
|
||||
#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<float> & args);
|
||||
Object(const Object & orig);
|
||||
~Object();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user