Cleaned up code/removed unused procedure
This commit is contained in:
@@ -191,7 +191,7 @@ extern int CurKeyReadPos;
|
|||||||
extern int KeyBuffer[16];
|
extern int KeyBuffer[16];
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void CheckPriority ( void )
|
extern "C" void CheckPriority()
|
||||||
{
|
{
|
||||||
if (HighPriority == 1) SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
if (HighPriority == 1) SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
||||||
else SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS);
|
else SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS);
|
||||||
@@ -445,7 +445,7 @@ LRESULT CALLBACK Main_Proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
int RegisterWinClass ( void )
|
int RegisterWinClass(void)
|
||||||
{
|
{
|
||||||
WNDCLASS wcl;
|
WNDCLASS wcl;
|
||||||
|
|
||||||
@@ -455,7 +455,6 @@ int RegisterWinClass ( void )
|
|||||||
wcl.hIcon = LoadIcon(NULL,IDI_APPLICATION);
|
wcl.hIcon = LoadIcon(NULL,IDI_APPLICATION);
|
||||||
wcl.hCursor = NULL;
|
wcl.hCursor = NULL;
|
||||||
wcl.hInstance = hInst;
|
wcl.hInstance = hInst;
|
||||||
|
|
||||||
wcl.lpfnWndProc = (WNDPROC)Main_Proc;
|
wcl.lpfnWndProc = (WNDPROC)Main_Proc;
|
||||||
wcl.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
wcl.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
||||||
wcl.lpszMenuName = NULL;
|
wcl.lpszMenuName = NULL;
|
||||||
@@ -468,11 +467,6 @@ int RegisterWinClass ( void )
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ShutdownApplication()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
InitSound()
|
InitSound()
|
||||||
{
|
{
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
@@ -664,7 +658,6 @@ ReInitSound()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
BOOL FAR PASCAL InitJoystickInput(LPCDIDEVICEINSTANCE pdinst, LPVOID pvRef)
|
BOOL FAR PASCAL InitJoystickInput(LPCDIDEVICEINSTANCE pdinst, LPVOID pvRef)
|
||||||
{
|
{
|
||||||
LPDIRECTINPUT7 pdi = (LPDIRECTINPUT7)pvRef;
|
LPDIRECTINPUT7 pdi = (LPDIRECTINPUT7)pvRef;
|
||||||
@@ -818,7 +811,6 @@ BOOL FAR PASCAL InitJoystickInput(LPCDIDEVICEINSTANCE pdinst, LPVOID pvRef)
|
|||||||
return DIENUM_CONTINUE;
|
return DIENUM_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void endgame()
|
void endgame()
|
||||||
{
|
{
|
||||||
if(lpDirectSound)
|
if(lpDirectSound)
|
||||||
@@ -1168,8 +1160,6 @@ void UnlockSurface()
|
|||||||
DrawScreen();
|
DrawScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
void WinUpdateDevices();
|
void WinUpdateDevices();
|
||||||
@@ -2054,8 +2044,6 @@ void drawscreenwin(void)
|
|||||||
UnlockSurface();
|
UnlockSurface();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extern char fulladdtab[65536*2];
|
extern char fulladdtab[65536*2];
|
||||||
extern WORD vesa2_usbit;
|
extern WORD vesa2_usbit;
|
||||||
extern WORD vesa2_clbit;
|
extern WORD vesa2_clbit;
|
||||||
|
|||||||
Reference in New Issue
Block a user