Main Page   Compound List   File List   Compound Members  

util.h

00001 #ifndef __UTIL_H__
00002 #define __UTIL_H__
00003 
00004 int draw_string(int x, int y, float cr, float cg, float cb, float ca, char *fmt, ...);
00005 void init_font(char *filename, const int texture_id);
00006 void convert_textile8_to_textile32(tr_textile8_t & tex, tr2_palette_t & pal, tr4_textile32_t & dst);
00007 void convert_textile16_to_textile32(tr2_textile16_t & tex, tr4_textile32_t & dst);
00008 void draw_box(tr5_vertex_t & c1, tr5_vertex_t & c2, bool closed);
00009 void draw_marker(tr5_vertex_t & v, float size, bool closed);
00010 void dump_textures(TR_Level &level);
00011 
00013 typedef struct {
00014         char *filename;         
00015 } level_info_t;
00016 
00018 typedef struct {
00019         char *path;             
00020         tr_version_e version;   
00021         level_info_t *levels;   
00022 } gamepath_info_t;
00023 
00024 extern gamepath_info_t gamepath_info[];
00025 
00026 #endif // __UTIL_H__

Generated on Sun Sep 8 17:37:29 2002 for vt by doxygen1.2.17