|
wavelength 1.0.0
|
Bank of interface sounds built from the "fx_midi_file" entry of the "db" configuration section. More...
#include <fxmidi.h>
Public Types | |
| enum | Powerup { kPowerupAutocatcher = 1 , kPowerupMultiplier = 2 , kPowerupSlowdown = 3 , kPowerupFreestyler = 4 , kPowerupBumper = 5 , kPowerupCrippler = 6 , kPowerupCount = 7 } |
| Entries of mPowerupCatches and mPowerupDeploys. More... | |
| enum | Color { kColorGreen = 0 , kColorPurple = 1 , kColorRed = 2 , kColorYellow = 3 , kColorCount = 4 } |
| Entries of mWins and mLeads, the player colours. More... | |
Static Public Member Functions | |
| static void | PlayMenuLeft () |
| Play the sound of the left directional button in the menus. | |
| static void | PlayMenuRight () |
| Play the sound of the right directional button in the menus. | |
| static void | PlayMenuUp () |
| Play the sound of the up directional button in the menus. | |
| static void | PlayMenuDown () |
| Play the sound of the down directional button in the menus. | |
| static void | PlayMenuSelect () |
| Play the sound of a choice in the menus. | |
| static void | PlayBack () |
| Play the sound of going back a screen in the front end. | |
| static void | PlayCheat () |
| Play the sound of a cheat. | |
| static void | PlayProjector () |
| Play the sound of the projector that moves between the menu screens. | |
| static void | PlaySound0 () |
| Play the sound of the first handle. | |
| static void | PlaySound1 () |
| Play the sound of the second handle. | |
| static void | PlaySound2 () |
| Play the sound of the third handle. | |
| static void | PlaySound3 () |
| Play the sound of the fourth handle. | |
| static void | PlayWinSound () |
| Play the sound of a won song. | |
| static void | StopLoop () |
| Stop the looping sound of a song. | |
| static void | PlayDecrypt () |
| Play the sound of a song being decrypted. | |
| static void | PlayCursorLoop () |
| Start the looping sound of a moving cursor. | |
| static void | StopCursorLoop () |
| Stop the looping sound of a moving cursor. | |
| static void | PlayJuiceLowSound () |
| Play the sound that warns that the juice of a solo player is low. | |
| static void | PlayUnlock () |
| Play the UNLOCK cue. | |
| static void | PlayPowerupCatchSound (int nPowerup) |
| Play the sound of a power-up a player caught. | |
| static void | PlayPowerupSound (int nPowerup) |
| Play the sound of a deployed power-up. | |
| static void | PlayGuideSound (int nLane) |
| Play the guide sound of a gem lane. | |
| static bool | IsLeaderSoundPlaying () |
| Report whether a leader sound is playing. | |
| static void | PlayLeaderSound (int nSlot) |
| Play the sound that announces a new leader. | |
| static void | PlayWinnerSound (int nSlot) |
| Play the sound that announces the winner. | |
| static void | PlayDuelLayPattern () |
| Play DUEL_LAYPATT. | |
| static void | PlayDuelCatchPattern () |
| Play DUEL_CATCHPATT. | |
| static void | PlayDuelNice () |
| Play DUEL_NICE. | |
| static void | PlayDuelYouGotIt () |
| Play DUEL_YOUGOTIT. | |
| static void | PlayDuelAlmost () |
| Play DUEL_ALMOST. | |
| static void | PlayDuelOneLetter () |
| Play DUEL_ONELETTER. | |
| static void | PlayDuelAww () |
| Play DUEL_AWW. | |
| static void | PlayDuelPerfect () |
| Play DUEL_PERFECT. | |
| static void | PlayDuelGameTie () |
| Play DUEL_GAMETIE. | |
| static void | PlayDuelGreenWins () |
| Play DUEL_GREENWINS. | |
| static void | PlayDuelPurpleWins () |
| Play DUEL_PURPLEWINS. | |
| static void | PlayDuelMiss () |
| Play DUEL_MISS. | |
| static void | PlayDuelMissThis () |
| Play DUEL_MISSTHIS. | |
| static void | PlayDuelCheer () |
| Play DUEL_CHEER. | |
| static void | PlayEraseSound () |
| Play the sound of a gem or bar erased in the remix editor. | |
| static void | PlayEraseSectionSound () |
| Play the sound of a section erased in the remix editor. | |
| static void | PlayWrong () |
| Play the WRONG cue of a choice that is not allowed. | |
| static void | PlaySquare () |
| Play the SQUARE cue. | |
| static void | PlayLazySusan () |
| Play the LAZYSUSAN cue. | |
| static void | PlayKeyboardLeftUp () |
| Play the KEYBOARD_LEFT_UP cue of the front-end keyboard. | |
| static void | PlayKeyboardBack () |
| Play the KEYBOARD_BACK cue of the front-end keyboard. | |
| static void | PlayKeyboardKeyEnter () |
| Play the KEYBOARD_KEYENTER cue of the front-end keyboard. | |
| static void | PlayArenaUnlock () |
| Play the ARENA_UNLOCK cue of an arena that has just been unlocked. | |
| static void | PlaySoloPortal () |
| Play the SOLOPORTAL cue of the solo button of the main menu. | |
| static void | PlayMultiPortal () |
| Play the MULTIPORTAL cue of the multiplayer button of the main menu. | |
| static void | PlayNetPortal () |
| Play the NETPORTAL cue of the online button of the main menu. | |
| static void | StopPortals () |
| Stop the three portal cues of the main menu. | |
| static void | PlayTransition () |
| Start the sound of a screen that asks for a transition sound. | |
| static void | StopTransition () |
| Stop the sound PlayTransition() started. | |
Static Public Attributes | |
| static constexpr int | kGuideTickCount = 3 |
| The number of guide tick cues, and of duel player cues. | |
| static constexpr int | kDuelPlayerCount = 2 |
Bank of interface sounds built from the "fx_midi_file" entry of the "db" configuration section.
The class is not polymorphic and has no RTTI. The name is inferred. The one instance is TheFxMidi, and its members are one sound cue each, which SFXBuilder fills from the tracks the names of the members follow. Each routine below plays or stops cues of that instance on the interface scheduler of GameDb.
| enum FxMidi::Powerup |
Entries of mPowerupCatches and mPowerupDeploys.
Entry 0 has no cue.
| enum FxMidi::Color |
|
default |
Construct a bank with every cue unset.
|
default |
Release the cues.
|
static |
Play the sound of the left directional button in the menus.
|
static |
Play the sound of the right directional button in the menus.
|
static |
Play the sound of the up directional button in the menus.
|
static |
Play the sound of the down directional button in the menus.
|
static |
Play the sound of a choice in the menus.
|
static |
Play the sound of going back a screen in the front end.
The metagame plays it when Triangle led away from a screen.
|
static |
Play the sound of a cheat.
|
static |
Play the sound of the projector that moves between the menu screens.
|
static |
Play the sound of the first handle.
|
static |
Play the sound of the second handle.
A pitch track plays it when a player edits a bar another player owns.
|
static |
Play the sound of the third handle.
|
static |
Play the sound of the fourth handle.
|
static |
Play the sound of a won song.
|
static |
Stop the looping sound of a song.
|
static |
Play the sound of a song being decrypted.
The name is inferred.
|
static |
Start the looping sound of a moving cursor.
The name is inferred.
|
static |
Stop the looping sound of a moving cursor.
The name is inferred.
|
static |
Play the sound that warns that the juice of a solo player is low.
|
static |
Play the UNLOCK cue.
The name is inferred.
|
static |
Play the sound of a power-up a player caught.
| nPowerup | The kind of power-up, one of GameLogic::Powerup. |
|
static |
Play the sound of a deployed power-up.
| nPowerup | The kind of power-up, one of GameLogic::Powerup. |
|
static |
Play the guide sound of a gem lane.
GuideTicker plays it for each gem of an enabled bar.
| nLane | The lane. |
|
static |
Report whether a leader sound is playing.
|
static |
Play the sound that announces a new leader.
| nSlot | The leader's player slot. |
|
static |
Play the sound that announces the winner.
| nSlot | The winner's player slot. |
|
static |
Play DUEL_LAYPATT.
|
static |
Play DUEL_CATCHPATT.
|
static |
Play DUEL_NICE.
|
static |
Play DUEL_YOUGOTIT.
|
static |
Play DUEL_ALMOST.
|
static |
Play DUEL_ONELETTER.
|
static |
Play DUEL_AWW.
|
static |
Play DUEL_PERFECT.
|
static |
Play DUEL_GAMETIE.
|
static |
Play DUEL_GREENWINS.
|
static |
Play DUEL_PURPLEWINS.
|
static |
Play DUEL_MISS.
|
static |
Play DUEL_MISSTHIS.
|
static |
Play DUEL_CHEER.
|
static |
Play the sound of a gem or bar erased in the remix editor.
|
static |
Play the sound of a section erased in the remix editor.
|
static |
Play the WRONG cue of a choice that is not allowed.
|
static |
Play the SQUARE cue.
The song screen plays it to start a practice song.
|
static |
Play the LAZYSUSAN cue.
The arena screen plays it when the focus moves to another arena.
|
static |
Play the KEYBOARD_LEFT_UP cue of the front-end keyboard.
|
static |
Play the KEYBOARD_BACK cue of the front-end keyboard.
|
static |
Play the KEYBOARD_KEYENTER cue of the front-end keyboard.
|
static |
Play the ARENA_UNLOCK cue of an arena that has just been unlocked.
|
static |
Play the SOLOPORTAL cue of the solo button of the main menu.
|
static |
Play the MULTIPORTAL cue of the multiplayer button of the main menu.
|
static |
Play the NETPORTAL cue of the online button of the main menu.
|
static |
Stop the three portal cues of the main menu.
|
static |
Start the sound of a screen that asks for a transition sound.
|
static |
Stop the sound PlayTransition() started.
Report one of the guide tick cues.
| nIndex | The cue, from 0. |
Report one of the duel player cues.
| nPlayer | The player, from 0. |
|
staticconstexpr |
The number of guide tick cues, and of duel player cues.
|
staticconstexpr |