Squeeze performance option, minor fixes

Fixes are already in miami
This commit is contained in:
eray orçunus 2020-08-03 04:00:12 +03:00
parent a786dd45a4
commit e14252914e
21 changed files with 181 additions and 12 deletions

View file

@ -152,9 +152,9 @@ void CMovingThings::Shutdown()
void CMovingThings::Update()
{
const int TIME_SPAN = 64; // frames to process all aMovingThings
int16 i;
#ifndef SQUEEZE_PERFORMANCE
const int TIME_SPAN = 64; // frames to process all aMovingThings
int block = CTimer::GetFrameCounter() % TIME_SPAN;
@ -167,6 +167,7 @@ void CMovingThings::Update()
if (aMovingThings[i].m_nHidden == 0)
aMovingThings[i].Update();
}
#endif
for (i = 0; i < ARRAY_SIZE(aScrollBars); ++i)
{