mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-22 22:45:39 +00:00
Cleanup, add scanline mask builder
This commit is contained in:
@@ -126,9 +126,6 @@ void FindNewActiveRoomRect (void)
|
||||
|
||||
activeRoomVisible = false;
|
||||
|
||||
wasState = HGetState((Handle)thisHouse);
|
||||
HLock((Handle)thisHouse);
|
||||
|
||||
for (i = 0; i < mapRoomsHigh; i++)
|
||||
{
|
||||
for (h = 0; h < mapRoomsWide; h++)
|
||||
@@ -150,8 +147,6 @@ void FindNewActiveRoomRect (void)
|
||||
}
|
||||
}
|
||||
|
||||
HSetState((Handle)thisHouse, wasState);
|
||||
|
||||
if (activeRoomVisible)
|
||||
{
|
||||
activeRoomRect.right++;
|
||||
@@ -211,9 +206,6 @@ void RedrawMapContents (void)
|
||||
ClipRect(&newClip);
|
||||
}
|
||||
|
||||
wasState = HGetState((Handle)thisHouse);
|
||||
HLock((Handle)thisHouse);
|
||||
|
||||
for (i = 0; i < mapRoomsHigh; i++)
|
||||
{
|
||||
for (h = 0; h < mapRoomsWide; h++)
|
||||
@@ -266,8 +258,6 @@ void RedrawMapContents (void)
|
||||
}
|
||||
}
|
||||
|
||||
HSetState((Handle)thisHouse, wasState);
|
||||
|
||||
ForeColor(blackColor);
|
||||
PenNormal();
|
||||
|
||||
|
Reference in New Issue
Block a user