ref: 3f2d5c3e25644aec0ddffa38f77c9ea985aea5f7
parent: 32d635581aede7a4ba1fec9c96790b56ac103081
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Jan 7 17:08:10 EST 2020
More-accurate Stage.cpp variable arrangement
--- a/src/Stage.cpp
+++ b/src/Stage.cpp
@@ -27,6 +27,9 @@
#endif
int gStageNo;
+MusicID gMusicNo;
+unsigned int gOldPos;
+MusicID gOldNo;
// Note: Pixel made numerous capitalisation errors when making this table.
// This isn't a problem for Windows, because of its case-insensitive filesystem.
@@ -130,9 +133,9 @@
BOOL TransferStage(int no, int w, int x, int y)
{
- BOOL bError;
- char path_dir[20];
char path[MAX_PATH];
+ char path_dir[20];
+ BOOL bError;
// Move character
SetMyCharPosition(x * 0x10 * 0x200, y * 0x10 * 0x200);
@@ -247,10 +250,6 @@
"TOROKO",
"WHITE"
};
-
-MusicID gMusicNo;
-unsigned int gOldPos;
-MusicID gOldNo;
void ChangeMusic(MusicID no)
{