Disabled external gits
This commit is contained in:
107
ee310-mes/source/graphics_engine.c
Normal file
107
ee310-mes/source/graphics_engine.c
Normal file
@@ -0,0 +1,107 @@
|
||||
/**
|
||||
* @file graphics_engine.c
|
||||
*/
|
||||
|
||||
#include "graphics_engine.h"
|
||||
|
||||
|
||||
|
||||
void init_graphics()
|
||||
{
|
||||
lcdMainOnBottom();
|
||||
configure_graphics_main();
|
||||
configure_graphics_sub();
|
||||
create_palette_main();
|
||||
create_palette_sub();
|
||||
|
||||
create_object_sub();
|
||||
}
|
||||
|
||||
void draw_title()
|
||||
{
|
||||
draw_title_main();
|
||||
draw_title_sub();
|
||||
}
|
||||
|
||||
|
||||
void draw_menu()
|
||||
{
|
||||
draw_menu_main();
|
||||
draw_title_sub();
|
||||
}
|
||||
|
||||
|
||||
void switch_mode(gmode_t mode)
|
||||
{
|
||||
switch_mode_main(mode);
|
||||
switch_mode_sub(mode);
|
||||
}
|
||||
|
||||
void draw_game(const game_t* const game, const u32 time)
|
||||
{
|
||||
draw_game_main(game, time);
|
||||
draw_game_sub(&(game->player->pos), *get_player_current_room(game->maze, game->player), game->maze->slot_left);
|
||||
//draw_game_multi_sub(*get_player_current_room(game->maze, game->player),game->maze->slot_left);
|
||||
//draw_player_multi_sub(NULL,false);
|
||||
}
|
||||
|
||||
void draw_game_multi(const room_t room, const part_t part, const u32 slot_left, const bool taunt)
|
||||
{
|
||||
draw_game_multi_main(room, part, slot_left, taunt);
|
||||
draw_game_multi_sub(room, slot_left);
|
||||
}
|
||||
|
||||
|
||||
void draw_loading()
|
||||
{
|
||||
clear_main_text();
|
||||
draw_message_main("Loading...");
|
||||
draw_title_sub();
|
||||
}
|
||||
|
||||
void draw_connecting()
|
||||
{
|
||||
clear_main_text();
|
||||
draw_message_main("Connecting...");
|
||||
draw_title_sub();
|
||||
}
|
||||
|
||||
|
||||
void draw_warning(char* str){
|
||||
draw_warning_main(str);
|
||||
}
|
||||
|
||||
void draw_message(char* str){
|
||||
draw_message_main(str);
|
||||
}
|
||||
|
||||
void clear_message(){
|
||||
clear_message_main();
|
||||
}
|
||||
|
||||
void draw_guide()
|
||||
{
|
||||
draw_guide_main();
|
||||
}
|
||||
|
||||
|
||||
void draw_credits()
|
||||
{
|
||||
draw_credits_main();
|
||||
}
|
||||
|
||||
void draw_rank()
|
||||
{
|
||||
draw_rank_main();
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
}
|
Reference in New Issue
Block a user