mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 19:16:44 +01:00
20 lines
670 B
C
20 lines
670 B
C
|
#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();
|
||
|
al_rest(5.0);
|
||
|
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) {}
|