Mercurial > mm7
comparison Engine/Graphics/Outdoor.cpp @ 2508:491f0babd563
use_music_folder
author | Ritor1 |
---|---|
date | Thu, 02 Oct 2014 11:52:31 +0600 |
parents | a77c34acdbc9 |
children | 1bcadc6dd203 |
comparison
equal
deleted
inserted
replaced
2507:6dcc6e8dd041 | 2508:491f0babd563 |
---|---|
137 }*/ | 137 }*/ |
138 pGame->PushStationaryLights(-1); | 138 pGame->PushStationaryLights(-1); |
139 pGame->PrepareBloodsplats(); | 139 pGame->PrepareBloodsplats(); |
140 if (bRedraw) | 140 if (bRedraw) |
141 pOutdoor->UpdateDiscoveredArea(WorldPosToGridCellX(pParty->vPosition.x), WorldPosToGridCellZ(pParty->vPosition.y), 1); | 141 pOutdoor->UpdateDiscoveredArea(WorldPosToGridCellX(pParty->vPosition.x), WorldPosToGridCellZ(pParty->vPosition.y), 1); |
142 pGame->uFlags2 &= 0xFFFFFFFEu; | 142 pGame->uFlags2 &= 0xFFFFFFFEu;//~0x00000001 |
143 if (/*pRenderer->pRenderD3D*/true && pRenderer->bUsingSpecular) | 143 if (/*pRenderer->pRenderD3D*/true && pRenderer->bUsingSpecular) |
144 pGame->pLightmapBuilder->uFlags |= 1; | 144 pGame->pLightmapBuilder->uFlags |= 1; |
145 else | 145 else |
146 pGame->pLightmapBuilder->uFlags &= 0xFFFFFFFEu; | 146 pGame->pLightmapBuilder->uFlags &= 0xFFFFFFFEu;//~0x00000001 |
147 | 147 |
148 uNumDecorationsDrawnThisFrame = 0; | 148 uNumDecorationsDrawnThisFrame = 0; |
149 uNumSpritesDrawnThisFrame = 0; | 149 uNumSpritesDrawnThisFrame = 0; |
150 uNumBillboardsToDraw = 0; | 150 uNumBillboardsToDraw = 0; |
151 | 151 |
3216 pParty->uFlags &= ~PARTY_FLAGS_1_STANDING_ON_WATER; | 3216 pParty->uFlags &= ~PARTY_FLAGS_1_STANDING_ON_WATER; |
3217 if (pParty->WaterWalkActive())//Проверка хождения по воде | 3217 if (pParty->WaterWalkActive())//Проверка хождения по воде |
3218 { | 3218 { |
3219 //LOBYTE(pParty->uFlags) &= 0x7Fu; | 3219 //LOBYTE(pParty->uFlags) &= 0x7Fu; |
3220 bWaterWalk = true; | 3220 bWaterWalk = true; |
3221 *(short *)&stru_5E4C90_MapPersistVars._decor_events[20 * pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uOverlayID + 119] |= 1u; | 3221 *(short *)&stru_5E4C90_MapPersistVars._decor_events[20 * pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uOverlayID + 119] |= 1; |
3222 if (!(pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uFlags & 1) && | 3222 if (!(pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uFlags & 1) && |
3223 pParty->pPlayers[pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uCaster - 1].sMana <= 0 ) | 3223 pParty->pPlayers[pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uCaster - 1].sMana <= 0 ) |
3224 bWaterWalk = false; | 3224 bWaterWalk = false; |
3225 } | 3225 } |
3226 | 3226 |