More static function stuff

This time I'm using the Linux debug data
This commit is contained in:
Clownacy 2020-05-03 20:52:48 +01:00
parent 95b29bb516
commit 496a50c272
2 changed files with 6 additions and 6 deletions

View file

@ -13,7 +13,7 @@
#include "Sound.h"
#include "Triangle.h"
static void ActBossChar_Core_Face(NPCHAR *npc)
void ActBossChar_Core_Face(NPCHAR *npc)
{
RECT rect[4] = {
{0, 0, 72, 112},
@ -64,7 +64,7 @@ static void ActBossChar_Core_Face(NPCHAR *npc)
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] = {
{72, 0, 160, 112},
@ -114,7 +114,7 @@ static void ActBossChar_Core_Tail(NPCHAR *npc)
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] = {
{256, 0, 320, 40},
@ -228,7 +228,7 @@ static void ActBossChar_Core_Mini(NPCHAR *npc)
npc->rect = rect[npc->ani_no];
}
static void ActBossChar_Core_Hit(NPCHAR *npc)
void ActBossChar_Core_Hit(NPCHAR *npc)
{
switch (npc->count1)
{

View file

@ -299,7 +299,7 @@ void ActionCredit(void)
}
// Parse credits
void ActionCredit_Read(void)
static void ActionCredit_Read(void)
{
int a, b, len;
char text[40];
@ -449,7 +449,7 @@ void ActionCredit_Read(void)
}
// Get number from text (4 digit)
int GetScriptNumber(const char *text)
static int GetScriptNumber(const char *text)
{
return (text[0] - '0') * 1000 +
(text[1] - '0') * 100 +