|
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 | FIELD(Flags, Type, Name) |
| #define | MINIGAME_CMD(cmd_id) |
| #define | MSLE(Name, Fields) |
Functions | |
| void | ClientCommand_minigame (entity caller, int request, int argc, string command) |
| void | end_minigame (entity minigame_session) |
| void | end_minigames () |
| string | invite_minigame (entity inviter, entity player) |
| Invite a player to join in a minigame. | |
| entity | join_minigame (entity player, string game_id) |
| Join an existing minigame session. | |
| int | minigame_addplayer (entity minigame_session, entity player) |
| bool | minigame_CheckSend (entity this, entity client) |
| entity | minigame_find_player (entity client) |
| void | minigame_resend (entity minigame) |
| void | minigame_rmplayer (entity minigame_session, entity player) |
| bool | minigame_SendEntity (entity this, entity to, int sf) |
| bool | MinigameImpulse (entity this, int imp) |
| void | part_minigame (entity player) |
| void | player_clear_minigame (entity player) |
| entity | start_minigame (entity player, string minigame) |
| Create a new minigame session. | |
| #define FIELD | ( | Flags, | |
| Type, | |||
| Name ) |
Definition at line 56 of file sv_minigames.qc.
| #define MINIGAME_CMD | ( | cmd_id | ) |
Definition at line 308 of file sv_minigames.qc.
Referenced by ClientCommand_minigame().
| #define MSLE | ( | Name, | |
| Fields ) |
Definition at line 57 of file sv_minigames.qc.
Definition at line 310 of file sv_minigames.qc.
References active_minigame, argv(), argv_end_index, autocvar_g_playban_list, autocvar_g_playban_minigames, autocvar_sv_minigames, CMD_REQUEST_COMMAND, CS(), entity(), error, FOREACH, GetIndexedEntity(), invite_minigame(), join_minigame(), MINIGAME_CMD, minigame_find_player(), minigame_sessions, NULL, part_minigame(), PlayerInList(), Send_Notification(), sprint(), start_minigame(), strcat(), substring(), and tokenize_console.
Referenced by CLIENT_COMMAND().
Definition at line 224 of file sv_minigames.qc.
References entity(), etof, findentity(), ftos(), GameLogEcho(), LOG_TRACE, minigame_sessions, NULL, owner, player_clear_minigame(), strcat(), and strfree.
Referenced by end_minigames(), minigame_rmplayer(), and start_minigame().
| void end_minigames | ( | ) |
Definition at line 255 of file sv_minigames.qc.
References end_minigame(), and minigame_sessions.
Invite a player to join in a minigame.
Definition at line 263 of file sv_minigames.qc.
References active_minigame, autocvar_g_playban_list, autocvar_g_playban_minigames, CS(), entity(), etof, ftos(), GameLogEcho(), PlayerInList(), Send_Notification(), strcat(), and VerifyClientEntity().
Referenced by ClientCommand_minigame().
Join an existing minigame session.
Definition at line 200 of file sv_minigames.qc.
References autocvar_sv_minigames, entity(), IS_REAL_CLIENT, minigame_addplayer(), minigame_sessions, and NULL.
Referenced by ClientCommand_minigame().
Definition at line 127 of file sv_minigames.qc.
References active_minigame, autocvar_sv_minigames_observer, CS(), entity(), etof, ftos(), GameLogEcho(), IS_OBSERVER, minigame_CheckSend(), minigame_resend(), minigame_rmplayer(), minigame_SendEntity(), Net_LinkEntity(), Player_SetForcedTeamIndex(), PutObserverInServer(), setcefc, strcat(), and TEAM_FORCE_SPECTATOR.
Referenced by join_minigame(), and start_minigame().
Definition at line 118 of file sv_minigames.qc.
References entity(), NULL, and owner.
Referenced by minigame_addplayer(), and msle_spawn().
Definition at line 285 of file sv_minigames.qc.
References active_minigame, CS(), entity(), and NULL.
Referenced by ClientCommand_minigame(), and MinigameImpulse().
Definition at line 108 of file sv_minigames.qc.
References entity(), findentity(), MINIG_SF_ALL, NULL, and owner.
Referenced by minigame_addplayer().
Definition at line 17 of file sv_minigames.qc.
References end_minigame(), entity(), etof, ftos(), GameLogEcho(), NULL, player_clear_minigame(), and strcat().
Referenced by minigame_addplayer(), and part_minigame().
Definition at line 64 of file sv_minigames.qc.
References classname, descriptor, entity(), etof, MINIG_SF_CREATE, MINIG_SF_UPDATE, minigame_flags, minigame_players, MINIGAME_SIMPLELINKED_ENTITIES, MSG_ENTITY, msle_id(), netname, owner, team, WriteByte(), WriteHeader, WriteLong(), WriteShort(), and WriteString().
Referenced by minigame_addplayer(), msle_spawn(), and start_minigame().
Definition at line 296 of file sv_minigames.qc.
References active_minigame, CS(), entity(), imp, and minigame_find_player().
Referenced by ImpulseCommands(), and ObserverOrSpectatorThink().
Definition at line 216 of file sv_minigames.qc.
References CS(), entity(), and minigame_rmplayer().
Referenced by BanCommand_playban(), ClientCommand_minigame(), and ClientDisconnect().
Definition at line 6 of file sv_minigames.qc.
References CS(), entity(), IS_PLAYER, MOVETYPE_FLY_WORLDONLY, MOVETYPE_WALK, NULL, Player_SetForcedTeamIndex(), set_movetype(), and TEAM_FORCE_DEFAULT.
Referenced by end_minigame(), and minigame_rmplayer().
Create a new minigame session.
Definition at line 164 of file sv_minigames.qc.
References autocvar_sv_minigames, end_minigame(), entity(), etof, ftos(), GameLogEcho(), IS_REAL_CLIENT, LOG_TRACE, minigame_addplayer(), minigame_get_descriptor(), minigame_SendEntity(), minigame_sessions, Net_LinkEntity(), NULL, strcat(), and strzone().
Referenced by ClientCommand_minigame().