Finished MiniMapLoop
This commit is contained in:
parent
81f22c2bb8
commit
76cb99342a
1 changed files with 27 additions and 25 deletions
|
@ -145,30 +145,32 @@ int MiniMapLoop()
|
||||||
if (!Flip_SystemTask())
|
if (!Flip_SystemTask())
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
for ( f = 8; f >= -1; --f )
|
for (int f = 8; f >= -1; --f)
|
||||||
{
|
{
|
||||||
GetTrg();
|
GetTrg();
|
||||||
if ( gKey & 0x8000 )
|
|
||||||
|
if (gKey & KEY_ESCAPE)
|
||||||
{
|
{
|
||||||
v3 = Call_Escape(gscreen);
|
int escRet = Call_Escape();
|
||||||
if ( !v3 )
|
if (escRet == 0)
|
||||||
return 0;
|
return 0;
|
||||||
if ( v3 == 2 )
|
if (escRet == 2)
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
PutBitmap4(&grcGame, 0, 0, &grcGame, 10);
|
PutBitmap4(&grcGame, 0, 0, &grcGame, 10);
|
||||||
rcView.left = 160 - f * gMap.width / 16;
|
rcView.left = 160 - f * gMap.width / 16;
|
||||||
rcView.right = f * gMap.width / 16 + 160;
|
rcView.right = f * gMap.width / 16 + 160;
|
||||||
rcView.top = 120 - f * gMap.length / 16;
|
rcView.top = 120 - f * gMap.length / 16;
|
||||||
rcView.bottom = f * gMap.length / 16 + 120;
|
rcView.bottom = f * gMap.length / 16 + 120;
|
||||||
PutMapName(1);
|
PutMapName(true);
|
||||||
CortBox(&rcView, 0);
|
CortBox(&rcView, 0);
|
||||||
|
|
||||||
PutFramePerSecound();
|
PutFramePerSecound();
|
||||||
if ( !Flip_SystemTask(gscreen) )
|
if (!Flip_SystemTask())
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue