mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01:00
Remove unused attributes from entclass
These attributes were `jumping` and `jumpframe`. Removal of unused attributes makes reading the code easier.
This commit is contained in:
parent
cbceeccf78
commit
733cad723b
3 changed files with 0 additions and 5 deletions
|
@ -38,11 +38,9 @@ entclass::entclass()
|
|||
x2 = 320;
|
||||
y2 = 240;
|
||||
|
||||
jumping = false;
|
||||
gravity = false;
|
||||
onground = 0;
|
||||
onroof = 0;
|
||||
jumpframe = 0;
|
||||
|
||||
onentity = 0;
|
||||
harmful = false;
|
||||
|
|
|
@ -42,10 +42,8 @@ public:
|
|||
int onwall, onxwall, onywall;
|
||||
|
||||
//Platforming specific
|
||||
bool jumping;
|
||||
bool gravity;
|
||||
int onground, onroof;
|
||||
int jumpframe;
|
||||
//Animation
|
||||
int framedelay, drawframe, walkingframe, dir, actionframe;
|
||||
int yp;int xp;
|
||||
|
|
|
@ -4446,7 +4446,6 @@ void entityclass::entitymapcollision( int t )
|
|||
{
|
||||
if (entities[t].onwall > 0) entities[t].state = entities[t].onwall;
|
||||
if (entities[t].onywall > 0) entities[t].state = entities[t].onywall;
|
||||
entities[t].jumpframe = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue