Skip to content

Commit

Permalink
nakano: Move GameFuncTbl
Browse files Browse the repository at this point in the history
  • Loading branch information
entriphy committed Jun 18, 2023
1 parent 81bc12a commit 0f2ec3e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/nakano/game.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
#include "common.h"

static s32 GameInit();
static s32 GameLoad();
static s32 GameMain();

static s32 nkGamePauseFlag = 0;
static s32 nkLoadTimer = 0;
static s32 nkLoadStat = 0;
static s32 nkLoadBun;
s32 (*GameFuncTbl[3])() = {
GameInit,
GameLoad,
GameMain
};
GAME_WORK GameGbl = {};
s16 obj_id[129] = {};
static s32 nkGamePauseRepTimer;
Expand Down Expand Up @@ -338,9 +347,3 @@ static s32 GameMain() {

return 0;
}

s32 (*GameFuncTbl[3])() = {
GameInit,
GameLoad,
GameMain
};

0 comments on commit 0f2ec3e

Please sign in to comment.