mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 10:17:03 +03:00
Inline DrawMode enum into Game definition
Wasn't much point in having it float around in global scope.
This commit is contained in:
parent
ef64c9d683
commit
0f1c561abb
1 changed files with 6 additions and 3 deletions
|
|
@ -14,8 +14,6 @@ struct GraphicsPerformanceCounters { // Would come from header with Graphics COM
|
||||||
unsigned unknown0x14;
|
unsigned unknown0x14;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum DrawMode { DRAW_YES, DRAW_WAITVBLANK, DRAW_NO };
|
|
||||||
|
|
||||||
// Base class of most objects
|
// Base class of most objects
|
||||||
class GameObj {
|
class GameObj {
|
||||||
enum GameObjFlags {
|
enum GameObjFlags {
|
||||||
|
|
@ -129,7 +127,12 @@ class Game {
|
||||||
bool32 skipDraw;
|
bool32 skipDraw;
|
||||||
int zeroedByExec;
|
int zeroedByExec;
|
||||||
GraphicsPerformanceCounters perfCounters;
|
GraphicsPerformanceCounters perfCounters;
|
||||||
DrawMode drawMode;
|
|
||||||
|
enum DrawMode {
|
||||||
|
DRAW_YES,
|
||||||
|
DRAW_WAITVBLANK,
|
||||||
|
DRAW_NO
|
||||||
|
} drawMode;
|
||||||
|
|
||||||
// Globally accessible objects and variables
|
// Globally accessible objects and variables
|
||||||
GameObj * objects[7668];
|
GameObj * objects[7668];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue