The Top-Down Tiled Game Prototype
A Basic Tiled Top-Down Shooter
Loading...
Searching...
No Matches
GameDefines.h File Reference

Game specific defines and enumerated types.

#include "SageDefines.h"
Include dependency graph for GameDefines.h:
This graph shows which files directly or indirectly include this file:

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...
 

Enumeration Type Documentation

◆ eDirection

enum class eDirection
strong

An enumerated type for object direction relative to view vector.

◆ eGameState

enum class eGameState
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.

◆ eObject

enum class eObject
strong

An enumerated type for the object types.

◆ eSound

enum class eSound : UINT
strong

An enumerated type for the sounds, which will be cast to an unsigned integer and used for the index of the corresponding sample.

◆ eSprite

enum class eSprite
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.