1 ///////////////////////////////////////////////
3 ///////////////////////
4 // This file belongs to dpmod/darkplaces
5 // AK contains all cursor specific constants as the pulse initialization list
6 ////////////////////////////////
8 // cursor constants (cursor type)
9 const float CT_NORMAL = 0;
10 const float CT_PULSE = 1;
11 const float CT_FIRST_PULSE = 1; // pulse frames 0 - 6
12 const float CT_LAST_PULSE = 7;
13 const float CT_GLOW = 8;
15 const float CURSOR_SCALE = 1;
17 const vector CURSOR_COLOR = '1 1 1';
18 const float CURSOR_TRANSPARENCY = 1;
21 const float CURSOR_SPEED = 0.75;
24 const float CA_PULSE_SPEED = 0.14257142 ; // = 1 / 7 -> 1 secs total time
27 var string CF_NORMAL = "ui/mousepointer.tga";
29 // enforce loading everything else qc will break
30 const float CURSOR_ENFORCELOADING = false;
46 float cursor_transparency;
48 float cursor_last_frame_time;
52 // function prototypes
54 void(void) cursor_init;
55 void(void) cursor_reset;
56 void(void) cursor_toggle;
57 void(void) cursor_frame;
58 void(void) cursor_draw;
59 void(void) cursor_shutdown;