|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
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 | |
| 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. | |
| string | GetField_fullspawndata (entity e, string fieldname, bool vfspath) |
| Retrieves the value of a map entity field from fullspawndata. | |
| void | main () |
| void | Pause_TryPause_Dedicated (entity this) |
| 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 233 of file main.qc.
References autocvar_sv_dedicated, and print().
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 44 of file main.qc.
References classname, dropclient_do(), entity(), FOREACH_ENTITY_CLASS, new_pure, setthink, STR_OBSERVER, team, time, and wants_join.
Referenced by MUTATOR_HOOKFUNCTION(), and PlayerFrame().
Retrieves the value of a map entity field from fullspawndata.
This bypasses field value changes made by the engine, eg string-to-float and escape sequence substitution.
Avoids the need to declare fields just to read them once :)
Returns the last instance of the field to match DarkPlaces behaviour.
Path support: converts \ to / and checks the file exists, if vfspath is true. Returns string_null if the entity does not have the field, or the file is not in the VFS.
FIXME: entities with //comments are not supported.
Definition at line 451 of file main.qc.
References argv(), entity(), ftos(), LOG_WARNF, string_null, strstrofs, and tokenize_console.
Referenced by DoesQ3ARemoveThisEntity(), door_init_shared(), MapInfo_Get_ByName_NoFallbacks(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), and StartItem().
Definition at line 198 of file main.qc.
References autocvar__endmatch, entity(), intermission_running, and player_count.
Referenced by spawnfunc().
Definition at line 283 of file main.qc.
References entity(), and make_safe_for_remove().
Referenced by spawnfunc().
Definition at line 276 of file main.qc.
References entity(), and 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().
| bool autocvar_sv_autopause |
Definition at line 19 of file main.qh.
Referenced by ClientConnect(), spawnfunc(), StartFrame(), and SV_PausedTic().
| float autocvar_sys_ticrate |
Definition at line 17 of file main.qh.
Referenced by pong_ball_think(), pong_paddle_think(), RemoveItem(), and StartFrame().
| float contents_damagetime |
Definition at line 49 of file main.qh.
Referenced by CreatureFrame_hotliquids(), and CreatureFrame_Liquids().
| bool iscreature |
Definition at line 46 of file main.qh.
Referenced by CopyBody(), Monster_Spawn(), PutObserverInServer(), PutPlayerInServer(), vehicle_initialize(), and vehicles_spawn().
| vector oldvelocity |
Definition at line 42 of file main.qh.
Referenced by CheatImpulse(), CreatureFrame_FallDamage(), M_Golem_Attack_Lightning_Explode(), PutObserverInServer(), PutPlayerInServer(), and vehicles_impact().
| float serverframetime |
Definition at line 39 of file main.qh.
Referenced by Drag_Update(), and StartFrame().
| float species |
Definition at line 47 of file main.qh.
Referenced by CopyBody(), Damage_DamageInfo_SendEntity(), and NET_HANDLE().
| float watersound_finished |
Definition at line 44 of file main.qh.
Referenced by CreatureFrame_hotliquids().