mirror of
https://github.com/halpz/re3.git
synced 2025-06-28 17:16:19 +00:00
Merge branch 'master' into miami
# Conflicts: # src/animation/RpAnimBlend.cpp # src/audio/oal/stream.cpp # src/audio/sampman.h # src/control/Pickups.cpp # src/core/Collision.cpp # src/core/Collision.h # src/core/FileLoader.cpp # src/core/FileMgr.cpp # src/core/FileMgr.h # src/core/Streaming.cpp # src/core/Streaming.h # src/core/SurfaceTable.h # src/modelinfo/VehicleModelInfo.h # src/peds/Ped.cpp # src/rw/RwHelper.cpp # src/rw/RwHelper.h # src/skel/glfw/glfw.cpp # src/skel/platform.h # src/text/Text.cpp # src/text/Text.h # src/vehicles/CarGen.cpp # src/vehicles/Heli.cpp
This commit is contained in:
@ -1371,6 +1371,11 @@ cursorEnterCB(GLFWwindow* window, int entered) {
|
||||
PSGLOBAL(cursorIsInWindow) = !!entered;
|
||||
}
|
||||
|
||||
void
|
||||
cursorEnterCB(GLFWwindow* window, int entered) {
|
||||
PSGLOBAL(cursorIsInWindow) = !!entered;
|
||||
}
|
||||
|
||||
/*
|
||||
*****************************************************************************
|
||||
*/
|
||||
|
@ -1305,6 +1305,34 @@ InitApplication(HANDLE instance)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
*****************************************************************************
|
||||
*/
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
*****************************************************************************
|
||||
*/
|
||||
|
Reference in New Issue
Block a user