about summary refs log tree commit diff
path: root/src/game/client/gc_hooks.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 11:15:32 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 11:15:32 +0000
commitea245b969d1864441b41d25c7631beccfb39d874 (patch)
tree68fb62ef99cdd90f5dd4ec8edf11e7bb54b7f953 /src/game/client/gc_hooks.cpp
parent906ece7894927983b8ac69e37dd3cb82cfe7aad1 (diff)
downloadzcatch-ea245b969d1864441b41d25c7631beccfb39d874.tar.gz
zcatch-ea245b969d1864441b41d25c7631beccfb39d874.zip
new mapformat in place. continued the cleanup. some effects are gone, gonna be redone so no biggie. CTF isn't working now.
Diffstat (limited to 'src/game/client/gc_hooks.cpp')
-rw-r--r--src/game/client/gc_hooks.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/game/client/gc_hooks.cpp b/src/game/client/gc_hooks.cpp
index febb6478..d0754c09 100644
--- a/src/game/client/gc_hooks.cpp
+++ b/src/game/client/gc_hooks.cpp
@@ -11,10 +11,12 @@ extern "C" {
 #include <game/g_game.h>
 #include <game/g_version.h>
 
+#include <game/g_layers.h>
+
 #include "gc_client.h"
 #include "gc_skin.h"
 #include "gc_render.h"
-#include "gc_mapres_image.h"
+#include "gc_map_image.h"
 #include "gc_mapres_tilemap.h"
 
 extern unsigned char internal_data[];
@@ -472,10 +474,11 @@ extern "C" void modc_message(int msg)
 extern "C" void modc_connected()
 {
 	// init some stuff
-	col_init(32);
-	
+	layers_init();
+	col_init();
 	img_init();
-	tilemap_init();
+	
+	//tilemap_init();
 	chat_reset();
 
 	reset_projectile_particles();