New editor tabs.

This commit is contained in:
Justin Marshall
2026-05-14 18:37:41 -07:00
parent 16bd1baf35
commit 44f2e67078
18 changed files with 2775 additions and 62 deletions
+1 -1
View File
@@ -512,7 +512,7 @@ void IN_InitDirectInput( void ) {
// Register with the DirectInput subsystem and get a pointer
// to a IDirectInput interface we can use.
// Create the base DirectInput object
if ( FAILED( hr = DirectInput8Create( GetModuleHandle(NULL), DIRECTINPUT_VERSION, IID_IDirectInput8, (void**)&win32.g_pdi, NULL ) ) ) {
if ( FAILED( hr = IceDirectInput8Create( GetModuleHandle(NULL), DIRECTINPUT_VERSION, IID_IDirectInput8, (void**)&win32.g_pdi, NULL ) ) ) {
common->Printf ("DirectInputCreate failed\n");
}
}
+6
View File
@@ -276,6 +276,10 @@ main window procedure
LONG WINAPI MainWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) {
int key;
switch( uMsg ) {
case WM_INPUT:
IceDirectInputShim_HandleRawInput(lParam);
return 0;
case WM_WINDOWPOSCHANGED:
if (glConfig.isInitialized) {
RECT rect;
@@ -334,6 +338,8 @@ LONG WINAPI MainWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) {
if ( fActive == WA_INACTIVE ) {
win32.movingWindow = false;
Sys_GrabMouseCursor(false);
idKeyInput::ClearStates();
}
// start playing the game sound world