Correct definition of extern variables
This commit is contained in:
parent
b73851c471
commit
a21ae4e276
4 changed files with 7 additions and 4 deletions
|
@ -5,6 +5,8 @@
|
|||
#include <xmp.h>
|
||||
#include "Debug.h"
|
||||
|
||||
char *MusicStartFailReason;
|
||||
|
||||
static DWORD WINAPI MusicThreadProc(LPVOID);
|
||||
|
||||
struct _BgmState {
|
||||
|
|
|
@ -17,4 +17,4 @@ void EndMusic(BgmState);
|
|||
// current state on success: 0 is playing, 1 is paused.
|
||||
int TogglePlayPause(BgmState state);
|
||||
|
||||
char *MusicStartFailReason;
|
||||
extern char *MusicStartFailReason;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
||||
UINT WMU_FRAMERATE;
|
||||
#define WMU_FRAMERATE_NAME _T("SetFramerate_{6CFC2304-CE89-40c4-881C-988D36FBB978}")
|
||||
#define DENSITY 3
|
||||
#define LAYERS 5
|
||||
|
|
|
@ -11,4 +11,4 @@ void DeinitStarfieldControl(HINSTANCE);
|
|||
|
||||
// Defined by InitStarFieldControl. Send this message to define the
|
||||
// rough framerate the control tries to render at.
|
||||
UINT WMU_FRAMERATE;
|
||||
extern UINT WMU_FRAMERATE;
|
||||
|
|
Loading…
Reference in a new issue