summaryrefslogtreecommitdiff
path: root/game.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-07-01 17:20:53 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-07-02 18:10:14 +0200
commit75a90df8bf7f38e746e021c23248e1607931132c (patch)
treedf2b4f48d5157f775c719192484188a2b0b8a04a /game.h
parent90d570822f85f70c31f80789ad6791cebd904468 (diff)
Import and render tree models.
Trees are loaded from the new trees.blend using assimp. Tree objects are then received from the server and rendered on the given terrain locations. Each chunk now holds a list of objects and coordinates, which can be used to easily add other models as well. Also moded the GLSL fog code to its own shader which can be linked in different programs.
Diffstat (limited to 'game.h')
-rw-r--r--game.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/game.h b/game.h
index 6c58565..76c9413 100644
--- a/game.h
+++ b/game.h
@@ -30,6 +30,7 @@ class Game {
void handle_chunk();
void handle_message();
void handle_player();
+ void handle_object();
static Game& get_instance();
};