|
UFO: Alien Invasion
|

Go to the source code of this file.
Data Structures | |
| struct | mapcycle_t |
| map cycle list element More... | |
Functions | |
| void | SV_NextMapcycle (void) |
| Start the next map in the cycle. | |
| void | SV_MapcycleClear (void) |
| Empty the mapcycle list. | |
| static void | SV_MapcycleAdd (const char *mapName, bool day, const char *gameType) |
| Append a new mapname to the list of maps for the cycle. | |
| static void | SV_ParseMapcycle (void) |
| Parses the server mapcycle. | |
| static void | SV_MapcycleList_f (void) |
| static void | SV_MapcycleAdd_f (void) |
| static void | SV_MapcycleNext_f (void) |
| void | SV_MapcycleInit (void) |
Variables | |
| static mapcycle_t * | mapcycleList |
| static int | mapcycleCount |
|
static |
Append a new mapname to the list of maps for the cycle.
Definition at line 159 of file sv_mapcycle.cpp.
References Com_DPrintf(), mapcycle_t::day, DEBUG_SERVER, mapcycle_t::map, mapcycleCount, mapcycleList, mapName, Mem_PoolAllocType, Mem_PoolStrDup, mapcycle_t::next, sv_genericPool, and mapcycle_t::type.
Referenced by SV_MapcycleAdd_f(), and SV_ParseMapcycle().
Definition at line 239 of file sv_mapcycle.cpp.
References Cmd_Argc(), Cmd_Argv(), Com_Printf(), Q_streq, SV_CheckMap(), and SV_MapcycleAdd().
Referenced by SV_MapcycleInit().
Empty the mapcycle list.
Definition at line 137 of file sv_mapcycle.cpp.
References i, mapcycle_t::map, mapcycleCount, mapcycleList, Mem_Free, mapcycle_t::next, and mapcycle_t::type.
Referenced by SV_Clear(), and SV_MapcycleInit().
Definition at line 269 of file sv_mapcycle.cpp.
References Cmd_AddCommand(), SV_MapcycleAdd_f(), SV_MapcycleClear(), SV_MapcycleList_f(), SV_MapcycleNext_f(), and SV_ParseMapcycle().
Referenced by SV_Init().
Definition at line 228 of file sv_mapcycle.cpp.
References Com_Printf(), i, mapcycle_t::map, mapcycleCount, mapcycleList, mapcycle_t::next, and mapcycle_t::type.
Referenced by SV_MapcycleInit().
Definition at line 261 of file sv_mapcycle.cpp.
References Com_Printf(), mapcycleCount, and SV_NextMapcycle().
Referenced by SV_MapcycleInit().
Start the next map in the cycle.
Definition at line 20 of file sv_mapcycle.cpp.
References Cbuf_AddText(), Com_DPrintf(), Com_Printf(), Com_SetGameType(), Com_sprintf(), Cvar_Set(), DEBUG_SERVER, FS_CheckFile(), i, mapcycle_t::map, mapcycleCount, mapcycleList, MAX_QPATH, mapcycle_t::next, Q_streq, Q_strncpyz(), sv, and sv_gametype.
Referenced by SV_Frame(), and SV_MapcycleNext_f().
Parses the server mapcycle.
Definition at line 181 of file sv_mapcycle.cpp.
References Com_Parse(), Com_Printf(), FS_FreeFile(), FS_LoadFile(), length, mapcycleCount, mapcycleList, MAX_VAR, Q_streq, Q_strncpyz(), and SV_MapcycleAdd().
Referenced by SV_MapcycleInit().
|
static |
number of maps in the cycle
Definition at line 15 of file sv_mapcycle.cpp.
Referenced by SV_MapcycleAdd(), SV_MapcycleClear(), SV_MapcycleList_f(), SV_MapcycleNext_f(), SV_NextMapcycle(), and SV_ParseMapcycle().
|
static |
map cycle linked list
Definition at line 14 of file sv_mapcycle.cpp.
Referenced by SV_MapcycleAdd(), SV_MapcycleClear(), SV_MapcycleList_f(), SV_NextMapcycle(), and SV_ParseMapcycle().