Interpolate spikeleveltop and spikelevelbottom

This doesn't have much effect, except for when the spikes quickly move,
because the spikes only usually move at 1 pixel per frame anyway.
This commit is contained in:
Misa
2020-04-30 12:58:08 -07:00
committed by Ethan Lee
parent 5ff4a09acc
commit 2e17e872e4
4 changed files with 11 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ mapclass::mapclass()
colsuperstate = 0;
spikeleveltop = 0;
spikelevelbottom = 0;
oldspikeleveltop = 0;
oldspikelevelbottom = 0;
warpx = false;
warpy = false;
extrarow = 0;
@@ -1152,6 +1154,8 @@ void mapclass::loadlevel(int rx, int ry)
extrarow = 0;
spikeleveltop = 0;
spikelevelbottom = 0;
oldspikeleveltop = 0;
oldspikelevelbottom = 0;
//Custom stuff for warplines
obj.customwarpmode=false;