Files
HackerOoT/include/debug/print.h
Trueffel 64bd859db4 Debug Boot (DebugOpeningState) (#136)
* First pass of debug boot port

* mostly done

* general changes, test this comma in commit now

* Makefile update: The "," works now

* quotes also working now inside a string

* get rid of emulator path

* format

* review

* improvements (add skybox and improve print logic)

* cleanup and fix build issues

* format

---------

Co-authored-by: Yanis002 <35189056+Yanis002@users.noreply.github.com>
2025-01-02 18:14:50 +01:00

26 lines
634 B
C

#ifndef HACKEROOT_PRINT_H
#define HACKEROOT_PRINT_H
#include "config.h"
#include "ultra64.h"
#include "gfxprint.h"
#include "z64math.h"
#include "color.h"
struct GraphicsContext;
typedef struct PrintUtils {
GraphicsContext* gfxCtx;
Gfx* dl;
Gfx* gfxRef;
GfxPrint gfxP;
} PrintUtils;
void Print_DebugPos(PrintUtils* this, Input* input, s16 posXChangeBy, s16 posYChangeBy);
void Print_Screen(PrintUtils* this, u8 x, u8 y, u32 rgba, const char* fmt, ...);
void Print_ScreenPx(PrintUtils* this, u8 x, u8 y, u32 rgba, const char* fmt, ...);
s32 GfxPrint_VPrintf(GfxPrint* this, const char* fmt, va_list args);
#endif