summaryrefslogtreecommitdiff
path: root/scene.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-05-10 16:46:26 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-05-10 16:46:26 +0200
commitd42ec5c0e89559abd276334b6c4804e1eaa5e9c7 (patch)
treec6afda3e3f51d4ac79ffcdabd2edfc6d36df4201 /scene.h
parentfa1216b691dc5be3429858dcff845239b1aec417 (diff)
parent7d93cab1eb1629b068858a68ac5e5840fe84a83a (diff)
Merge branch 'master' into win32
Conflicts: gui.h quadtree.cpp scene.cpp scene.h
Diffstat (limited to 'scene.h')
-rw-r--r--scene.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/scene.h b/scene.h
index 3131474..e700351 100644
--- a/scene.h
+++ b/scene.h
@@ -2,7 +2,7 @@
#define SCENE_H
#include "vector.h"
-#include "quadtree.h"
+#include "terrain.h"
#include "gl.h"
#include "shader.h"
#include "gui.h"
@@ -15,18 +15,19 @@ class Scene {
float pitch, yaw;
Vector3 pos;
float yvel;
- Quadtree *qt;
+ Terrain *terrain;
//FTFont *font;
GUI *gui;
Tool *tool;
bool running;
bool grid;
- bool terrain;
+ bool normals;
+ bool render_terrain;
bool gravity;
bool dialog;
- Quadtree::QuadNode *last_node;
+ Terrain::Node *last_node;
unsigned int last_time;
Vector3 selected;