34 lines
641 B
C
34 lines
641 B
C
|
#pragma once
|
||
|
|
||
|
/**
|
||
|
* @file graphics_sub.h
|
||
|
* @author C. Hölzl
|
||
|
* @brief Subscreen Graphics header file
|
||
|
*/
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#include <nds.h>
|
||
|
|
||
|
#include "engine.h"
|
||
|
#include "utils.h"
|
||
|
|
||
|
void configure_graphics_sub();
|
||
|
void switch_mode_sub(gmode_t mode);
|
||
|
|
||
|
void create_palette_sub();
|
||
|
void create_object_sub();
|
||
|
|
||
|
void draw_title_sub();
|
||
|
void next_loading_isr(u8 f);
|
||
|
|
||
|
void draw_game_sub(const position_t* const pos, const room_t room, const s16 left);
|
||
|
void draw_game_multi_sub(const room_t room, const u32 slot_left);
|
||
|
void draw_player_multi_sub(const net_player_t* const player, const bool ghost);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|