From 0f1c561abb9f13f8a69528c2a054342748ad09f6 Mon Sep 17 00:00:00 2001 From: KeybadeBlox Date: Wed, 10 Dec 2025 23:02:28 -0500 Subject: [PATCH] Inline DrawMode enum into Game definition Wasn't much point in having it float around in global scope. --- src/Core.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Core.hpp b/src/Core.hpp index 069a044..c102dcf 100644 --- a/src/Core.hpp +++ b/src/Core.hpp @@ -14,8 +14,6 @@ struct GraphicsPerformanceCounters { // Would come from header with Graphics COM unsigned unknown0x14; } -enum DrawMode { DRAW_YES, DRAW_WAITVBLANK, DRAW_NO }; - // Base class of most objects class GameObj { enum GameObjFlags { @@ -129,7 +127,12 @@ class Game { bool32 skipDraw; int zeroedByExec; GraphicsPerformanceCounters perfCounters; - DrawMode drawMode; + + enum DrawMode { + DRAW_YES, + DRAW_WAITVBLANK, + DRAW_NO + } drawMode; // Globally accessible objects and variables GameObj * objects[7668];