Mercurial > mm7
comparison mm7_2.cpp @ 573:7c0763248a87
.
author | Nomad |
---|---|
date | Wed, 06 Mar 2013 06:41:05 +0200 |
parents | f451efdb7c8b |
children | f90753ebabe3 |
comparison
equal
deleted
inserted
replaced
569:f451efdb7c8b | 573:7c0763248a87 |
---|---|
11614 } | 11614 } |
11615 pWindow_MainMenu->Release(); | 11615 pWindow_MainMenu->Release(); |
11616 pIcons_LOD->_4114F2(); | 11616 pIcons_LOD->_4114F2(); |
11617 } | 11617 } |
11618 | 11618 |
11619 int __stdcall pWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam) | |
11620 { | |
11621 return DefWindowProcA(hWnd, Msg, wParam, lParam); | |
11622 } | |
11623 | 11619 |
11624 | 11620 |
11625 //----- (004637EB) -------------------------------------------------------- | 11621 //----- (004637EB) -------------------------------------------------------- |
11626 int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam) | 11622 int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam) |
11627 { | 11623 { |
13166 if (uGammaPos < 0 || uGammaPos > 9) | 13162 if (uGammaPos < 0 || uGammaPos > 9) |
13167 uGammaPos = 4; | 13163 uGammaPos = 4; |
13168 pGame->pGammaController->Initialize(uGammaPos * 0.1 + 0.6); | 13164 pGame->pGammaController->Initialize(uGammaPos * 0.1 + 0.6); |
13169 | 13165 |
13170 if ( ReadWindowsRegistryInt("Bloodsplats", 1) ) | 13166 if ( ReadWindowsRegistryInt("Bloodsplats", 1) ) |
13171 pGame->uFlags2 |= 0x20u; | 13167 pGame->uFlags2 |= GAME_FLAGS_2_DRAW_BLOODSPLATS; |
13172 else | 13168 else |
13173 pGame->uFlags2 &= 0xFFFFFFDFu; | 13169 pGame->uFlags2 &= ~GAME_FLAGS_2_DRAW_BLOODSPLATS; |
13174 | 13170 |
13175 uTurnSpeed = ReadWindowsRegistryInt("TurnDelta", 0); | 13171 uTurnSpeed = ReadWindowsRegistryInt("TurnDelta", 0); |
13176 dword_6BE384_2dacceloff = ReadWindowsRegistryInt("2dacceloff", 0); | 13172 dword_6BE384_2dacceloff = ReadWindowsRegistryInt("2dacceloff", 0); |
13177 | 13173 |
13178 if (!bNoSound) | 13174 if (!bNoSound) |