![]() |
The Pinball Game
Game Physics with Bespoke Code
|
Game specific defines and enumerated types.
#include "SageDefines.h"

Enumerations | |
| enum class | eGameState { Loading , Playing } |
| Game state enumerated type. More... | |
| enum class | eSprite { Background , BlackLine , UnlitBumper , LitBumper , UnlitSpecial , LitSpecial , UnlitSlot , LitSlot , Flipper , Clip , Ball , LED , UnlitTriangle , LitTriangle , UnlitSquare , LitSquare , UnlitPentagon , LitPentagon , None } |
| Sprite enumerated type. More... | |
| enum class | eDrawMode { Background , Both , Lines , Size } |
| Draw mode enumerated type. More... | |
| enum class | eSound { Beep , Blaster , Ballclick , Launch , Whiffle , FlipUp , FlipDown , LostBall , Load , Click , Tink , None } |
| Sound enumerated type. More... | |
|
strong |
An enumerated type for the drawing mode.
|
strong |
An enumerated type for the game state.
|
strong |
An enumerated type for the sounds, which will be cast to an unsigned integer and used for the index of the corresponding sound sample.
|
strong |
An enumerated type for the sprites, which will be cast to an unsigned integer and used for the index of the sprite texture in graphics memory.