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 authored and Ethan Lee committed 2021-03-21 02:55:42 -04:00
1 parent d5d9d9ba96
commit 63a60b11cc
4 files changed
+13 -5

No files matched your search

+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;