Tiled Platformer Prototype
A Basic Tiled Platformer
Loading...
Searching...
No Matches
GameDefines.h File Reference

Game specific defines.

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

Enumerations

enum class  eSprite {
  SpriteSheet , SpriteSheet2 , PlayerRight , PlayerLeft ,
  PlayerJumpRight , PlayerJumpLeft , PlayerDieRight , PlayerDieLeft ,
  Tile , Line , Door , Saw ,
  Blood
}
 Sprite enumerated type. More...
 
enum class  eObject { Unknown , Player , Door , Saw }
 Object enumerated type. More...
 
enum class  eSound {
  Start , DoorOpen , Boing , Tap ,
  Saw , Death
}
 Sound enumerated type. More...
 
enum class  eGameState { Loading , Playing , Waiting }
 Game state enumerated type. More...
 
enum class  eAction {
  Walking , Standing , Jumping , Dying ,
  Dead
}
 Player action enumerated type. More...
 
enum class  eDirection { Left , Right , Continue }
 Player direction enumerated type. More...
 

Enumeration Type Documentation

◆ eAction

enum class eAction
strong

An enumerated type for the player action.

◆ eDirection

enum class eDirection
strong

An enumerated type for the player direction.

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