Go to the source code of this file.
Classes | |
class | C4GameMessage |
class | C4GameMessageList |
Functions | |
void | GameMsgObject (const char *szText, C4Object *pTarget) |
void | GameMsgObjectPlayer (const char *szText, C4Object *pTarget, int32_t iPlayer) |
void | GameMsgObjectError (const char *szText, C4Object *pTarget, bool Red=true) |
void | GameMsgObjectDw (const char *szText, C4Object *pTarget, uint32_t dwClr) |
Variables | |
const int32_t | C4GM_MaxText = 256 |
const int32_t | C4GM_MinDelay = 20 |
const int32_t | C4GM_Global = 1 |
const int32_t | C4GM_GlobalPlayer = 2 |
const int32_t | C4GM_Target = 3 |
const int32_t | C4GM_TargetPlayer = 4 |
const int32_t | C4GM_NoBreak = 1<<0 |
const int32_t | C4GM_Bottom = 1<<1 |
const int32_t | C4GM_Multiple = 1<<2 |
const int32_t | C4GM_Top = 1<<3 |
const int32_t | C4GM_Left = 1<<4 |
const int32_t | C4GM_Right = 1<<5 |
const int32_t | C4GM_HCenter = 1<<6 |
const int32_t | C4GM_VCenter = 1<<7 |
const int32_t | C4GM_DropSpeech = 1<<8 |
const int32_t | C4GM_WidthRel = 1<<9 |
const int32_t | C4GM_XRel = 1<<10 |
const int32_t | C4GM_YRel = 1<<11 |
const int32_t | C4GM_Zoom = 1<<12 |
const int32_t | C4GM_PositioningFlags = C4GM_Bottom | C4GM_Top | C4GM_Left | C4GM_Right | C4GM_HCenter | C4GM_VCenter |
C4GameMessageList | Messages |
|
inline |
Definition at line 104 of file C4GameMessage.h.
References C4GM_Target, C4RGB, Messages, C4GameMessageList::New(), and NO_OWNER.
Referenced by C4Object::ExecLife(), and C4Object::Promote().
|
inline |
Definition at line 116 of file C4GameMessage.h.
References C4GM_Target, Messages, C4GameMessageList::New(), and NO_OWNER.
void GameMsgObjectError | ( | const char * | szText, |
C4Object * | pTarget, | ||
bool | Red = true |
||
) |
Definition at line 451 of file C4GameMessage.cpp.
References C4GM_TargetPlayer, C4RGB, C4Object::Controller, Messages, and C4GameMessageList::New().
Referenced by ConstructionCheck(), C4Object::Lift(), ObjectComDig(), and C4Object::Push().
|
inline |
Definition at line 109 of file C4GameMessage.h.
References C4GM_TargetPlayer, C4RGB, Messages, and C4GameMessageList::New().
const int32_t C4GM_Bottom = 1<<1 |
Definition at line 35 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
const int32_t C4GM_DropSpeech = 1<<8 |
Definition at line 42 of file C4GameMessage.h.
const int32_t C4GM_Global = 1 |
Definition at line 29 of file C4GameMessage.h.
Referenced by C4GameMessageList::Append(), C4GameMessageList::ClearPlayers(), C4GameMessage::Draw(), C4GameMessageList::Draw(), and C4GameMessageList::New().
const int32_t C4GM_GlobalPlayer = 2 |
Definition at line 30 of file C4GameMessage.h.
Referenced by C4GameMessageList::Append(), C4GameMessageList::ClearPlayers(), C4GameMessage::Draw(), C4GameMessageList::Draw(), and C4GameMessageList::New().
const int32_t C4GM_HCenter = 1<<6 |
Definition at line 40 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
const int32_t C4GM_Left = 1<<4 |
Definition at line 38 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
const int32_t C4GM_MaxText = 256 |
Definition at line 26 of file C4GameMessage.h.
Referenced by C4Game::DrawCrewOverheadText().
const int32_t C4GM_MinDelay = 20 |
Definition at line 27 of file C4GameMessage.h.
Referenced by C4GameMessage::Init().
const int32_t C4GM_Multiple = 1<<2 |
Definition at line 36 of file C4GameMessage.h.
Referenced by C4GameMessageList::New().
const int32_t C4GM_NoBreak = 1<<0 |
Definition at line 34 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
const int32_t C4GM_PositioningFlags = C4GM_Bottom | C4GM_Top | C4GM_Left | C4GM_Right | C4GM_HCenter | C4GM_VCenter |
Definition at line 48 of file C4GameMessage.h.
Referenced by C4GameMessage::GetPositioningFlags(), and C4GameMessageList::New().
const int32_t C4GM_Right = 1<<5 |
Definition at line 39 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
const int32_t C4GM_Target = 3 |
Definition at line 31 of file C4GameMessage.h.
Referenced by C4GameMessageList::Append(), C4GameMessage::Draw(), C4Command::Fail(), GameMsgObject(), and GameMsgObjectDw().
const int32_t C4GM_TargetPlayer = 4 |
Definition at line 32 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw(), GameMsgObjectError(), and GameMsgObjectPlayer().
const int32_t C4GM_Top = 1<<3 |
Definition at line 37 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
const int32_t C4GM_VCenter = 1<<7 |
Definition at line 41 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
const int32_t C4GM_WidthRel = 1<<9 |
Definition at line 43 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
const int32_t C4GM_XRel = 1<<10 |
Definition at line 44 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
const int32_t C4GM_YRel = 1<<11 |
Definition at line 45 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
const int32_t C4GM_Zoom = 1<<12 |
Definition at line 46 of file C4GameMessage.h.
Referenced by C4GameMessage::Draw().
|
extern |
Definition at line 456 of file C4GameMessage.cpp.
Referenced by C4GameMessageList::Append(), C4Game::Clear(), C4Game::ClearPointers(), C4Game::Default(), C4Viewport::Draw(), C4Game::Execute(), C4Command::Fail(), GameMsgObject(), GameMsgObjectDw(), GameMsgObjectError(), GameMsgObjectPlayer(), and C4Game::ReloadDef().