|
resonance 1.0.1
|
Enable policy of a jam session on one machine, which bars only silent vocal bars. More...
#include <localjamenablemgr.h>


Public Types | |
| enum | { kTrackCount = 8 } |
| The number of tracks the object records. More... | |
Public Member Functions | |
| LocalJamEnableMgr () | |
| Record the level's first eight tracks. | |
| virtual void | SetBarOwner (int nTrack, int nBar, Player *pPlayer) |
| Ignore an owner change. | |
| virtual int | QueryBar (int nTrack, int nBar) |
| Report whether one bar may be caught. | |
| Public Member Functions inherited from EnableMgr | |
| virtual | ~EnableMgr () |
| virtual void | ForceEnabled (int nTrack, int nBar, int nUntilBar) |
| Leave one track free of its requirements until a bar. | |
| virtual void | ForceDisable (int nTrack) |
| Stop one track from ever being enabled. | |
Static Public Member Functions | |
| static LocalJamEnableMgr * | CreateSolo () |
| Build the policy for a jam with one player. | |
| static LocalJamEnableMgr * | CreateLocal () |
| Build the policy for a jam with several players on one machine. | |
Enable policy of a jam session on one machine, which bars only silent vocal bars.
Its RTTI descriptor is at 0x008ef2f0. It derives publicly from EnableMgr at offset 0. Its type function is at 0x001057b8 and its table at 0x007ccb60. The object is 0x24 bytes. It inherits ForceEnabled() and ForceDisable() from the base, and the destructor at 0x00105788 is implicitly declared.
| LocalJamEnableMgr::LocalJamEnableMgr | ( | ) |
Record the level's first eight tracks.
The out-of-line copy has no caller, and the two factories expand the body.
|
static |
Build the policy for a jam with one player.
Gamer's constructor for the enable policy calls it in kGameModeSolo outside kPlayModeGame. The body is identical to CreateLocal(). The title is inferred.
|
static |
Build the policy for a jam with several players on one machine.
Gamer's constructor for the enable policy calls it in kGameModeLocal outside kPlayModeGame. The title is inferred.
|
virtual |
Ignore an owner change.
| nTrack | The track. |
| nBar | The bar. |
| pPlayer | The owner. |
Implements EnableMgr.
|
virtual |
Report whether one bar may be caught.
Every bar of a track outside kTrackModeVocal may be caught. A vocal bar may be caught only when a NoteFinder finds a note sounding into it, searching the previous bar's MIDI from tick 1920 and then the bar's own MIDI from tick 0.
| nTrack | The track. |
| nBar | The bar. |
Implements EnableMgr.