From ea245b969d1864441b41d25c7631beccfb39d874 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 13 Jan 2008 11:15:32 +0000 Subject: new mapformat in place. continued the cleanup. some effects are gone, gonna be redone so no biggie. CTF isn't working now. --- src/game/client/gc_map_image.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/game/client/gc_map_image.h (limited to 'src/game/client/gc_map_image.h') 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); -- cgit 1.4.1