More-accurate MiniMap.cpp variable arrangement
This commit is contained in:
parent
295e70ded8
commit
7c33b0ac5f
1 changed files with 10 additions and 9 deletions
|
@ -14,8 +14,6 @@
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "Stage.h"
|
#include "Stage.h"
|
||||||
|
|
||||||
char gMapping[0x80];
|
|
||||||
|
|
||||||
void WriteMiniMapLine(int line)
|
void WriteMiniMapLine(int line)
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
|
@ -77,16 +75,17 @@ void WriteMiniMapLine(int line)
|
||||||
|
|
||||||
int MiniMapLoop(void)
|
int MiniMapLoop(void)
|
||||||
{
|
{
|
||||||
int f;
|
int f, line;
|
||||||
int line;
|
|
||||||
unsigned char my_wait;
|
|
||||||
|
|
||||||
RECT rcMiniMap;
|
|
||||||
RECT rcView;
|
RECT rcView;
|
||||||
|
RECT rcMiniMap;
|
||||||
|
|
||||||
|
int my_x;
|
||||||
|
int my_y;
|
||||||
|
unsigned char my_wait;
|
||||||
RECT my_rect = {0, 57, 1, 58};
|
RECT my_rect = {0, 57, 1, 58};
|
||||||
int my_x = ((gMC.x / 0x200) + 8) / 16;
|
|
||||||
int my_y = ((gMC.y / 0x200) + 8) / 16;
|
my_x = ((gMC.x / 0x200) + 8) / 16;
|
||||||
|
my_y = ((gMC.y / 0x200) + 8) / 16;
|
||||||
|
|
||||||
for (f = 0; f <= 8; ++f)
|
for (f = 0; f <= 8; ++f)
|
||||||
{
|
{
|
||||||
|
@ -211,6 +210,8 @@ int MiniMapLoop(void)
|
||||||
return enum_ESCRETURN_continue;
|
return enum_ESCRETURN_continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char gMapping[0x80];
|
||||||
|
|
||||||
BOOL IsMapping(void)
|
BOOL IsMapping(void)
|
||||||
{
|
{
|
||||||
if (!gMapping[gStageNo])
|
if (!gMapping[gStageNo])
|
||||||
|
|
Loading…
Add table
Reference in a new issue