Inline DrawMode enum into Game definition

Wasn't much point in having it float around in global scope.
This commit is contained in:
KeybadeBlox 2025-12-10 23:02:28 -05:00
parent ef64c9d683
commit 0f1c561abb

View file

@ -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];