Super Derpy: Muffin Attack
 All Classes Files Functions Variables Enumerations Macros
Public Attributes
Game Struct Reference

Resources used by Game state. More...

#include <main.h>

List of all members.

Public Attributes

ALLEGRO_DISPLAY * display
ALLEGRO_FONT * font
ALLEGRO_FONT * font_console
enum gamestate_enum gamestate
enum gamestate_enum loadstate
ALLEGRO_EVENT_QUEUE * event_queue
ALLEGRO_TIMER * timer
ALLEGRO_BITMAP * console
bool showconsole
int fx
int music
int voice
bool fullscreen
bool debug
int fps
int width
int height
bool shuttingdown
bool restart
struct Menu menu
struct Loading loading
struct Intro intro
struct About about
struct Map map
struct Level level
struct Pause pause
struct {
   ALLEGRO_VOICE *   v
   ALLEGRO_MIXER *   mixer
   ALLEGRO_MIXER *   music
   ALLEGRO_MIXER *   voice
   ALLEGRO_MIXER *   fx
audio

Detailed Description

Resources used by Game state.


Member Data Documentation

struct About Game::about

Resources used by About state.

struct { ... } Game::audio

Audio resources.

ALLEGRO_BITMAP* Game::console

Bitmap with game console.

bool Game::debug

Toggles debug mode.

ALLEGRO_DISPLAY* Game::display

Main Allegro display.

ALLEGRO_EVENT_QUEUE* Game::event_queue

Main event queue.

ALLEGRO_FONT* Game::font

Main font used in game.

ALLEGRO_FONT* Game::font_console

Font used in game console.

int Game::fps

FPS limit

bool Game::fullscreen

Fullscreen toggle.

int Game::fx

Effects volume.

ALLEGRO_MIXER* Game::fx

Effects mixer.

enum gamestate_enum Game::gamestate

Current game state.

int Game::height

Height of window as being set in configuration.

struct Intro Game::intro

Resources used by Intro state.

struct Level Game::level

Resources used by Level state.

struct Loading Game::loading

Resources used by Menu state.

enum gamestate_enum Game::loadstate

Game state to be loaded.

struct Map Game::map

Resources used by Map state.

struct Menu Game::menu

Resources used by Menu state.

ALLEGRO_MIXER* Game::mixer

Main mixer of the game.

int Game::music

Music volume.

ALLEGRO_MIXER* Game::music

Music mixer.

struct Pause Game::pause

Resources used by Pause state.

bool Game::restart

If true then restart of the game is pending.

bool Game::showconsole

If true, game console is rendered on screen.

bool Game::shuttingdown

If true then shut down of the game is pending.

ALLEGRO_TIMER* Game::timer

Main FPS timer.

ALLEGRO_VOICE* Game::v

Main voice used by the game.

int Game::voice

Voice volume.

ALLEGRO_MIXER* Game::voice

Voice mixer.

int Game::width

Width of window as being set in configuration.


The documentation for this struct was generated from the following file: