32 void *
operator new(
size_t nSize) {
33 return PoolMemAlloc(
static_cast<int>(nSize),
"MsgSink", 0);
44 void operator delete(
void *pBlock) {
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Receiver of engine messages.
Definition msgsink.h:21
virtual bool DispatchPriv(Message *pMsg)=0
Act on a message.
virtual bool Dispatch(Message *pMsg)
Accept a message.
void * PoolMemAlloc(int nSize, const char *pszTag, int nAlign)
Allocate a block from the pool heaps and bill it to a tag.
void PoolMemFree(void *pBlock)
Return a block PoolMemAlloc() handed out to the pool heap that owns it.