![]() |
The Top-Down Tiled Game Prototype
A Basic Tiled Top-Down Shooter
|
Game specific defines and enumerated types.
#include "SageDefines.h"

Enumerations | |
| enum class | eGameState { Loading , Playing , Waiting } |
| Game state enumerated type. More... | |
| enum class | eDirection { Forward , Backward , Left , Right , None } |
| Relative direction enumerated type. More... | |
| enum class | eSprite { Sheet1 , Tile , Line , Bullet , Slug , Player , Guard , GuardReload , Skeleton , Smoke , Spark , Blood } |
| Sprite enumerated type. More... | |
| enum class | eObject { Unknown , Player , Guard , Bunker , Bullet , Slug } |
| Object enumerated type. More... | |
| enum class | eSound : UINT { Start , Grunt , Gun , Ricochet , Reload , Death } |
| Sound enumerated type. More... | |
|
strong |
An enumerated type for object direction relative to view vector.
|
strong |
An enumerated type for the game state, which can be either playing or waiting a short interval for the level to end after winning or losing to let sounds and particle effects play to the end without being cut short.
|
strong |
An enumerated type for the object types.
|
strong |
An enumerated type for the sounds, which will be cast to an unsigned integer and used for the index of the corresponding sample.
|
strong |
An enumerated type for the sprites, which will be cast to an unsigned integer and used for the index of the corresponding texture in graphics memory.