diff --git a/lroom.cpp b/lroom.cpp index b021a30..cd20d66 100644 --- a/lroom.cpp +++ b/lroom.cpp @@ -191,19 +191,19 @@ void LRoom::FinalizeVisibility(LRoomManager &manager) { //print_line("FinalizeVisibility room " + get_name() + " NumSOBs " + itos(m_SOBs.size()) + ", NumDOBs " + itos(m_DOBs.size())); - int last_sob = m_iFirstSOB + m_iNumSOBs; - for (int n=m_iFirstSOB; n * pTemp = m_pCurr_VisibleRoomList; m_pCurr_VisibleRoomList = m_pPrev_VisibleRoomList; @@ -754,6 +756,28 @@ void LRoomManager::FrameUpdate_AddShadowCasters() } +void LRoomManager::FrameUpdate_FinalizeVisibility_SoftShow() +{ + // apply the appropriate soft show for each sob in the render list + int nSOBs = m_RenderList_SOBs.size(); + + for (int n=0; n