about summary refs log tree commit diff
path: root/src/game/client/gc_map_image.h
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_map_image.h
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_map_image.h')
-rw-r--r--src/game/client/gc_map_image.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/client/gc_map_image.h b/src/game/client/gc_map_image.h
new file mode 100644
index 00000000..d73f43d3
--- /dev/null
+++ b/src/game/client/gc_map_image.h
@@ -0,0 +1,10 @@
+/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
+
+// loads images from the map to textures
+int img_init();
+
+// returns the number of images in the map
+int img_num();
+
+// fetches the texture id for the image
+int img_get(int index);