1 ///////////////////////////////////////////////
3 ///////////////////////
4 // This file belongs to dpmod/darkplaces
5 // AK contains all gfx prototypes, etc.
6 ///////////////////////////////////////////////
8 const float GFX_WIDTH = 1024;
9 const float GFX_HEIGHT = 768;
20 void(void) gfx_toggle;
21 void(float keynr, float ascii) gfx_keydown;// perhaps we want to do some special fx for specail keys
23 void(void) gfx_shutdown;
25 // convert from menu coords to gfx coords
26 vector(vector vec) gfx_conmentogfx;
27 // convert from gfx coords to console coords
28 vector(vector vec) gfx_converttocon;
29 // convert from console coords to gfx coords
30 vector(vector vec) gfx_converttogfx;
31 // convert to menu coords
32 vector(vector vec) gfx_congfxtomen;
34 string(string pic_name, float complain) gfx_loadpic;
35 void(string pic_name) gfx_unloadpic;
37 void(vector position, float character, vector scale, vector rgb, float alpha, float flag)
40 void(vector position, string text, vector scale, vector rgb, float alpha, float flag)
43 void(vector position, string pic_name, vector size, vector rgb, float alpha, float flag)
46 void(vector position, vector size, vector rgb, float alpha, float flag)
49 void(vector position, vector size) gfx_setcliparea;
51 void(void) gfx_resetcliparea;
53 void(vector position, float character, vector scale, vector rgb, float alpha, float flag)
56 void(vector position, string text, vector scale, vector rgb, float alpha, float flag)
59 void(vector position, string pic_name, vector size, vector rgb, float alpha, float flag)
62 void(vector position, vector size, vector rgb, float alpha, float flag)
65 void(vector position, vector size) menu_setcliparea;
67 void(void) menu_resetcliparea;
69 vector(string pic_name) gfx_getimagesize;
71 void(vector position, vector size, float width, vector rgb, float alpha, float flag)