![]() |
Collision Math Toy
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 , Clip , Arrow , Tangent , Point , Ball , Circle , Dot , Yellowline , Pinkline , Greenline , Blackline , Redline , Unlitbumper , Litbumper , Unlitarc0 , Litarc0 , Unlitarc1 , Litarc1 , Unlitarc2 , Litarc2 , Unlitarc3 , Litarc3 , Unlittarget , Littarget , Reticle , Halfreticle0 , Halfreticle1 , Bigredreticle , None } |
| Sprite enumerated type. More... | |
| enum class | eSound { Boop , Bump , Blaster , Ballclick , Launch , Sonic , Click , Tink , Beep , Beep2 , Beep3 , Beep4 , Beep5 , Beep6 } |
| Sound enumerated type. More... | |
|
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.