forked from hell-labs/keygendr32
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 {
|
||||
|
@ -382,4 +384,4 @@ EndMusic(BgmState state)
|
|||
HeapFree(GetProcessHeap(), 0, state);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
@ -305,4 +306,4 @@ void
|
|||
DeinitStarfieldControl(HINSTANCE hInst)
|
||||
{
|
||||
UnregisterClass(STARFIELD_CLASS, hInst);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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