
This commit changes which variables are static: the Mac (and presumably the Linux) debug data tells you what variables are static, by prefixing their names with double_underscores. The variable names themselves also hint at this: global variables are prefixed with 'g', and use upper-camelcase, while static variables use whatever_you_call_this.
19 lines
304 B
C
19 lines
304 B
C
#pragma once
|
|
|
|
#include "WindowsWrapper.h"
|
|
|
|
typedef struct BOSSLIFE // Not the original struct name
|
|
{
|
|
BOOL flag;
|
|
int *pLife;
|
|
int max;
|
|
int br;
|
|
int count;
|
|
} BOSSLIFE;
|
|
|
|
extern BOSSLIFE gBL;
|
|
|
|
void InitBossLife(void);
|
|
BOOL StartBossLife(int code_event);
|
|
BOOL StartBossLife2(void);
|
|
void PutBossLife(void);
|