More-accurate BossX.cpp variable-arrangement
This commit is contained in:
parent
c1abe80682
commit
1ea4031de8
1 changed files with 5 additions and 9 deletions
|
@ -212,8 +212,6 @@ static void ActBossChar03_01(NPCHAR *npc)
|
||||||
|
|
||||||
static void ActBossChar03_02(NPCHAR *npc)
|
static void ActBossChar03_02(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
int direct;
|
|
||||||
|
|
||||||
RECT rect[4] = {
|
RECT rect[4] = {
|
||||||
{0, 128, 72, 160},
|
{0, 128, 72, 160},
|
||||||
{72, 128, 144, 160},
|
{72, 128, 144, 160},
|
||||||
|
@ -221,8 +219,8 @@ static void ActBossChar03_02(NPCHAR *npc)
|
||||||
{72, 160, 144, 192},
|
{72, 160, 144, 192},
|
||||||
};
|
};
|
||||||
|
|
||||||
int x;
|
int direct;
|
||||||
int y;
|
int x, y;
|
||||||
|
|
||||||
switch (npc->act_no)
|
switch (npc->act_no)
|
||||||
{
|
{
|
||||||
|
@ -360,9 +358,8 @@ static void ActBossChar03_03(NPCHAR *npc)
|
||||||
|
|
||||||
static void ActBossChar03_04(NPCHAR *npc)
|
static void ActBossChar03_04(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
|
int xm, ym;
|
||||||
unsigned char deg;
|
unsigned char deg;
|
||||||
int ym;
|
|
||||||
int xm;
|
|
||||||
|
|
||||||
RECT rect[8] = {
|
RECT rect[8] = {
|
||||||
{0, 192, 16, 208},
|
{0, 192, 16, 208},
|
||||||
|
@ -436,14 +433,14 @@ static void ActBossChar03_04(NPCHAR *npc)
|
||||||
|
|
||||||
static void ActBossChar03_face(NPCHAR *npc)
|
static void ActBossChar03_face(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
static unsigned char flash;
|
|
||||||
|
|
||||||
RECT rect[3] = {
|
RECT rect[3] = {
|
||||||
{216, 0, 320, 48},
|
{216, 0, 320, 48},
|
||||||
{216, 48, 320, 96},
|
{216, 48, 320, 96},
|
||||||
{216, 144, 320, 192},
|
{216, 144, 320, 192},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static unsigned char flash;
|
||||||
|
|
||||||
switch (npc->act_no)
|
switch (npc->act_no)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
@ -484,7 +481,6 @@ static void ActBossChar03_face(NPCHAR *npc)
|
||||||
void ActBossChar_MonstX(void)
|
void ActBossChar_MonstX(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
NPCHAR *npc = gBoss;
|
NPCHAR *npc = gBoss;
|
||||||
|
|
||||||
switch (npc->act_no)
|
switch (npc->act_no)
|
||||||
|
|
Loading…
Add table
Reference in a new issue