summaryrefslogtreecommitdiffstats
path: root/src/Game.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-12-17 02:14:32 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-12-17 02:14:32 +0100
commitbc797d4c8b5f8a7ac925ca8478dc5960907a81dd (patch)
treed38e89dd598833240462b6b6047ada7eebb321e6 /src/Game.h
parentea08fea654b4702a77f623b74137fabc7d6800d8 (diff)
downloadzoom++-bc797d4c8b5f8a7ac925ca8478dc5960907a81dd.tar
zoom++-bc797d4c8b5f8a7ac925ca8478dc5960907a81dd.zip
Moved Plane to MathUtil; some other tweaks
Diffstat (limited to 'src/Game.h')
-rw-r--r--src/Game.h5
1 files changed, 2 insertions, 3 deletions
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>(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;
};