From bc797d4c8b5f8a7ac925ca8478dc5960907a81dd Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 17 Dec 2009 02:14:32 +0100 Subject: Moved Plane to MathUtil; some other tweaks --- src/Game.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Game.h') diff --git a/src/Game.h b/src/Game.h index a81c7f5..d935b7c 100644 --- a/src/Game.h +++ b/src/Game.h @@ -32,7 +32,6 @@ class Triangle; class Game { public: enum Input { - NONE = 0, FORWARD = (1 << 0), BACKWARD = (1 << 1), LEFT = (1 << 2), @@ -44,7 +43,7 @@ class Game { bool loadLevel(const std::string &name); void setInput(unsigned input) { - this->input = static_cast(input); + this->input = input; } void run(int delta); @@ -59,7 +58,7 @@ class Game { vmml::vec3f playerPos; vmml::mat4f playerRot; - Input input; + unsigned input; int lightPos; }; -- cgit v1.2.3