2019-08-25 04:46:40 +00:00
|
|
|
#ifndef _DEBUG_H
|
|
|
|
#define _DEBUG_H
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
enum DebugPage {
|
|
|
|
DEBUG_PAGE_OBJECTINFO, // 0: objectinfo
|
|
|
|
DEBUG_PAGE_CHECKSURFACEINFO, // 1: checkinfo/surfaceinfo
|
|
|
|
DEBUG_PAGE_MAPINFO, // 2: mapinfo
|
|
|
|
DEBUG_PAGE_STAGEINFO, // 3: stageinfo
|
|
|
|
DEBUG_PAGE_EFFECTINFO, // 4: effectinfo
|
|
|
|
DEBUG_PAGE_ENEMYINFO // 5: enemyinfo
|
|
|
|
};
|
|
|
|
|
|
|
|
extern s64 get_current_clock(void);
|
|
|
|
extern s64 get_clock_difference(s64 cycles);
|
|
|
|
extern void set_text_array_x_y(s32 xOffset, s32 yOffset);
|
|
|
|
extern void print_debug_top_down_objectinfo(const char *str, s32 number);
|
|
|
|
extern void print_debug_top_down_mapinfo(const char * str, s32 number);
|
|
|
|
extern void print_debug_bottom_up(const char*,s32);
|
|
|
|
extern void debug_unknown_level_select_check(void);
|
|
|
|
extern void reset_debug_objectinfo(void);
|
2020-03-02 03:42:52 +00:00
|
|
|
extern void stub_debug_5(void);
|
2019-08-25 04:46:40 +00:00
|
|
|
extern void try_print_debug_mario_object_info(void);
|
2019-11-03 19:36:27 +00:00
|
|
|
extern void try_do_mario_debug_object_spawn(void);
|
|
|
|
extern void try_print_debug_mario_level_info(void);
|
2019-08-25 04:46:40 +00:00
|
|
|
|
|
|
|
#endif /* _DEBUG_H */
|