mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-05 02:39:41 +01:00
Add entclass::ishumanoid()
"Humanoid" is just a word for "crewmate or player" but without having to say "crewmate or player". This is just to make it so humanoids get drawn after all other entities get drawn, meaning humanoids will be drawn on top.
This commit is contained in:
parent
d05fbe8687
commit
733d0dad80
2 changed files with 10 additions and 0 deletions
|
@ -644,3 +644,11 @@ void entclass::updatecolour()
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
bool entclass::ishumanoid()
|
||||
{
|
||||
return type == 0
|
||||
|| type == 12
|
||||
|| type == 14
|
||||
|| type == 55;
|
||||
}
|
||||
|
|
|
@ -20,6 +20,8 @@ public:
|
|||
|
||||
void updatecolour();
|
||||
|
||||
bool ishumanoid();
|
||||
|
||||
public:
|
||||
//Fundamentals
|
||||
bool invis;
|
||||
|
|
Loading…
Reference in a new issue