|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "world.qh"#include <common/checkextension.qh>#include <common/constants.qh>#include <common/deathtypes/all.qh>#include <common/gametypes/_mod.qh>#include <common/gametypes/sv_rules.qh>#include <common/items/_mod.qh>#include <common/mapinfo.qh>#include <common/mapobjects/target/music.qh>#include <common/mapobjects/trigger/hurt.qh>#include <common/mapobjects/trigger/secret.qh>#include <common/mapobjects/triggers.qh>#include <common/monsters/_mod.qh>#include <common/monsters/sv_monsters.qh>#include <common/mutators/mutator/powerups/_mod.qh>#include <common/net_linked.qh>#include <common/notifications/all.qh>#include <common/physics/player.qh>#include <common/playerstats.qh>#include <common/state.qh>#include <common/stats.qh>#include <common/teams.qh>#include <common/util.qh>#include <common/vehicles/all.qh>#include <common/weapons/_all.qh>#include <lib/warpzone/common.qh>#include <server/anticheat.qh>#include <server/antilag.qh>#include <server/bot/api.qh>#include <server/campaign.qh>#include <server/cheats.qh>#include <server/client.qh>#include <server/command/common.qh>#include <server/command/getreplies.qh>#include <server/command/sv_cmd.qh>#include <server/command/vote.qh>#include <server/damage.qh>#include <server/gamelog.qh>#include <server/hook.qh>#include <server/ipban.qh>#include <server/items/items.qh>#include <server/main.qh>#include <server/mapvoting.qh>#include <server/mutators/_mod.qh>#include <server/race.qh>#include <server/scores.qh>#include <server/scores_rules.qh>#include <server/spawnpoints.qh>#include <server/teamplay.qh>#include <server/weapons/weaponstats.qh>Go to the source code of this file.
Macros | |
| #define | BADCVAR(p) |
| #define | BADPREFIX(p) |
| #define | BADPREFIX_COND(p) |
| #define | BADPRESUFFIX(p, s) |
| #define | BADPRESUFFIXVALUE(p, s, val) |
| #define | BADSUFFIX_COND(s) |
| #define | BADVALUE(p, val) |
| #define | X(match) |
| #define BADCVAR | ( | p | ) |
Referenced by cvar_changes_init().
| #define BADPREFIX | ( | p | ) |
Referenced by cvar_changes_init().
| #define BADPREFIX_COND | ( | p | ) |
| #define BADPRESUFFIX | ( | p, | |
| s ) |
Referenced by cvar_changes_init().
| #define BADPRESUFFIXVALUE | ( | p, | |
| s, | |||
| val ) |
Referenced by cvar_changes_init().
| #define BADVALUE | ( | p, | |
| val ) |
Referenced by cvar_changes_init().
| #define X | ( | match | ) |
Referenced by spawnfunc().
| void __init_dedicated_server_shutdown | ( | ) |
Definition at line 650 of file world.qc.
References MapInfo_Shutdown().
Referenced by Shutdown().
Definition at line 1525 of file world.qc.
References FOREACH_CLIENT, INGAME, and IS_PLAYER.
Referenced by WinningCondition_RanOutOfSpawns().
| void CheckRules_World | ( | ) |
Definition at line 1705 of file world.qc.
References autocvar__endmatch, autocvar_fraglimit, autocvar_leadlimit, autocvar_timelimit, bprint(), checkrules_overtimesadded, checkrules_suddendeathend, checkrules_suddendeathwarning, CheckRules_World(), ClearWinners(), FOREACH_CLIENT, g_race, g_race_qualifying, game_starttime, GameRules_scoring_add, InitiateOvertime(), InitiateSuddenDeath(), intermission_running, IS_PLAYER, M_ARGV, MapVote_Start(), MapVote_Think(), MUTATOR_CALLHOOK, NextLevel(), NULL, OVERTIME_SUDDENDEATH, overtimes, player_count, ReadyRestart(), Send_Notification(), SetDefaultAlpha(), time, VoteThink(), warmup_stage, WINNING_NEVER, WINNING_STARTSUDDENDEATHOVERTIME, WINNING_YES, WinningCondition_RanOutOfSpawns(), and WinningCondition_Scores().
Referenced by CheckRules_World(), MUTATOR_HOOKABLE(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and StartFrame().
| void ClearWinners | ( | ) |
Definition at line 1534 of file world.qc.
References FOREACH_CLIENT, INGAME, and IS_PLAYER.
Referenced by CheckRules_World(), WinningCondition_Invasion(), WinningCondition_LMS(), WinningCondition_RanOutOfSpawns(), and WinningCondition_Scores().
| void cvar_changes_init | ( | ) |
Definition at line 145 of file world.qc.
References BADCVAR, BADPREFIX, BADPRESUFFIX, BADPRESUFFIXVALUE, BADVALUE, buf_create, cvar_changes, cvar_defstring(), cvar_purechanges, cvar_purechanges_count, cvar_string(), strcat(), strfree, strlen, strzone(), and VM_TEMPSTRING_MAXSIZE.
Referenced by spawnfunc().
Definition at line 2283 of file world.qc.
References autocvar_sv_mapformat_is_quake2, autocvar_sv_mapformat_is_quake3, classname, dropped_origin, entity(), FL_ITEM, flags, groundentity, LOG_WARN, LOG_WARNF, maxs, mins, MOVE_NOMONSTERS, move_suspendedinair, origin, Q3COMPAT_COMMON, trace_allsolid, trace_endpos, trace_ent, trace_fraction, trace_startsolid, and vector.
Referenced by DropToFloor_QC_DelayedInit().
Definition at line 2407 of file world.qc.
References DropToFloor_QC(), entity(), InitializeEntity(), and INITPRIO_DROPTOFLOOR.
Referenced by ctf_FlagSetup(), dom_controlpoint_setup(), MUTATOR_HOOKFUNCTION(), ons_ControlPoint_Setup(), ons_GeneratorSetup(), spawn_item_key(), StartItem(), and turret_initialize().
Definition at line 1244 of file world.qc.
References autocvar_sv_eventlog, autocvar_sv_eventlog_console, autocvar_sv_logscores_bots, autocvar_sv_logscores_console, autocvar_sv_logscores_file, autocvar_sv_logscores_filename, CS(), fclose(), FILE_APPEND, fopen(), FOREACH_CLIENT, fputs(), ftos(), GameLogEcho(), GetGametype(), GetMapname(), GetPlayerScoreString(), GetTeamScoreString(), INGAME_JOINED, IS_BOT_CLIENT, IS_PLAYER, IS_REAL_CLIENT, jointime, LOG_HELP, NULL, playername(), rint(), strcat(), teamplay, and time.
Referenced by GameCommand_printstats(), and NextLevel().
| void EndFrame | ( | ) |
Definition at line 2483 of file world.qc.
References anticheat_endframe(), antilag_record(), autocvar_g_antilag_nudge, ceil(), CS(), entity(), FOREACH_CLIENT, frametime, g_monsters, g_projectiles, IL_EACH, IL_ENDFRAME(), IS_DEAD, IS_PLAYER, IS_REAL_CLIENT, IS_SPEC, max(), Physics_Frame(), PL_CORPSE_SCALE, STAT, systems_update(), and time.
Definition at line 662 of file world.qc.
References autocvar_g_maxplayers, AVAILABLE_TEAMS, bound(), entity(), g_duel, GetPlayerLimit(), map_maxplayers, map_minplayers, mapname, MapReadSizes(), max(), maxclients, ScoreRules_generic(), scores_initialized, teamplay, and warmup_stage.
Referenced by InitGameplayMode().
Definition at line 1490 of file world.qc.
References autocvar_g_campaign, WINNING_NEVER, WINNING_NO, WINNING_STARTSUDDENDEATHOVERTIME, and WINNING_YES.
Referenced by WinningCondition_Scores().
Definition at line 116 of file world.qc.
References autocvar__sv_init, DoNextMapOverride(), entity(), GotoNextMap(), LOG_INFO, MapInfo_CurrentFeatures(), MapInfo_CurrentGametype(), MapInfo_Enumerate(), MapInfo_FilterGametype(), MapInfo_ForbiddenFlags(), MapInfo_RequiredFlags(), nextthink, and time.
Referenced by spawnfunc().
| void InitGameplayMode | ( | ) |
Definition at line 706 of file world.qc.
References autocvar__sv_vote_gametype_custom, cache_lastmutatormsg, cache_mutatormsg, clientstuff, cvar_set(), cvar_value_issafe(), GameplayMode_DelayedInit(), GameRules_teams(), gametype_custom_enabled, get_mi_min_max(), InitializeEntity(), INITPRIO_GAMETYPE_FALLBACK, loaded_gametype_custom_string, LOG_INFO, MapInfo_ClearTemps(), MapInfo_LoadMapSettings(), MapInfo_Map_clientstuff, MapInfo_Map_fog, mapname, max_shot_distance, mi_max, mi_min, min(), NULL, strcpy, string_null, strzone(), vector, vlen(), VoteReset(), and world.
Referenced by spawnfunc().
| void InitializeEntitiesRun | ( | ) |
Definition at line 2242 of file world.qc.
References backtrace, delete_fn(), entity(), eprint(), func_null(), initialize_entity_first, next, NULL, remove_except_protected(), remove_unsafely(), strcat(), and void.
Referenced by StartFrame().
Definition at line 2209 of file world.qc.
References entity(), initialize_entity_first, NULL, and prev.
Referenced by buffs_Initialize(), ctf_FlagSetup(), ctf_Initialize(), dom_Initialize(), DropToFloor_QC_DelayedInit(), g_clientmodel_init(), g_model_init(), InitGameplayMode(), invasion_Initialize(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nb_Initialize(), ons_ControlPoint_Setup(), ons_GeneratorSetup(), ons_Initialize(), readplayerstartcvars(), REGISTER_MUTATOR(), relocate_spawnpoint(), SetBrushEntityModel(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), StartItem(), target_checkpoint_setup(), tdm_Initialize(), tmayhem_Initialize(), and turret_initialize().
| void InitiateOvertime | ( | ) |
Definition at line 1479 of file world.qc.
References autocvar_timelimit, autocvar_timelimit_overtime, checkrules_overtimesadded, cvar_set(), ftos(), NULL, overtimes, and Send_Notification().
Referenced by CheckRules_World().
| int InitiateSuddenDeath | ( | ) |
Definition at line 1447 of file world.qc.
References autocvar_g_campaign, autocvar_timelimit_overtime, autocvar_timelimit_overtimes, autocvar_timelimit_suddendeath, checkrules_overtimesadded, checkrules_suddendeathend, g_race, g_race_qualifying, OVERTIME_SUDDENDEATH, overtimes, race_StartCompleting(), and time.
Referenced by CheckRules_World().
Definition at line 1350 of file world.qc.
References bprint(), FOREACH_CLIENT, INGAME_JOINED, INGAME_JOINING, INGAME_STATUS_CLEAR, IS_PLAYER, MoveToTeam(), Player_SetForcedTeamIndex(), playername(), PutObserverInServer(), team, Team_ColoredFullName, TEAM_FORCE_DEFAULT, Team_TeamToIndex(), teamplay, and WinningConditionHelper_winnerteam.
Referenced by MatchEnd_RestoreSpectatorStatus(), and MUTATOR_HOOKFUNCTION().
| void MatchEnd_RestoreSpectatorStatus | ( | ) |
Definition at line 1375 of file world.qc.
References MatchEnd_RestoreSpectatorAndTeamStatus(), and team.
Referenced by MUTATOR_HOOKFUNCTION().
| bool MoveToRandomLocationWithinBounds | ( | entity | e, |
| vector | boundmin, | ||
| vector | boundmax, | ||
| float | goodcontents, | ||
| float | badcontents, | ||
| float | badsurfaceflags, | ||
| int | attempts, | ||
| float | maxaboveground, | ||
| float | minviewdistance, | ||
| bool | frompos ) |
Definition at line 1101 of file world.qc.
References checkpvs(), entity(), ftos(), g_items, g_spawnpoints, IL_EACH, LOG_DEBUG, MOVE_NORMAL, normalize(), NULL, org, Q3SURFACEFLAG_SKY, random(), trace_dphitcontents, trace_dphitq3surfaceflags, trace_dphittexturename, trace_endpos, trace_fraction, trace_startsolid, tracebox_hits_trigger_hurt(), vectoangles(), vector, and vlen().
Referenced by M_Mage_Attack_Teleport(), and MoveToRandomMapLocation().
| float MoveToRandomMapLocation | ( | entity | e, |
| float | goodcontents, | ||
| float | badcontents, | ||
| float | badsurfaceflags, | ||
| float | attempts, | ||
| float | maxaboveground, | ||
| float | minviewdistance ) |
Definition at line 1231 of file world.qc.
References entity(), MoveToRandomLocationWithinBounds(), and world.
Referenced by buff_Respawn(), CheatImpulse(), invasion_SpawnChosenMonster(), ka_RespawnBall(), and tka_RespawnBall().
| void NextLevel | ( | ) |
Definition at line 1384 of file world.qc.
References autocvar_g_campaign, autocvar_sv_eventlog, autocvar_sv_mapchange_delay, bprint(), CampaignPreIntermission(), CPID_Null, cvar_set(), DumpStats(), FixIntermissionClient(), FOREACH_CLIENT, game_stopped, GameLogClose(), GameLogEcho(), INGAME, intermission_exittime, intermission_running, IS_PLAYER, Kill_Notification(), localcmd(), MUTATOR_CALLHOOK, NULL, player_count, playername(), PlayerStats_GameReport(), target_music_kill(), Team_ColorCode(), Team_ColorName_Upper, teamplay, time, VoteReset(), and WeaponStats_Shutdown().
Referenced by CheckRules_World(), and target_changelevel_use().
| void Physics_Frame | ( | ) |
Definition at line 2441 of file world.qc.
References autocvar_sv_freezenonclients, autocvar_sv_gameplayfix_delayprojectiles, g_moveables, getthink, IL_EACH, IS_CLIENT, MOVETYPE_FAKEPUSH, MOVETYPE_NONE, MOVETYPE_PHYSICS, Movetype_Physics_NoMatchTicrate(), MOVETYPE_PUSH, MOVETYPE_QCENTITY, MOVETYPE_USER_FIRST, MOVETYPE_USER_LAST, PHYS_INPUT_TIMELENGTH, RunThink(), and time.
Referenced by EndFrame().
| void PingPLReport_Spawn | ( | ) |
Definition at line 96 of file world.qc.
References new_pure, pingplreport, PingPLReport_Think(), setthink, and time.
Referenced by spawnfunc().
Definition at line 58 of file world.qc.
References bound(), ceil(), cnt, CS(), entity(), IS_CLIENT, IS_REAL_CLIENT, LATENCY_THINKRATE, latency_time, maxclients, min(), MSG_BROADCAST, nextthink, ping, ping_movementloss, ping_packetloss, rint(), sys_frametime, time, WriteByte(), WriteHeader, and WriteShort().
Referenced by PingPLReport_Spawn().
Definition at line 591 of file world.qc.
References cnt, entity(), MSG_ENTITY, WriteHeader, and WriteShort().
Referenced by RandomSeed_Spawn().
| void RandomSeed_Spawn | ( | ) |
Definition at line 604 of file world.qc.
References getthink, Net_LinkEntity(), new_pure, randomseed, RandomSeed_Send(), RandomSeed_Think(), and setthink.
Referenced by spawnfunc().
| void readlevelcvars | ( | ) |
Definition at line 2167 of file world.qc.
References autocvar_g_campaign, autocvar_g_warmup, autocvar_timelimit, cvar(), FOREACH, g_weapon_stay, game_starttime, GetGametype(), MUTATOR_CALLHOOK, readplayerstartcvars(), SERVERFLAG_ALLOW_FULLBRIGHT, SERVERFLAG_FORBID_PICKUPTIMER, serverflags, strcat(), sv_ready_restart_after_countdown, time, warmup_limit, warmup_stage, and Weapons.
Referenced by spawnfunc().
| void readplayerstartcvars | ( | ) |
Definition at line 1963 of file world.qc.
References argv(), autocvar_g_jetpack, autocvar_g_warmup_allguns, cvar(), cvar_string(), FOREACH, g_weapon_stay, g_weaponarena, g_weaponarena_list, g_weaponarena_weapons, GetResource(), InitializeEntity(), INITPRIO_FINDTARGET, IT_UNLIMITED_AMMO, IT_UNLIMITED_SUPERWEAPONS, M_ARGV, max(), MUTATOR_CALLHOOK, Weapon::netname, new_pure, NULL, random_start_ammo, random_start_weapons_count, SetResource(), start_ammo_cells, start_ammo_fuel, start_ammo_nails, start_ammo_rockets, start_ammo_shells, start_armorvalue, start_health, start_items, start_weapons, start_weapons_default, start_weapons_defaultmask, strcat(), strlen, strzone(), substring(), tokenize_console, want_weapon(), warmup_start_ammo_cells, warmup_start_ammo_fuel, warmup_start_ammo_nails, warmup_start_ammo_rockets, warmup_start_ammo_shells, warmup_start_armorvalue, warmup_start_health, warmup_start_weapons, warmup_start_weapons_default, warmup_start_weapons_defaultmask, Weapon_from_name(), weaponarena_available_all_update(), weaponarena_available_devall_update(), weaponarena_available_most_update(), Weapons, weapons_all(), weapons_devall(), and weapons_most().
Referenced by readlevelcvars().
| float RedirectionThink | ( | ) |
Definition at line 2540 of file world.qc.
References autocvar_quit_and_redirect_timer, bprint(), cvar_set(), FOREACH_CLIENT, ftos(), IS_REAL_CLIENT, localcmd(), LOG_INFO, redirection_nextthink, redirection_target, redirection_timeout, strcat(), stuffcmd, and time.
Referenced by StartFrame().
| void RestoreGame | ( | ) |
Definition at line 2581 of file world.qc.
References autocvar_sessionid, db_load(), MapInfo_CurrentFeatures(), MapInfo_CurrentGametype(), MapInfo_Enumerate(), MapInfo_FilterGametype(), MapInfo_ForbiddenFlags(), MapInfo_RequiredFlags(), MapInfo_Shutdown(), ServerProgsDB, strcat(), TargetMusic_RestoreGame(), and WeaponStats_Init().
Definition at line 2413 of file world.qc.
References autocvar_sv_gameplayfix_multiplethinksperframe, entity(), getthink, max(), nextthink, and time.
Referenced by Physics_Frame().
| void SetDefaultAlpha | ( | ) |
Definition at line 105 of file world.qc.
References autocvar_g_player_alpha, default_player_alpha, default_weapon_alpha, MUTATOR_CALLHOOK, and SetDefaultAlpha().
Referenced by CheckRules_World(), MUTATOR_HOOKABLE(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), SetDefaultAlpha(), and spawnfunc().
Definition at line 1519 of file world.qc.
References FOREACH_CLIENT, INGAME, and IS_PLAYER.
Referenced by WinningCondition_Assault(), WinningCondition_Invasion(), and WinningCondition_Scores().
| void Shutdown | ( | ) |
Definition at line 2598 of file world.qc.
References __init_dedicated_server_shutdown(), autocvar_developer, autocvar_sessionid, autocvar_sv_db_saveasdump, Ban_SaveBans(), bot_endgame(), cheatcount_total, CheatShutdown(), cvar_set(), db_close(), db_dump(), db_save(), ftos(), game_stopped, loaded_gametype_custom_string, LOG_INFO, LOG_TRACE, MapInfo_Shutdown(), orig_slowmo, PlayerStats_GameReport(), ServerProgsDB, strcat(), strfree, sv_termsofservice_url_escaped, TemporaryDB, TIMEOUT_ACTIVE, timeout_status, WeaponStats_Shutdown(), and world_initialized.
| spawnfunc | ( | __init_dedicated_server | ) |
Definition at line 613 of file world.qc.
References delete_fn(), entity(), g_spawnpoints, GotoFirstMap(), IL_PUSH(), MapInfo_CurrentFeatures(), MapInfo_CurrentGametype(), MapInfo_Enumerate(), MapInfo_FilterGametype(), MapInfo_ForbiddenFlags(), MapInfo_RequiredFlags(), remove_unsafely(), setthink, static_init, static_init_late, static_init_precache, time, and world_initialized.
| spawnfunc | ( | light | ) |
| spawnfunc | ( | worldspawn | ) |
Definition at line 759 of file world.qc.
References __spawnfunc_spawn_all, _MapInfo_FindArenaFile(), argv(), autocvar_g_campaign, autocvar_g_waypoints_for_items, autocvar_sessionid, autocvar_sv_autopause, autocvar_sv_curl_serverpackages_auto, autocvar_sv_dedicated, autocvar_sv_eventlog, autocvar_sv_eventlog_files_counter, autocvar_sv_termsofservice_url, Ban_LoadBans(), BITSET, bot_waypoints_for_items, CampaignPostInit(), CampaignPreInit(), changelevel(), CheatInit(), CheckEngineExtensions(), classname, ClientInit_Spawn(), clientstuff, cons(), cvar_changes_init(), cvar_defstring(), cvar_set(), cvar_string(), cvar_value_issafe(), db_create(), db_load(), defer(), delete_fn(), endsWith, error, fclose(), fexists(), fgets(), FILE_READ, find(), fopen(), GameLogInit(), GameRules_limit_fallbacks(), GetField_fullspawndata(), GetGametype(), getladder(), getlsmaps(), getmaplist(), getmonsterlist(), getrankings(), getrecords(), InitGameplayMode(), ladder_reply, loadfromfile(), localcmd(), LOG_INFO, LOG_INFOF, lsmaps_reply, M_ARGV, Map_MarkAsRecent(), MapInfo_CurrentFeatures(), MapInfo_CurrentGametype(), MapInfo_Enumerate(), MapInfo_FilterGametype(), MapInfo_ForbiddenFlags(), MapInfo_RequiredFlags(), maplist_reply, mapname, matchid, modname, monsterlist_reply, MUTATOR_CALLHOOK, Nagger_Init(), NULL, Pause_TryPause_Dedicated(), PingPLReport_Spawn(), player_count, PlayerStats_GameReport_Init(), q3compat, Q3COMPAT_ARENA, Q3COMPAT_DEFI, RACE_RECORD, random(), RandomSeed_Spawn(), rankings_reply, readlevelcvars(), record_type, records_reply, remove_safely(), ServerProgsDB, SetDefaultAlpha(), SPAWNFLAG_NO_WAYPOINTS_FOR_ITEMS, spawnflags, startsWith, static_init, static_init_late, static_init_precache, strcat(), strcpy, strftime_s(), strzone(), sv_termsofservice_url_escaped, TemporaryDB, tokenize_console, WaypointSprite_Init(), WeaponStats_Init(), WinningConditionHelper(), world, world_already_spawned, world_initialized, and X.
| STATIC_INIT_EARLY | ( | maxclients | ) |
Definition at line 654 of file world.qc.
References entity(), maxclients, nextent(), and NULL.
| void systems_update | ( | ) |
Definition at line 7 of file main.qc.
References SYSTEM_UPDATE, and time.
Referenced by EndFrame().
Definition at line 1843 of file world.qc.
References boolean, entity(), M_ARGV, MUTATOR_CALLHOOK, WEP_FLAG_HIDDEN, WEP_FLAG_MUTATORBLOCKED, and WEP_FLAG_NORMAL.
Referenced by readplayerstartcvars(), and weapons_start().
Definition at line 1924 of file world.qc.
References entity(), g_weaponarena_weapons, start_weapons, warmup_start_weapons, weapons_all(), weapons_start(), and weaponsInMapAll.
Referenced by readplayerstartcvars().
Definition at line 1937 of file world.qc.
References entity(), g_weaponarena_weapons, start_weapons, warmup_start_weapons, weapons_devall(), weapons_start(), and weaponsInMapAll.
Referenced by readplayerstartcvars().
Definition at line 1950 of file world.qc.
References entity(), g_weaponarena_weapons, start_weapons, warmup_start_weapons, weapons_most(), weapons_start(), and weaponsInMapAll.
Referenced by readplayerstartcvars().
| WepSet weapons_all | ( | ) |
Definition at line 1894 of file world.qc.
References FOREACH, Weapons, WEP_FLAG_HIDDEN, and WEP_FLAG_MUTATORBLOCKED.
Referenced by readplayerstartcvars(), and weaponarena_available_all_update().
| WepSet weapons_devall | ( | ) |
Definition at line 1904 of file world.qc.
References FOREACH, and Weapons.
Referenced by readplayerstartcvars(), and weaponarena_available_devall_update().
| WepSet weapons_most | ( | ) |
Definition at line 1914 of file world.qc.
References FOREACH, Weapons, WEP_FLAG_HIDDEN, WEP_FLAG_MUTATORBLOCKED, and WEP_FLAG_NORMAL.
Referenced by readplayerstartcvars(), and weaponarena_available_most_update().
| WepSet weapons_start | ( | ) |
Weapons the player normally starts with outside weapon arena.
Definition at line 1883 of file world.qc.
References FOREACH, want_weapon(), and Weapons.
Referenced by weaponarena_available_all_update(), weaponarena_available_devall_update(), and weaponarena_available_most_update().
| float WinningCondition_RanOutOfSpawns | ( | ) |
Definition at line 1621 of file world.qc.
References AddWinners(), autocvar_g_spawn_useallspawns, checkrules_equality, ClearWinners(), entity(), FOREACH_CLIENT, g_spawnpoints, have_team_spawns, IL_EACH, IS_DEAD, IS_PLAYER, MAX_TEAMSCORE, NULL, NUM_TEAMS, some_spawn_has_been_used, team, Team_GetTeam(), Team_GetTeamFromIndex(), Team_GetTeamScore(), Team_IndexToTeam(), Team_IsValidTeam(), Team_SetTeamScore(), TeamBalance_CheckAllowedTeams(), TeamBalance_IsTeamAllowed(), TeamScore_AddToTeam(), WINNING_NO, and WINNING_YES.
Referenced by CheckRules_World().
Definition at line 1540 of file world.qc.
References autocvar_leadlimit_and_fraglimit, checkrules_suddendeathend, ClearWinners(), FLOAT_MAX, fragsleft_last, GetWinningCode(), max(), min(), MUTATOR_CALLHOOK, NULL, Send_Notification(), SetWinners(), team, Team_GetTeamFromIndex(), Team_IndexToTeam(), Team_SetTeamScore(), teamplay, TeamScore_GetCompareValue(), time, WinningConditionHelper(), WinningConditionHelper_equality, WinningConditionHelper_lowerisbetter, WinningConditionHelper_secondscore, WinningConditionHelper_topscore, WinningConditionHelper_winner, WinningConditionHelper_winnerteam, and WinningConditionHelper_zeroisworst.
Referenced by CheckRules_World(), WinningCondition_QualifyingThenRace(), and WinningCondition_Race().
| bool autocvar_sv_freezenonclients |
Definition at line 2440 of file world.qc.
Referenced by Physics_Frame().
Definition at line 2412 of file world.qc.
Referenced by RunThink().
| int fragsleft_last |
Definition at line 1539 of file world.qc.
Referenced by WinningCondition_Scores().
| float latency_cnt |
Definition at line 55 of file world.qc.
Referenced by PlayerStats_GameReport_FinalizePlayer().
| float latency_sum |
Definition at line 54 of file world.qc.
Referenced by PlayerStats_GameReport_FinalizePlayer().
| const float LATENCY_THINKRATE = 10 |
Definition at line 53 of file world.qc.
Referenced by PingPLReport_Think().
| float latency_time |
Definition at line 56 of file world.qc.
Referenced by PingPLReport_Think().
| entity pingplreport |
Definition at line 57 of file world.qc.
Referenced by PingPLReport_Spawn().
| entity randomseed |
Definition at line 590 of file world.qc.
Referenced by RandomSeed_Spawn().
| float redirection_nextthink |
Definition at line 2539 of file world.qc.
Referenced by RedirectionThink().
| float redirection_timeout |
Definition at line 2538 of file world.qc.
Referenced by RedirectionThink().
| const float SPAWNFLAG_NO_WAYPOINTS_FOR_ITEMS = 1 |
Definition at line 103 of file world.qc.
Referenced by spawnfunc().
| bool world_already_spawned |
Definition at line 758 of file world.qc.
Referenced by spawnfunc().