DDraceNetwork Docs
sixup_translate_game.cpp File Reference
Include dependency graph for sixup_translate_game.cpp:

Classes

struct  CGameMsg7
 

Enumerations

enum  { STR_TEAM_GAME , STR_TEAM_RED , STR_TEAM_BLUE , STR_TEAM_SPECTATORS }
 
enum  {
  DO_CHAT = 0 , DO_BROADCAST , DO_SPECIAL , PARA_NONE = 0 ,
  PARA_I , PARA_II , PARA_III
}
 

Functions

static int GetStrTeam7 (int Team, bool Teamplay)
 

Variables

static CGameMsg7 gs_GameMsgList7 [protocol7::NUM_GAMEMSGS]
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
STR_TEAM_GAME 
STR_TEAM_RED 
STR_TEAM_BLUE 
STR_TEAM_SPECTATORS 

◆ anonymous enum

anonymous enum
Enumerator
DO_CHAT 
DO_BROADCAST 
DO_SPECIAL 
PARA_NONE 
PARA_I 
PARA_II 
PARA_III 

Function Documentation

◆ GetStrTeam7()

static int GetStrTeam7 ( int  Team,
bool  Teamplay 
)
static

Variable Documentation

◆ gs_GameMsgList7

CGameMsg7 gs_GameMsgList7[protocol7::NUM_GAMEMSGS]
static
Initial value:
= {
{ DO_CHAT, PARA_NONE, "Teams were swapped"},
{ DO_CHAT, PARA_NONE, "Invalid spectator id used"},
{ DO_CHAT, PARA_NONE, "Teams were shuffled"},
{ DO_CHAT, PARA_NONE, "Teams have been balanced"},
{ DO_SPECIAL, PARA_I, ""},
{ DO_SPECIAL, PARA_I, ""},
{ DO_SPECIAL, PARA_I, ""},
{ DO_SPECIAL, PARA_III, ""},
{ DO_SPECIAL, PARA_I, ""},
}
@ DO_SPECIAL
Definition: sixup_translate_game.cpp:36
@ PARA_NONE
Definition: sixup_translate_game.cpp:38
@ DO_CHAT
Definition: sixup_translate_game.cpp:34
@ PARA_I
Definition: sixup_translate_game.cpp:39
@ PARA_III
Definition: sixup_translate_game.cpp:41