Mercurial > might-and-magic-trilogy
diff Indoor.cpp @ 10:5983336e1300
Слияние
author | Серик@ПончиК |
---|---|
date | Wed, 10 Oct 2012 22:30:37 +0600 |
parents | 540178ef9b18 |
children | 18f7a1b94448 |
line wrap: on
line diff
--- a/Indoor.cpp Wed Oct 10 22:30:20 2012 +0600 +++ b/Indoor.cpp Wed Oct 10 22:30:37 2012 +0600 @@ -36,7 +36,7 @@ size_t uNumLevelDecorations; LevelDecoration *_5C3420_pDecoration; -LEVEL_TYPE uCurrentlyLoadedLevelType; +LEVEL_TYPE uCurrentlyLoadedLevelType = LEVEL_null; stru320 stru_F8AD28; // idb stru337 stru_F81018; @@ -88,9 +88,9 @@ SLOWORD(pBLVRenderParams->vPartyPos.z), SLOWORD(pBLVRenderParams->uRadius), v5, - floorf(pParty->flt_TorchlightColorR), - floorf(pParty->flt_TorchlightColorG), - floorf(pParty->flt_TorchlightColorB), + floorf(pParty->flt_TorchlightColorR + 0.5f), + floorf(pParty->flt_TorchlightColorG + 0.5f), + floorf(pParty->flt_TorchlightColorB + 0.5f), v1); } PrepareWallsRenderList_BLV(); @@ -3264,8 +3264,7 @@ pSoundList->_4A9A67(89, v5); return 0; } -// 6807E0: using guessed type int _6807E0_num_decorations_6807B8; -// 6BE364: using guessed type int dword_6BE364_game_settings_1; + //----- (0049AC17) -------------------------------------------------------- int IndoorLocation::GetSector(int sX, int sY, int sZ)