diff options
| author | Archez <Archez@users.noreply.github.com> | 2025-02-12 15:52:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-12 21:52:18 +0100 |
| commit | 0ce9807df64d8dc497ea5132546d27cf7e65dfc5 (patch) | |
| tree | bca02e249b1fc3e63fc071ecc23e57386f8a61d9 /soh/src/code | |
| parent | d4b9e8c835296bcc9fd20c47fe97167418e21ba9 (diff) | |
ShipInit and move ValueViewer rendering out of src (#5039)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/graph.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/soh/src/code/graph.c b/soh/src/code/graph.c index 06d84aa3b..51f8fcd17 100644 --- a/soh/src/code/graph.c +++ b/soh/src/code/graph.c @@ -6,8 +6,6 @@ #include <stdio.h> #include <stdlib.h> -#include "soh/Enhancements/debugger/colViewer.h" -#include "soh/Enhancements/debugger/valueViewer.h" #include "soh/Enhancements/gameconsole.h" #include "soh/OTRGlobals.h" #include "libultraship/bridge.h" @@ -300,28 +298,6 @@ void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState) { OPEN_DISPS(gfxCtx); - if (CVarGetInteger(CVAR_DEVELOPER_TOOLS("ValueViewerEnablePrinting"), 0)) { - Gfx* gfx; - Gfx* polyOpa; - GfxPrint printer; - - polyOpa = POLY_OPA_DISP; - gfx = Graph_GfxPlusOne(polyOpa); - gSPDisplayList(OVERLAY_DISP++, gfx); - - GfxPrint_Init(&printer); - GfxPrint_Open(&printer, gfx); - - ValueViewer_Draw(&printer); - - gfx = GfxPrint_Close(&printer); - GfxPrint_Destroy(&printer); - - gSPEndDisplayList(gfx++); - Graph_BranchDlist(polyOpa, gfx); - POLY_OPA_DISP = gfx; - } - gDPNoOpString(WORK_DISP++, "WORK_DISP 終了", 0); gDPNoOpString(POLY_OPA_DISP++, "POLY_OPA_DISP 終了", 0); gDPNoOpString(POLY_XLU_DISP++, "POLY_XLU_DISP 終了", 0); |
