|
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 | CAMPAIGN_MAX_ENTRIES 2 |
Functions | |
| int | Campaign_GetLevelNum () |
| void | CampaignLevelWarp (float n) |
| void | CampaignPostInit () |
| void | CampaignPostIntermission () |
| void | CampaignPreInit () |
| void | CampaignPreIntermission () |
Variables | |
| int | autocvar__campaign_index |
| string | autocvar__campaign_name |
| bool | autocvar__campaign_testrun |
| bool | autocvar_g_campaign |
| float | autocvar_g_campaign_forceteam |
| int | autocvar_g_campaign_skill |
| bool | campaign_bots_may_start |
| campaign mode: bots shall spawn but wait for the player to spawn before they do anything in other gametypes, this is ignored | |
| bool | campaign_forcewin |
| #define CAMPAIGN_MAX_ENTRIES 2 |
Definition at line 11 of file campaign.qh.
| int Campaign_GetLevelNum | ( | ) |
Definition at line 44 of file campaign.qc.
References campaign_level.
Referenced by SendWelcomeMessage().
Definition at line 261 of file campaign.qc.
References campaign_entries, campaign_level, CampaignFile_Load(), CampaignFile_Unload(), CampaignSetup(), and error.
Referenced by GameCommand_warp(), and target_levelwarp_use().
| void CampaignPostInit | ( | ) |
Definition at line 100 of file campaign.qc.
References argv(), autocvar__campaign_testrun, campaign_fraglimit, Campaign_Invalid(), campaign_timelimit, cvar_set(), and tokenizebyseparator.
Referenced by spawnfunc().
| void CampaignPostIntermission | ( | ) |
Definition at line 239 of file campaign.qc.
References campaign_entries, campaign_index_var, campaign_name, campaign_won, CampaignFile_Unload(), CampaignSetup(), localcmd(), LOG_DEBUG, and strunzone().
Referenced by DoNextMapOverride().
| void CampaignPreInit | ( | ) |
Definition at line 49 of file campaign.qc.
References _MapInfo_Parse_Settemp(), argv(), autocvar__campaign_index, autocvar__campaign_name, autocvar_g_campaign_skill, autocvar_sv_cheats, campaign_bots, campaign_botskill, campaign_entries, campaign_forcewin, campaign_gametype, campaign_index_var, Campaign_Invalid(), campaign_level, campaign_mutators, campaign_name, CampaignBailout(), CampaignFile_Load(), CampaignFile_Unload(), cvar_set(), cvar_settemp(), ftos(), MAPINFO_SETTEMP_ACL_USER, MapInfo_SwitchGameType(), MapInfo_Type_FromString(), mapname, max(), strcat(), strzone(), and tokenizebyseparator.
Referenced by spawnfunc().
| void CampaignPreIntermission | ( | ) |
Definition at line 167 of file campaign.qc.
References autocvar__campaign_testrun, autocvar_fraglimit, autocvar_timelimit, bprint(), campaign_entries, campaign_forcewin, campaign_index_var, campaign_level, campaign_name, campaign_won, CampaignSaveCvar(), cheatcount_total, checkrules_equality, cvar(), FOREACH_CLIENT, IS_PLAYER, IS_REAL_CLIENT, strcat(), and time.
Referenced by NextLevel().
| int autocvar__campaign_index |
Definition at line 4 of file campaign.qh.
Referenced by CampaignPreInit().
| string autocvar__campaign_name |
Definition at line 5 of file campaign.qh.
Referenced by CampaignPreInit().
| bool autocvar__campaign_testrun |
Definition at line 3 of file campaign.qh.
Referenced by CampaignBailout(), CampaignPostInit(), CampaignPreIntermission(), and Onslaught_CheckWinner().
| bool autocvar_g_campaign |
Definition at line 6 of file campaign.qh.
| float autocvar_g_campaign_forceteam |
Definition at line 7 of file campaign.qh.
Referenced by Player_DetermineForcedTeam(), and TeamBalance_GetTeamCounts().
| int autocvar_g_campaign_skill |
Definition at line 8 of file campaign.qh.
Referenced by CampaignPreInit().
| bool campaign_bots_may_start |
campaign mode: bots shall spawn but wait for the player to spawn before they do anything in other gametypes, this is ignored
Definition at line 26 of file campaign.qh.
Referenced by bot_think(), Join(), Monster_Move(), Monster_Move_2D(), MUTATOR_HOOKFUNCTION(), round_handler_Think(), and WinningCondition_LMS().
| bool campaign_forcewin |
Definition at line 28 of file campaign.qh.
Referenced by CampaignPreInit(), CampaignPreIntermission(), and target_changelevel_use().