43 : mPad(nPad), mButton(nButton), mPressed(nPressed) {
52 void *
operator new(
size_t nSize) {
53 return PoolMemAlloc(
static_cast<int>(nSize),
"JoypadInputMsg", 0);
61 void operator delete(
void *pBlock) {
95 return "JoypadInputMsg";
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Text output stream.
Definition prnstream.h:16
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.