mirror of
https://github.com/halpz/re3.git
synced 2025-07-05 20:28:48 +00:00
Fix/change some Windows define
This commit is contained in:
@ -313,34 +313,6 @@ psNativeTextureSupport(void)
|
||||
return RwD3D8DeviceSupportsDXTTexture();
|
||||
}
|
||||
|
||||
/*
|
||||
*****************************************************************************
|
||||
*/
|
||||
static BOOL
|
||||
InitApplication(HANDLE instance)
|
||||
{
|
||||
/*
|
||||
* Perform any necessary MS Windows application initialization. Basically,
|
||||
* this means registering the window class for this application.
|
||||
*/
|
||||
|
||||
WNDCLASS windowClass;
|
||||
|
||||
windowClass.style = CS_BYTEALIGNWINDOW;
|
||||
windowClass.lpfnWndProc = (WNDPROC) MainWndProc;
|
||||
windowClass.cbClsExtra = 0;
|
||||
windowClass.cbWndExtra = 0;
|
||||
windowClass.hInstance = (HINSTANCE)instance;
|
||||
windowClass.hIcon = nil;
|
||||
windowClass.hCursor = LoadCursor(nil, IDC_ARROW);
|
||||
windowClass.hbrBackground = nil;
|
||||
windowClass.lpszMenuName = NULL;
|
||||
windowClass.lpszClassName = AppClassName;
|
||||
|
||||
return RegisterClass(&windowClass);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
*****************************************************************************
|
||||
*/
|
||||
@ -1305,6 +1277,33 @@ MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
return DefWindowProc(window, message, wParam, lParam);
|
||||
}
|
||||
|
||||
/*
|
||||
*****************************************************************************
|
||||
*/
|
||||
static BOOL
|
||||
InitApplication(HANDLE instance)
|
||||
{
|
||||
/*
|
||||
* Perform any necessary MS Windows application initialization. Basically,
|
||||
* this means registering the window class for this application.
|
||||
*/
|
||||
|
||||
WNDCLASS windowClass;
|
||||
|
||||
windowClass.style = CS_BYTEALIGNWINDOW;
|
||||
windowClass.lpfnWndProc = (WNDPROC)MainWndProc;
|
||||
windowClass.cbClsExtra = 0;
|
||||
windowClass.cbWndExtra = 0;
|
||||
windowClass.hInstance = (HINSTANCE)instance;
|
||||
windowClass.hIcon = nil;
|
||||
windowClass.hCursor = LoadCursor(nil, IDC_ARROW);
|
||||
windowClass.hbrBackground = nil;
|
||||
windowClass.lpszMenuName = NULL;
|
||||
windowClass.lpszClassName = AppClassName;
|
||||
|
||||
return RegisterClass(&windowClass);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
*****************************************************************************
|
||||
|
@ -68,9 +68,6 @@ extern "C"
|
||||
{
|
||||
#endif /* __cplusplus */
|
||||
|
||||
extern LRESULT CALLBACK
|
||||
MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
#ifdef __DINPUT_INCLUDED__
|
||||
HRESULT _InputInitialise();
|
||||
HRESULT CapturePad(RwInt32 padID);
|
||||
|
Reference in New Issue
Block a user