More static function stuff
This time I'm using the Linux debug data
This commit is contained in:
parent
95b29bb516
commit
496a50c272
2 changed files with 6 additions and 6 deletions
|
@ -13,7 +13,7 @@
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
|
|
||||||
static void ActBossChar_Core_Face(NPCHAR *npc)
|
void ActBossChar_Core_Face(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
RECT rect[4] = {
|
RECT rect[4] = {
|
||||||
{0, 0, 72, 112},
|
{0, 0, 72, 112},
|
||||||
|
@ -64,7 +64,7 @@ static void ActBossChar_Core_Face(NPCHAR *npc)
|
||||||
npc->rect.bottom = npc->rect.top + npc->act_wait;
|
npc->rect.bottom = npc->rect.top + npc->act_wait;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ActBossChar_Core_Tail(NPCHAR *npc)
|
void ActBossChar_Core_Tail(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
RECT rect[3] = {
|
RECT rect[3] = {
|
||||||
{72, 0, 160, 112},
|
{72, 0, 160, 112},
|
||||||
|
@ -114,7 +114,7 @@ static void ActBossChar_Core_Tail(NPCHAR *npc)
|
||||||
npc->rect.bottom = npc->rect.top + npc->act_wait;
|
npc->rect.bottom = npc->rect.top + npc->act_wait;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ActBossChar_Core_Mini(NPCHAR *npc)
|
void ActBossChar_Core_Mini(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
RECT rect[3] = {
|
RECT rect[3] = {
|
||||||
{256, 0, 320, 40},
|
{256, 0, 320, 40},
|
||||||
|
@ -228,7 +228,7 @@ static void ActBossChar_Core_Mini(NPCHAR *npc)
|
||||||
npc->rect = rect[npc->ani_no];
|
npc->rect = rect[npc->ani_no];
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ActBossChar_Core_Hit(NPCHAR *npc)
|
void ActBossChar_Core_Hit(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
switch (npc->count1)
|
switch (npc->count1)
|
||||||
{
|
{
|
||||||
|
|
|
@ -299,7 +299,7 @@ void ActionCredit(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parse credits
|
// Parse credits
|
||||||
void ActionCredit_Read(void)
|
static void ActionCredit_Read(void)
|
||||||
{
|
{
|
||||||
int a, b, len;
|
int a, b, len;
|
||||||
char text[40];
|
char text[40];
|
||||||
|
@ -449,7 +449,7 @@ void ActionCredit_Read(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get number from text (4 digit)
|
// Get number from text (4 digit)
|
||||||
int GetScriptNumber(const char *text)
|
static int GetScriptNumber(const char *text)
|
||||||
{
|
{
|
||||||
return (text[0] - '0') * 1000 +
|
return (text[0] - '0') * 1000 +
|
||||||
(text[1] - '0') * 100 +
|
(text[1] - '0') * 100 +
|
||||||
|
|
Loading…
Add table
Reference in a new issue