Files
HackerOoT/include/debug.h
Yanis b65f664159 Started Debug Menu (#104)
* started basic debugger

* documentation and added rectangle configurator

* updated f3dex3 patches + made some for profiling stuff

* started profiler

* fix issues and moved profiler functions to gamestate/hide by default

* fix folders not being created properly

* started menu

* memory management

* fix english

* debug disp

* started collision view

* improvements

* basic collider view

* revert profiler changes

* improvements
2024-05-08 12:04:46 +02:00

32 lines
723 B
C

#ifndef HACKEROOT_DEBUG_H
#define HACKEROOT_DEBUG_H
#include "config.h"
#include "ultra64.h"
#include "macros.h"
#include "padmgr.h"
#include "debug/print.h"
#include "debug/collision_view.h"
#include "debug/menu.h"
#define DEBUG_PRINT_VAR(var) PRINTF("%s: %d\n", #var, var)
#define COLOR_WHITE (0xFFFFFF)
#define COLOR_RED (0xFF0000)
#define COLOR_GREEN (0x00FF00)
#define COLOR_BLUE (0x0000FF)
#define COLOR_BLUE2 (0x0080FF)
#define COLOR_BLUE3 (0x00BFFF)
typedef struct Debug {
struct PlayState* play;
Input* input;
PrintUtils printer;
Menu menu;
} Debug;
void Debug_DrawColorRectangle(Vec2s rectLeft, Vec2s rectRight, Color_RGBA8 rgba);
void Debug_ConfigureNewRectangle(Input* controller);
#endif