resonance 1.0.1
Loading...
Searching...
No Matches
GhostNotesPowerup Class Reference

Powerup that lights the player's track guides. More...

#include <ghostnotespowerup.h>

Inheritance diagram for GhostNotesPowerup:
Collaboration diagram for GhostNotesPowerup:

Public Member Functions

virtual int Deploy (int nTrack, int nBar, Player *pPlayer, int nUnused)
 Deliver a ToggleGhostMsg that switches the guides on straight to the player's sink.
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.

Detailed Description

Powerup that lights the player's track guides.

Its RTTI descriptor is at 0x008f0900. It has Powerup as its one base. The factory builds it for kHudItemGuides with a four-byte allocation and the table at 0x007e4040. The destructor at 0x001ca030 is implicitly declared.

Member Function Documentation

◆ Deploy()

virtual int GhostNotesPowerup::Deploy ( int nTrack,
int nBar,
Player * pPlayer,
int nUnused )
virtual

Deliver a ToggleGhostMsg that switches the guides on straight to the player's sink.

Parameters
nTrackNot read.
nBarNot read.
pPlayerThe deploying player.
nUnusedNot read.
Returns
1 always.
Ghidra address:
NTSC-U/C: 0x001ca0e8
Ghidra address:
PAL: 0x001cff88

Implements Powerup.

◆ Type()

virtual int GhostNotesPowerup::Type ( )
virtual
Returns
kHudItemGuides.
Ghidra address:
NTSC-U/C: 0x001ca0e0
Ghidra address:
PAL: 0x001cff80

Implements Powerup.


The documentation for this class was generated from the following file: