2012-02-18 05:53:39 +01:00
|
|
|
#include <allegro5/allegro.h>
|
|
|
|
#include <allegro5/allegro_font.h>
|
|
|
|
#include "map.h"
|
|
|
|
|
|
|
|
void Map_Draw(struct Game *game) {
|
|
|
|
al_clear_to_color(al_map_rgb(0,0,0));
|
|
|
|
al_draw_text(game->font, al_map_rgb(255,255,255), al_get_display_width(game->display)/2, al_get_display_height(game->display)/2, ALLEGRO_ALIGN_CENTRE, "Not implemented yet!");
|
|
|
|
DrawConsole(game);
|
|
|
|
al_flip_display();
|
2012-02-18 11:16:30 +01:00
|
|
|
al_rest(3.0);
|
2012-02-18 05:53:39 +01:00
|
|
|
UnloadGameState(game);
|
|
|
|
game->gamestate = GAMESTATE_LOADING;
|
|
|
|
game->loadstate = GAMESTATE_MENU;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Map_Load(struct Game *game) {}
|
|
|
|
int Map_Keydown(struct Game *game, ALLEGRO_EVENT *ev) { return 0; }
|
|
|
|
void Map_Preload(struct Game *game) {}
|
|
|
|
void Map_Unload(struct Game *game) {}
|