Mercurial > might-and-magic-trilogy
comparison Indoor.cpp @ 10:5983336e1300
Слияние
author | Серик@ПончиК |
---|---|
date | Wed, 10 Oct 2012 22:30:37 +0600 |
parents | 540178ef9b18 |
children | 18f7a1b94448 |
comparison
equal
deleted
inserted
replaced
9:fd8c1724b4eb | 10:5983336e1300 |
---|---|
34 | 34 |
35 LevelDecoration pLevelDecorations[3000]; | 35 LevelDecoration pLevelDecorations[3000]; |
36 size_t uNumLevelDecorations; | 36 size_t uNumLevelDecorations; |
37 LevelDecoration *_5C3420_pDecoration; | 37 LevelDecoration *_5C3420_pDecoration; |
38 | 38 |
39 LEVEL_TYPE uCurrentlyLoadedLevelType; | 39 LEVEL_TYPE uCurrentlyLoadedLevelType = LEVEL_null; |
40 | 40 |
41 stru320 stru_F8AD28; // idb | 41 stru320 stru_F8AD28; // idb |
42 stru337 stru_F81018; | 42 stru337 stru_F81018; |
43 stru167_wrap array_5118E8; | 43 stru167_wrap array_5118E8; |
44 stru170_stru2 stru_F8A590; | 44 stru170_stru2 stru_F8A590; |
86 SLOWORD(pBLVRenderParams->vPartyPos.x), | 86 SLOWORD(pBLVRenderParams->vPartyPos.x), |
87 SLOWORD(pBLVRenderParams->vPartyPos.y), | 87 SLOWORD(pBLVRenderParams->vPartyPos.y), |
88 SLOWORD(pBLVRenderParams->vPartyPos.z), | 88 SLOWORD(pBLVRenderParams->vPartyPos.z), |
89 SLOWORD(pBLVRenderParams->uRadius), | 89 SLOWORD(pBLVRenderParams->uRadius), |
90 v5, | 90 v5, |
91 floorf(pParty->flt_TorchlightColorR), | 91 floorf(pParty->flt_TorchlightColorR + 0.5f), |
92 floorf(pParty->flt_TorchlightColorG), | 92 floorf(pParty->flt_TorchlightColorG + 0.5f), |
93 floorf(pParty->flt_TorchlightColorB), | 93 floorf(pParty->flt_TorchlightColorB + 0.5f), |
94 v1); | 94 v1); |
95 } | 95 } |
96 PrepareWallsRenderList_BLV(); | 96 PrepareWallsRenderList_BLV(); |
97 PrepareItemsRenderList_BLV(); | 97 PrepareItemsRenderList_BLV(); |
98 PrepareActorRenderList_BLV(); | 98 PrepareActorRenderList_BLV(); |
3262 pSoundList->_4A9A67(102, v5); | 3262 pSoundList->_4A9A67(102, v5); |
3263 pSoundList->_4A9A67(50, v5); | 3263 pSoundList->_4A9A67(50, v5); |
3264 pSoundList->_4A9A67(89, v5); | 3264 pSoundList->_4A9A67(89, v5); |
3265 return 0; | 3265 return 0; |
3266 } | 3266 } |
3267 // 6807E0: using guessed type int _6807E0_num_decorations_6807B8; | 3267 |
3268 // 6BE364: using guessed type int dword_6BE364_game_settings_1; | |
3269 | 3268 |
3270 //----- (0049AC17) -------------------------------------------------------- | 3269 //----- (0049AC17) -------------------------------------------------------- |
3271 int IndoorLocation::GetSector(int sX, int sY, int sZ) | 3270 int IndoorLocation::GetSector(int sX, int sY, int sZ) |
3272 { | 3271 { |
3273 int v4; // esi@1 | 3272 int v4; // esi@1 |