Split onground/onroof into visual and logical variables

I will need to separate these into two different variables because I
will need to move logical onground/onroof assignments to the start of
gamelogic() - if I kept them together, however, that would change the
visuals of onground/onroof, which I want to keep consistent with 2.2.
This commit is contained in:
Misa
2021-03-18 13:18:33 -07:00
committed by Ethan Lee
parent d5d9d9ba96
commit 63a60b11cc
4 changed files with 13 additions and 5 deletions
+1
View File
@@ -49,6 +49,7 @@ public:
int onground, onroof;
//Animation
int framedelay, drawframe, walkingframe, dir, actionframe;
int visualonground, visualonroof;
int yp;int xp;
Uint32 realcol;