Resources used by Game state. More...
#include <main.h>
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 |
Resources used by Game 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.
| enum gamestate_enum Game::loadstate |
Game state to be loaded.
| ALLEGRO_MIXER* Game::mixer |
Main mixer of the game.
| int Game::music |
Music volume.
| ALLEGRO_MIXER* Game::music |
Music mixer.
| 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.
1.8.1.1