DREAMWEB: 'reconstruct' ported to C++

This commit is contained in:
Bertrand Augereau 2011-11-23 10:23:18 +01:00
parent 8a2500cd64
commit c50384bbf5
5 changed files with 15 additions and 22 deletions

View file

@ -1020,5 +1020,17 @@ void DreamGenContext::reelsonscreen() {
usetimedtext();
}
void DreamGenContext::reconstruct() {
if (data.byte(kHavedoneobs) == 0)
return;
data.byte(kNewobs) = 1;
drawfloor();
spriteupdate();
printsprites();
if ((data.byte(kForeignrelease) != 0) && (data.byte(kReallocation) == 20))
undertextline();
data.byte(kHavedoneobs) = 0;
}
} /*namespace dreamgen */