comparison UI/UIHouses.cpp @ 2152:d44b7775fc06

Removed DirectDraw2 compatibility. 3D Sound enabled (change 3DSoundProvider registry entry to activate it). Moved all forward declarations to mm7_unsorted_subs.h (many cpp files do not need them anyweay).
author Nomad
date Thu, 09 Jan 2014 01:37:34 +0200
parents 7f403ebf619f
children d28d3c006077
comparison
equal deleted inserted replaced
2151:92511cd8fcdb 2152:d44b7775fc06
798 } 798 }
799 uOpenTime = p2DEvents[uHouseID - 1].uOpenTime; 799 uOpenTime = p2DEvents[uHouseID - 1].uOpenTime;
800 uCloseTime = p2DEvents[uHouseID - 1].uCloseTime; 800 uCloseTime = p2DEvents[uHouseID - 1].uCloseTime;
801 current_npc_text = 0; 801 current_npc_text = 0;
802 dword_F8B1E4 = 0; 802 dword_F8B1E4 = 0;
803 dword_F8B1F4 = 0;
804 memset(byte_F8B1F0.data(), 0, 4); 803 memset(byte_F8B1F0.data(), 0, 4);
805 memset(player_levels.data(), 0, 16); 804 memset(player_levels.data(), 0, 16);
806 pRenderer->ClearZBuffer(0, 479); 805 pRenderer->ClearZBuffer(0, 479);
807 806
808 if (((uCloseTime - 1 <= uOpenTime)&&((pParty->uCurrentHour <uOpenTime)&&(pParty->uCurrentHour >(uCloseTime - 1))))|| 807 if (((uCloseTime - 1 <= uOpenTime)&&((pParty->uCurrentHour <uOpenTime)&&(pParty->uCurrentHour >(uCloseTime - 1))))||