]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/movetypes.qh
Listbox / Picker: Implement item fading in a different way so that it gets influenced...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / movetypes.qh
1 #ifndef MOVETYPES_H
2 #define MOVETYPES_H
3
4 .float move_movetype;
5 .float move_time;
6 .vector move_origin;
7 .vector move_angles;
8 .vector move_velocity;
9 .vector move_avelocity;
10 .int move_flags;
11 .int move_watertype;
12 .int move_waterlevel;
13 .void(void) move_touch;
14 .void(float, float) contentstransition;
15 .float move_bounce_factor;
16 .float move_bounce_stopspeed;
17 .float move_nomonsters; // -1 for MOVE_NORMAL, otherwise a MOVE_ constant
18
19 // should match sv_gameplayfix_fixedcheckwatertransition
20 float autocvar_cl_gameplayfix_fixedcheckwatertransition = 1;
21
22 void Movetype_Physics_MatchTicrate(float tr, bool sloppy);
23 void Movetype_Physics_MatchServer(bool sloppy);
24 void Movetype_Physics_NoMatchServer();
25
26 const int MOVETYPE_NONE                         = 0;
27 const int MOVETYPE_ANGLENOCLIP      = 1;
28 const int MOVETYPE_ANGLECLIP        = 2;
29 const int MOVETYPE_WALK                         = 3;
30 const int MOVETYPE_STEP                         = 4;
31 const int MOVETYPE_FLY                          = 5;
32 const int MOVETYPE_TOSS                         = 6;
33 const int MOVETYPE_PUSH                         = 7;
34 const int MOVETYPE_NOCLIP                   = 8;
35 const int MOVETYPE_FLYMISSILE       = 9;
36 const int MOVETYPE_BOUNCE                   = 10;
37 const int MOVETYPE_BOUNCEMISSILE        = 11;   // Like bounce but doesn't lose speed on bouncing
38 const int MOVETYPE_FOLLOW           = 12;
39 const int MOVETYPE_FAKEPUSH         = 13;
40 const int MOVETYPE_FLY_WORLDONLY    = 33;
41
42 const int FL_ITEM                   = 256;
43 const int FL_ONGROUND                           = 512;
44 #endif