More-accurate BossAlmo2.cpp variable arrangement
This commit is contained in:
parent
a0813edd2b
commit
de7ea5a251
1 changed files with 7 additions and 9 deletions
|
@ -178,14 +178,14 @@ static void ActBossCharA_Face(NPCHAR *npc)
|
||||||
|
|
||||||
static void ActBossCharA_Mini(NPCHAR *npc)
|
static void ActBossCharA_Mini(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
int deg;
|
|
||||||
|
|
||||||
RECT rect[3] = {
|
RECT rect[3] = {
|
||||||
{256, 0, 320, 40},
|
{256, 0, 320, 40},
|
||||||
{256, 40, 320, 80},
|
{256, 40, 320, 80},
|
||||||
{256, 80, 320, 120},
|
{256, 80, 320, 120},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
int deg;
|
||||||
|
|
||||||
if (npc->cond == 0)
|
if (npc->cond == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -284,16 +284,14 @@ static void ActBossCharA_Hit(NPCHAR *npc)
|
||||||
|
|
||||||
void ActBossChar_Undead(void)
|
void ActBossChar_Undead(void)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
int x;
|
|
||||||
int y;
|
|
||||||
|
|
||||||
static int life;
|
|
||||||
static unsigned char flash;
|
|
||||||
|
|
||||||
NPCHAR *npc = gBoss;
|
NPCHAR *npc = gBoss;
|
||||||
|
|
||||||
|
static unsigned char flash;
|
||||||
BOOL bShock = FALSE;
|
BOOL bShock = FALSE;
|
||||||
|
int x, y;
|
||||||
|
int i;
|
||||||
|
|
||||||
|
static int life;
|
||||||
|
|
||||||
switch (npc->act_no)
|
switch (npc->act_no)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue