Mercurial > mm7
comparison mm7_2.cpp @ 733:700b58aac975
MonsterPopup preview doll fixed
author | Nomad |
---|---|
date | Fri, 22 Mar 2013 13:24:12 +0200 |
parents | de482c901171 |
children | 2f4e33c1ed24 |
comparison
equal
deleted
inserted
replaced
732:93287fb98441 | 733:700b58aac975 |
---|---|
9728 byte_6BE388_graphicsmode = ReadWindowsRegistryInt("graphicsmode", 1); | 9728 byte_6BE388_graphicsmode = ReadWindowsRegistryInt("graphicsmode", 1); |
9729 if (byte_6BE388_graphicsmode < 0 || byte_6BE388_graphicsmode > 2) | 9729 if (byte_6BE388_graphicsmode < 0 || byte_6BE388_graphicsmode > 2) |
9730 byte_6BE388_graphicsmode = 0; | 9730 byte_6BE388_graphicsmode = 0; |
9731 | 9731 |
9732 uGammaPos = ReadWindowsRegistryInt("GammaPos", 4); | 9732 uGammaPos = ReadWindowsRegistryInt("GammaPos", 4); |
9733 if (uGammaPos < 0 || uGammaPos > 9) | 9733 if (uGammaPos > 9) |
9734 uGammaPos = 4; | 9734 uGammaPos = 4; |
9735 pGame->pGammaController->Initialize(uGammaPos * 0.1 + 0.6); | 9735 pGame->pGammaController->Initialize(uGammaPos * 0.1 + 0.6); |
9736 | 9736 |
9737 if ( ReadWindowsRegistryInt("Bloodsplats", 1) ) | 9737 if ( ReadWindowsRegistryInt("Bloodsplats", 1) ) |
9738 pGame->uFlags2 |= GAME_FLAGS_2_DRAW_BLOODSPLATS; | 9738 pGame->uFlags2 |= GAME_FLAGS_2_DRAW_BLOODSPLATS; |
9739 else | 9739 else |
9740 pGame->uFlags2 &= GAME_FLAGS_2_DRAW_BLOODSPLATS; | 9740 pGame->uFlags2 &= ~GAME_FLAGS_2_DRAW_BLOODSPLATS; |
9741 | 9741 |
9742 uTurnSpeed = ReadWindowsRegistryInt("TurnDelta", 0); | 9742 uTurnSpeed = ReadWindowsRegistryInt("TurnDelta", 0); |
9743 dword_6BE384_2dacceloff = ReadWindowsRegistryInt("2dacceloff", 0); | 9743 dword_6BE384_2dacceloff = ReadWindowsRegistryInt("2dacceloff", 0); |
9744 | 9744 |
9745 if (!bNoSound) | 9745 if (!bNoSound) |