|
resonance 1.0.1
|
Powerup that cripples the other players. More...
#include <cripplepowerup.h>


Public Member Functions | |
| virtual int | Deploy (int nTrack, int nBar, Player *pPlayer, int nUnused) |
| Ask the game to cripple the other players. | |
| 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 cripples the other players.
Its RTTI descriptor is at 0x008f08a0. It has Powerup as its one base. The factory builds it for kHudItemCrippler with a four-byte allocation and the table at 0x007e4108. The destructor at 0x001c9778 is implicitly declared.
|
virtual |
Ask the game to cripple the other players.
A CrippleMsg (player at +0x08, track at +0x0c, bar at +0x10) goes out through the player's MsgSource. A handled message is followed by a DeployedPowerupMsg with no bar range and a track of -1, and SND_DEPLOY_CRIPPLER plays. An unhandled one is followed by a PowerupFailedMsg.
| nTrack | The track. |
| nBar | The bar. |
| pPlayer | The deploying player. |
| nUnused | Not read. |
Implements Powerup.
|
virtual |
Implements Powerup.