epfl-archive/ee310-mes/source/graphics_engine.h
2022-04-07 18:46:57 +02:00

43 lines
901 B
C

#pragma once
/**
* @file graphics_engine.h
* @author C. Hölzl
* @brief graphics_engine header file
*/
#ifdef __cplusplus
extern "C" {
#endif
#include "engine.h"
#include "graphics_main.h"
#include "graphics_sub.h"
#include "utils.h"
void init_graphics();
void draw_title();
void draw_menu();
void draw_room(const room_t room, const s16 left);
void draw_info(const room_t room, const part_t part, const u32 slot_left);
void draw_player(const player_t* const player, const u8 same_dim);
void draw_game(const game_t* const game, const u32 time);
void draw_game_multi(const room_t room, const part_t part, const u32 slot_left, const bool taunt);
void draw_loading();
void draw_connecting();
void draw_guide();
void draw_credits();
void draw_rank();
void switch_mode(gmode_t mode);
void draw_message(char* msg);
void draw_warning(char* msg);
void clear_message();
#ifdef __cplusplus
}
#endif