|
resonance 1.0.1
|
Powerup that neutralises the phrases other players captured on a track. More...
#include <neutralizepowerup.h>


Public Member Functions | |
| virtual int | Deploy (int nTrack, int nBar, Player *pPlayer, int nUnused) |
| Ask the track's PhraseNeutralizer to clear the bars after nBar. | |
| virtual int | Type () |
| Public Member Functions inherited from Powerup | |
| void * | operator new (size_t nSize) |
| Allocate a powerup from the tagged heap under the tag Powerup. | |
| void | operator delete (void *pBlock) |
| Release a powerup to the tagged heap. | |
| virtual | ~Powerup () |
Additional Inherited Members | |
| Static Public Member Functions inherited from Powerup | |
| static Powerup * | CreateForType (int nType) |
| Produce one powerup of the requested kind on the heap. | |
Powerup that neutralises the phrases other players captured on a track.
Its RTTI descriptor is at 0x00901f70. It has Powerup as its one base. The factory builds it for kHudItemNeutralizer with a four-byte allocation and the table at 0x007e40b8. The destructor at 0x001c9b88 is implicitly declared.
|
virtual |
Ask the track's PhraseNeutralizer to clear the bars after nBar.
A NeutralizeMsg (bar at +0x08, track at +0x0c, player at +0x10) goes out through the player's MsgSource. A handled message plays SND_DEPLOY_NEUTRALIZER, and an unhandled one is followed by a PowerupFailedMsg.
| nTrack | The track to neutralise. |
| nBar | The bar the neutralised bars follow. |
| pPlayer | The deploying player. |
| nUnused | Not read. |
Implements Powerup.
|
virtual |
Implements Powerup.