5 void SUB_SetFade (entity ent, float when, float fading_time);
6 void SUB_VanishOrRemove (entity ent);
8 .vector finaldest, finalangle; //plat.qc stuff
11 .float t_length, t_width;
16 // player animation state
17 .float animstate_startframe;
18 .float animstate_numframes;
19 .float animstate_framerate;
20 .float animstate_starttime;
21 .float animstate_endtime;
22 .float animstate_override;
23 .float animstate_looping;
31 .float platmovetype_start, platmovetype_end;
45 .float trigger_reverse;
47 // Keys player is holding
49 // message delay for func_door locked by keys and key locks
50 // this field is used on player entities
51 .float key_door_messagetime;
56 // this stuff is defined in the server side engine VM, so we must define it separately here
58 const float DAMAGE_NO = 0;
59 const float DAMAGE_YES = 1;
60 const float DAMAGE_AIM = 2;
63 float STATE_BOTTOM = 1;
67 .string noise, noise1, noise2, noise3; // contains names of wavs to play
69 .float max_health; // players maximum health is stored here