about summary refs log tree commit diff
path: root/src/game/mapres_image.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-05-22 15:03:32 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-05-22 15:03:32 +0000
commit73aa9b71c1d8b5c5065d1e474f13601da3ca6b20 (patch)
tree88b6a0a4a2ebdd33a88f4a25682581d329d33f6b /src/game/mapres_image.h
downloadzcatch-73aa9b71c1d8b5c5065d1e474f13601da3ca6b20.tar.gz
zcatch-73aa9b71c1d8b5c5065d1e474f13601da3ca6b20.zip
started the major restructure of svn
Diffstat (limited to 'src/game/mapres_image.h')
-rw-r--r--src/game/mapres_image.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/game/mapres_image.h b/src/game/mapres_image.h
new file mode 100644
index 00000000..eab1559a
--- /dev/null
+++ b/src/game/mapres_image.h
@@ -0,0 +1,18 @@
+
+// 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);
+
+
+class mapres_image
+{
+public:
+	int width;
+	int height;
+	int image_data;
+};