Remove kludge_to_bg() and bg_to_kludge()

Now that tower, title, and horizontal/veritcal warp backgrounds all use
separate buffers, there's no longer any need to temporarily store
variables as a workaround for the buffers stepping on each other.
This commit is contained in:
Misa
2020-11-02 16:55:15 -08:00
committed by Ethan Lee
parent bda92ad0bd
commit a1957fa518
4 changed files with 0 additions and 25 deletions

View File

@@ -87,9 +87,6 @@ mapclass::mapclass()
cameraseek = 0;
minitowermode = false;
roomtexton = false;
kludge_bypos = 0;
kludge_colstate = 0;
kludge_scrolldir = 0;
}
//Areamap starts at 100,100 and extends 20x20
@@ -2109,17 +2106,3 @@ void mapclass::twoframedelayfix()
script.dontrunnextframe = true;
}
}
void mapclass::bg_to_kludge()
{
kludge_bypos = graphics.towerbg.bypos;
kludge_colstate = graphics.towerbg.colstate;
kludge_scrolldir = graphics.towerbg.scrolldir;
}
void mapclass::kludge_to_bg()
{
graphics.towerbg.bypos = kludge_bypos;
graphics.towerbg.colstate = kludge_colstate;
graphics.towerbg.scrolldir = kludge_scrolldir;
}