#include <C4GameMessage.h>
Public Member Functions | |
| C4GameMessageList () | |
| ~C4GameMessageList () | |
| void | Default () |
| void | Clear () |
| void | Execute () |
| void | Draw (C4TargetFacet &gui_cgo, C4TargetFacet &cgo, int32_t iPlayer) |
| void | ClearPlayers (int32_t iPlayer, int32_t dwPositioningFlags) |
| void | ClearPointers (C4Object *pObj) |
| void | UpdateDef (C4ID idUpdDef) |
| bool | New (int32_t iType, const StdStrBuf &Text, C4Object *pTarget, int32_t iPlayer, int32_t iX=-1, int32_t iY=-1, uint32_t dwClr=0xffFFFFFF, C4ID idDecoID=C4ID::None, C4PropList *pSrc=nullptr, uint32_t dwFlags=0u, int32_t width=0) |
| bool | New (int32_t iType, const char *szText, C4Object *pTarget, int32_t iPlayer, int32_t iX, int32_t iY, uint32_t dwClr, C4ID idDecoID=C4ID::None, C4PropList *pSrc=nullptr, uint32_t dwFlags=0u, int32_t width=0) |
| bool | Append (int32_t iType, const char *szText, C4Object *pTarget, int32_t iPlayer, int32_t iX, int32_t iY, uint32_t bCol, bool fNoDuplicates=false) |
Protected Attributes | |
| C4GameMessage * | First |
Definition at line 82 of file C4GameMessage.h.
| C4GameMessageList::C4GameMessageList | ( | ) |
Definition at line 311 of file C4GameMessage.cpp.
References Default().
| C4GameMessageList::~C4GameMessageList | ( | ) |
Definition at line 316 of file C4GameMessage.cpp.
References Clear().
| bool C4GameMessageList::Append | ( | int32_t | iType, |
| const char * | szText, | ||
| C4Object * | pTarget, | ||
| int32_t | iPlayer, | ||
| int32_t | iX, | ||
| int32_t | iY, | ||
| uint32_t | bCol, | ||
| bool | fNoDuplicates = false |
||
| ) |
Definition at line 394 of file C4GameMessage.cpp.
References C4GameMessage::Append(), C4GM_Global, C4GM_GlobalPlayer, C4GM_Target, First, Messages, New(), C4GameMessage::Next, C4GameMessage::Player, and C4GameMessage::Target.
Referenced by C4Command::Fail().
| void C4GameMessageList::Clear | ( | ) |
Definition at line 339 of file C4GameMessage.cpp.
References First, and C4GameMessage::Next.
Referenced by C4Game::Clear(), and ~C4GameMessageList().
| void C4GameMessageList::ClearPlayers | ( | int32_t | iPlayer, |
| int32_t | dwPositioningFlags | ||
| ) |
Definition at line 420 of file C4GameMessage.cpp.
References C4GM_Global, C4GM_GlobalPlayer, First, C4GameMessage::GetPositioningFlags(), C4GameMessage::Next, C4GameMessage::Player, and C4GameMessage::Type.
Referenced by New().
| void C4GameMessageList::ClearPointers | ( | C4Object * | pObj | ) |
Definition at line 326 of file C4GameMessage.cpp.
References First, C4GameMessage::Next, and C4GameMessage::Target.
Referenced by C4Game::ClearPointers(), and New().
| void C4GameMessageList::Default | ( | ) |
Definition at line 321 of file C4GameMessage.cpp.
References First.
Referenced by C4GameMessageList(), and C4Game::Default().
| void C4GameMessageList::Draw | ( | C4TargetFacet & | gui_cgo, |
| C4TargetFacet & | cgo, | ||
| int32_t | iPlayer | ||
| ) |
Definition at line 439 of file C4GameMessage.cpp.
References C4D_Foreground, C4GM_Global, C4GM_GlobalPlayer, C4Object::Category, C4GameMessage::Draw(), First, C4GameMessage::Next, C4GameMessage::Target, and C4GameMessage::Type.
Referenced by C4Viewport::Draw().
| void C4GameMessageList::Execute | ( | ) |
Definition at line 350 of file C4GameMessage.cpp.
References C4GameMessage::Execute(), First, and C4GameMessage::Next.
Referenced by C4Game::Execute().
| bool C4GameMessageList::New | ( | int32_t | iType, |
| const char * | szText, | ||
| C4Object * | pTarget, | ||
| int32_t | iPlayer, | ||
| int32_t | iX, | ||
| int32_t | iY, | ||
| uint32_t | dwClr, | ||
| C4ID | idDecoID = C4ID::None, |
||
| C4PropList * | pSrc = nullptr, |
||
| uint32_t | dwFlags = 0u, |
||
| int32_t | width = 0 |
||
| ) |
Definition at line 363 of file C4GameMessage.cpp.
References New().
| bool C4GameMessageList::New | ( | int32_t | iType, |
| const StdStrBuf & | Text, | ||
| C4Object * | pTarget, | ||
| int32_t | iPlayer, | ||
| int32_t | iX = -1, |
||
| int32_t | iY = -1, |
||
| uint32_t | dwClr = 0xffFFFFFF, |
||
| C4ID | idDecoID = C4ID::None, |
||
| C4PropList * | pSrc = nullptr, |
||
| uint32_t | dwFlags = 0u, |
||
| int32_t | width = 0 |
||
| ) |
Definition at line 368 of file C4GameMessage.cpp.
References C4GM_Global, C4GM_GlobalPlayer, C4GM_Multiple, C4GM_PositioningFlags, ClearPlayers(), ClearPointers(), First, StdStrBuf::getLength(), C4GameMessage::Init(), C4GameMessage::Next, and C4PropList::Status.
Referenced by Append(), GameMsgObject(), GameMsgObjectDw(), GameMsgObjectError(), GameMsgObjectPlayer(), and New().
| void C4GameMessageList::UpdateDef | ( | C4ID | idUpdDef | ) |
Definition at line 433 of file C4GameMessage.cpp.
References First, C4GameMessage::Next, and C4GameMessage::UpdateDef().
Referenced by C4Game::ReloadDef().
|
protected |
Definition at line 88 of file C4GameMessage.h.
Referenced by Append(), Clear(), ClearPlayers(), ClearPointers(), Default(), Draw(), Execute(), New(), and UpdateDef().