Xonotic
|
Go to the source code of this file.
Macros | |
#define | autocvar_slowmo cvar("slowmo") |
Functions | |
void | dedicated_print (string input) |
print(), but only print if the server is not local More... | |
bool | dropclient_schedule (entity this) |
Schedules dropclient for a player and returns true; if dropclient is already scheduled (for that player) it does nothing and returns false. More... | |
void | main () |
void | remove_except_protected (entity e) |
void | remove_safely (entity e) |
void | remove_unsafely (entity e) |
#define autocvar_slowmo cvar("slowmo") |
Definition at line 16 of file main.qh.
Referenced by anticheat_physics(), and StartFrame().
print(), but only print if the server is not local
Definition at line 205 of file main.qc.
References print(), and server_is_dedicated.
Referenced by GameLogEcho(), and Say().
Schedules dropclient for a player and returns true; if dropclient is already scheduled (for that player) it does nothing and returns false.
NOTE: this function exists only to allow sending a message to the kicked player with Send_Notification, which doesn't work if called together with dropclient
Definition at line 42 of file main.qc.
References dropclient_do(), entity(), FOREACH_ENTITY_CLASS, new_pure, setthink, and time.
Referenced by MUTATOR_HOOKFUNCTION(), PlayerPostThink(), and PlayerPreThink().
Definition at line 241 of file main.qc.
References error().
Referenced by InitializeEntitiesRun().
Definition at line 255 of file main.qc.
References make_safe_for_remove().
Referenced by spawnfunc().
Definition at line 248 of file main.qc.
References error().
Referenced by InitializeEntitiesRun(), spawnfunc(), and StartFrame().
float autocvar_g_balance_contents_damagerate |
Definition at line 3 of file main.qh.
Referenced by CreatureFrame_hotliquids(), and DrownPlayer().
float autocvar_g_balance_contents_drowndelay |
Definition at line 4 of file main.qh.
Referenced by DrownPlayer().
int autocvar_g_balance_contents_playerdamage_drowning |
Definition at line 5 of file main.qh.
Referenced by DrownPlayer().
int autocvar_g_balance_contents_playerdamage_lava |
Definition at line 6 of file main.qh.
Referenced by CreatureFrame_hotliquids().
int autocvar_g_balance_contents_playerdamage_lava_burn |
Definition at line 7 of file main.qh.
Referenced by CreatureFrame_hotliquids().
float autocvar_g_balance_contents_playerdamage_lava_burn_time = 2.5 |
Definition at line 8 of file main.qh.
Referenced by CreatureFrame_hotliquids().
int autocvar_g_balance_contents_playerdamage_slime |
Definition at line 9 of file main.qh.
Referenced by CreatureFrame_hotliquids().
int autocvar_g_balance_contents_projectiledamage |
Definition at line 10 of file main.qh.
Referenced by CreatureFrame_hotliquids().
float autocvar_g_balance_falldamage_deadminspeed |
Definition at line 11 of file main.qh.
Referenced by CreatureFrame_FallDamage().
float autocvar_g_balance_falldamage_factor |
Definition at line 12 of file main.qh.
Referenced by CreatureFrame_FallDamage().
int autocvar_g_balance_falldamage_maxdamage |
Definition at line 13 of file main.qh.
Referenced by CreatureFrame_FallDamage().
float autocvar_g_balance_falldamage_minspeed |
Definition at line 14 of file main.qh.
Referenced by CreatureFrame_FallDamage().
bool autocvar_g_balance_falldamage_onlyvertical |
Definition at line 15 of file main.qh.
Referenced by CreatureFrame_FallDamage().
float autocvar_sys_ticrate |
Definition at line 17 of file main.qh.
Referenced by StartFrame().
float contents_damagetime |
Definition at line 45 of file main.qh.
Referenced by CreatureFrame_hotliquids(), and CreatureFrame_Liquids().
bool iscreature |
Definition at line 42 of file main.qh.
Referenced by CopyBody(), Monster_Spawn(), PutObserverInServer(), PutPlayerInServer(), vehicle_initialize(), and vehicles_spawn().
vector oldvelocity |
Definition at line 38 of file main.qh.
Referenced by CheatImpulse(), CreatureFrame_FallDamage(), PutObserverInServer(), PutPlayerInServer(), and vehicles_impact().
float serverframetime |
Definition at line 36 of file main.qh.
Referenced by Drag_Update(), and StartFrame().
float servertime |
Definition at line 36 of file main.qh.
Referenced by anticheat_fixangle(), anticheat_init(), anticheat_physics(), anticheat_report_to_eventlog(), anticheat_report_to_playerstats(), CSQC_Ent_Update(), Drag_Update(), NET_HANDLE(), and StartFrame().
float species |
Definition at line 43 of file main.qh.
Referenced by CopyBody().
float watersound_finished |
Definition at line 40 of file main.qh.
Referenced by CreatureFrame_hotliquids().