Xonotic
|
#include "main.qh"
#include <common/command/generic.qh>
#include <common/constants.qh>
#include <common/deathtypes/all.qh>
#include <common/debug.qh>
#include <common/mapinfo.qh>
#include <common/monsters/sv_monsters.qh>
#include <common/util.qh>
#include <common/vehicles/all.qh>
#include <common/weapons/_all.qh>
#include <lib/csqcmodel/sv_model.qh>
#include <lib/warpzone/common.qh>
#include <lib/warpzone/server.qh>
#include <server/anticheat.qh>
#include <server/bot/api.qh>
#include <server/command/common.qh>
#include <server/compat/quake3.qh>
#include <server/damage.qh>
#include <server/gamelog.qh>
#include <server/hook.qh>
#include <server/ipban.qh>
#include <server/mutators/_mod.qh>
#include <server/spawnpoints.qh>
#include <server/weapons/common.qh>
#include <server/weapons/csqcprojectile.qh>
#include <server/world.qh>
Go to the source code of this file.
Macros | |
#define | X(out, in) |
Variables | |
float | anglejitter |
vector | anglesjitter |
bool | autocvar_sv_autopause = false |
string | cvarfilter |
bool | game_delay_last |
string | gametypefilter |
vector | originjitter |
#define X | ( | out, | |
in | |||
) |
Referenced by SV_OnEntityPreSpawnFunction().
void CreatureFrame_All | ( | ) |
Definition at line 175 of file main.qc.
References g_damagedbycontents, IL_EACH, and time.
Referenced by StartFrame().
Definition at line 134 of file main.qc.
References autocvar_g_balance_falldamage_deadminspeed, autocvar_g_balance_falldamage_factor, autocvar_g_balance_falldamage_maxdamage, autocvar_g_balance_falldamage_minspeed, autocvar_g_balance_falldamage_onlyvertical, Damage(), DMG_NOWEP, fabs(), flags, hook, IS_DEAD, IS_VEHICLE, MAX_WEAPONSLOTS, maxs, min(), mins, MOVE_NOMONSTERS, NULL, oldvelocity, origin, Q3SURFACEFLAG_NODAMAGE, trace_dphitq3surfaceflags, vdist, velocity, vlen(), and weaponentities.
Definition at line 63 of file main.qc.
References ATTEN_NORM, autocvar_g_balance_contents_damagerate, autocvar_g_balance_contents_playerdamage_lava, autocvar_g_balance_contents_playerdamage_lava_burn, autocvar_g_balance_contents_playerdamage_lava_burn_time, autocvar_g_balance_contents_playerdamage_slime, autocvar_g_balance_contents_projectiledamage, CH_PLAYER_SINGLE, CONTENT_LAVA, CONTENT_SLIME, contents_damagetime, Damage(), DMG_NOWEP, Fire_AddDamage(), flags, NULL, sound, time, VOL_BASE, waterlevel, watersound_finished, and watertype.
Referenced by CreatureFrame_Liquids().
Definition at line 111 of file main.qc.
References contents_damagetime, CreatureFrame_hotliquids(), FL_INWATER, and flags.
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().
Definition at line 29 of file main.qc.
References owner.
Referenced by dropclient_schedule().
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 400 of file main.qc.
References argv(), ftos(), LOG_WARNF, string_null, strstrofs, tokenize_console, and v.
Referenced by door_reset().
Definition at line 210 of file main.qc.
References entity(), initialize_entity_first, NULL, and prev.
Referenced by remove_safely().
Definition at line 189 of file main.qc.
References FOREACH_CLIENT, IS_PLAYER, IS_REAL_CLIENT, and PHYS_INPUT_BUTTON_CHAT.
Referenced by StartFrame(), and SV_PausedTic().
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().
void StartFrame | ( | ) |
Definition at line 274 of file main.qc.
References anticheat_startframe(), autocvar_slowmo, autocvar_sv_autopause, autocvar_sv_eventlog, autocvar_sys_ticrate, bot_serverframe(), CheckRules_World(), CreatureFrame_All(), CSQCProjectile_Check(), delete_fn(), execute_next_frame(), FOREACH_CLIENT, frametime, ftos(), g_players, g_projectiles, game_delay_last, GameLogEcho(), IL_EACH, InitializeEntitiesRun(), IS_FAKE_CLIENT, IS_PLAYER, IS_REAL_CLIENT, LOG_INFO, MUTATOR_CALLHOOK, orig_slowmo, Pause_TryPause(), PlayerPostThink(), PlayerPreThink(), ReadyRestart(), RedirectionThink(), remove_unsafely(), server_is_dedicated, serverframetime, serverprevtime, servertime, solve_quadratic(), sys_frametime, sys_phys_update(), time, TIMEOUT_LEADTIME, and warmup_stage.
Definition at line 354 of file main.qc.
References angles, cvarfilter, DoesQ3ARemoveThisEntity(), expr_evaluate(), g_monster_targets, gametypefilter, have_team_spawns, IL_PUSH(), isGametypeInFilter(), MapInfo_LoadedGametype, monster_attack, movetype, MUTATOR_CALLHOOK, origin, q3compat, set_movetype(), teamplay, and X.
Definition at line 200 of file main.qc.
References Pause_TryPause(), and server_is_dedicated.
Definition at line 11 of file physics.qc.
References absmax, absmin, angles, CheckPlayerJump(), com_phys_acc_rate, com_phys_acc_rate_air, com_phys_acc_rate_air_stop, com_phys_acc_rate_air_strafe, com_phys_air, com_phys_friction, com_phys_friction_air, com_phys_gravity, com_phys_ground, com_phys_ladder, com_phys_vel_2d, com_phys_vel_max, com_phys_vel_max_air, com_phys_vel_max_air_strafe, com_phys_water, CONTENT_LAVA, CONTENT_SLIME, CONTENT_WATER, conveyor, disableclientprediction, emit, FL_WATERJUMP, flags, IS_CLIENT, IS_DEAD, IS_ONGROUND, IS_ONSLICK, IS_PLAYER, IS_SVQC, IsFlying(), ITEMS_STAT, jumppadcount, ladder_entity, lastground, min(), move_movetype, move_qcphysics, movedir, MOVETYPE_FLY, MOVETYPE_FLY_WORLDONLY, MOVETYPE_FOLLOW, MOVETYPE_NOCLIP, MOVETYPE_NONE, MUTATOR_CALLHOOK, PHYS_ACCELERATE, PHYS_AIRACCELERATE, PHYS_AIRSTOPACCELERATE, PHYS_AIRSTRAFEACCELERATE, PHYS_FRICTION, PHYS_FRICTION_ONLAND, PHYS_INPUT_BUTTON_MASK, PHYS_MAXAIRSPEED, PHYS_MAXAIRSTRAFESPEED, PHYS_MAXSPEED, PHYS_SLICK_APPLYGRAVITY, PM_check_blocked(), PM_check_frozen(), PM_check_hitground(), PM_check_slick(), PM_Footsteps(), PM_jetpack(), sys_in_update(), sys_phys_ai(), sys_phys_fix(), sys_phys_fixspeed(), sys_phys_monitor(), sys_phys_override(), sys_phys_postupdate(), sys_phys_pregame_hold(), sys_phys_simulate(), sys_phys_simulate_simple(), sys_phys_spectator_control(), teleport_time, time, v_angle, vector(), velocity, viewloc_PlayerPhysics(), WAS_ONGROUND, wasFlying, waterlevel, WATERLEVEL_NONE, and WATERLEVEL_SWIMMING.
Referenced by StartFrame().
engine callback
Definition at line 469 of file main.qc.
References Curl_URI_Get_Callback(), ftos(), LOG_INFO, MUTATOR_CALLHOOK, OnlineBanList_URI_Get_Callback(), URI_GET_CURL, URI_GET_CURL_END, URI_GET_DISCARD, URI_GET_IPBAN, URI_GET_IPBAN_END, and url_URI_Get_Callback().
void WarpZone_PostInitialize_Callback | ( | ) |
Definition at line 456 of file main.qc.
References classname, DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, entity(), find(), NULL, spawn(), and waypoint_spawnforteleporter_wz().
Referenced by WarpZone_Projectile_Touch().
Definition at line 271 of file main.qc.
Referenced by StartFrame().
string cvarfilter |
Definition at line 352 of file main.qc.
Referenced by SV_OnEntityPreSpawnFunction().
bool game_delay_last |
Definition at line 269 of file main.qc.
Referenced by StartFrame().
string gametypefilter |
Definition at line 351 of file main.qc.
Referenced by SV_OnEntityPreSpawnFunction().