]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/gamemodes/gamemode/nexball/sv_nexball.qh
Some more defs.qh cleanup, update gameplay hash (again)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / nexball / sv_nexball.qh
1 #pragma once
2
3 //EF_BRIGHTFIELD|EF_BRIGHTLIGHT|EF_DIMLIGHT|EF_BLUE|EF_RED|EF_FLAME
4 const float BALL_EFFECTMASK = 1229;
5 const vector BALL_MINS = '-16 -16 -16'; // The model is 24*24*24
6 const vector BALL_MAXS = '16 16 16';
7 const vector BALL_ATTACHORG = '3 0 16';
8 const float BALL_FOOT = 1;
9 const float BALL_BASKET = 2;
10 //spawnflags
11 const float GOAL_TOUCHPLAYER = 1;
12 //goal types
13 const float GOAL_FAULT = -1;
14 const float GOAL_OUT = -2;
15
16 void DropBall(entity ball, vector org, vector vel);
17 float autocvar_g_nexball_football_boost_forward;
18 float autocvar_g_nexball_football_boost_up;
19 float autocvar_g_nexball_football_physics;
20 float autocvar_g_nexball_delay_idle;
21 float autocvar_g_nexball_basketball_delay_hold;
22 float autocvar_g_nexball_basketball_delay_hold_forteam;
23 float autocvar_g_nexball_basketball_effects_default;
24 float autocvar_g_nexball_basketball_teamsteal;
25 float autocvar_g_nexball_meter_period;
26
27 float balls;
28 float ball_scale;
29 float nb_teams;
30
31 .entity nb_dropper;
32 .float nb_droptime;
33
34 .float teamtime;
35
36 float g_nexball_meter_period;