Mark some functions as static
Mac debug data confirms these
This commit is contained in:
parent
486cf37161
commit
95b29bb516
4 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
|
|
||||||
void Vanish(BULLET *bul)
|
static void Vanish(BULLET *bul)
|
||||||
{
|
{
|
||||||
if (bul->code_bullet != 37 && bul->code_bullet != 38 && bul->code_bullet != 39)
|
if (bul->code_bullet != 37 && bul->code_bullet != 38 && bul->code_bullet != 39)
|
||||||
PlaySoundObject(28, 1);
|
PlaySoundObject(28, 1);
|
||||||
|
|
|
@ -107,7 +107,7 @@ void PutNumber4(int x, int y, int value, BOOL bZero)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int ModeOpening(HWND hWnd)
|
static int ModeOpening(HWND hWnd)
|
||||||
{
|
{
|
||||||
int frame_x;
|
int frame_x;
|
||||||
int frame_y;
|
int frame_y;
|
||||||
|
@ -223,7 +223,7 @@ int ModeOpening(HWND hWnd)
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ModeTitle(HWND hWnd)
|
static int ModeTitle(HWND hWnd)
|
||||||
{
|
{
|
||||||
// Set rects
|
// Set rects
|
||||||
RECT rcTitle = {0, 0, 144, 40};
|
RECT rcTitle = {0, 0, 144, 40};
|
||||||
|
@ -470,7 +470,7 @@ int ModeTitle(HWND hWnd)
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ModeAction(HWND hWnd)
|
static int ModeAction(HWND hWnd)
|
||||||
{
|
{
|
||||||
int frame_x;
|
int frame_x;
|
||||||
int frame_y;
|
int frame_y;
|
||||||
|
|
|
@ -70,7 +70,7 @@ void PutFramePerSecound(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long CountFramePerSecound(void)
|
static unsigned long CountFramePerSecound(void)
|
||||||
{
|
{
|
||||||
unsigned long current_tick; // The original name for this variable is unknown
|
unsigned long current_tick; // The original name for this variable is unknown
|
||||||
static BOOL first = TRUE;
|
static BOOL first = TRUE;
|
||||||
|
|
|
@ -19,7 +19,7 @@ void ResetMyCharFlag(void)
|
||||||
gMC.flag = 0;
|
gMC.flag = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PutlittleStar(void)
|
static void PutlittleStar(void)
|
||||||
{
|
{
|
||||||
if (!(gMC.cond & 2) && gMC.ym < -0x200)
|
if (!(gMC.cond & 2) && gMC.ym < -0x200)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue