mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 14:29:20 +03: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:
1 parent
d05fbe8687
commit
733d0dad80
2 files changed
+10
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user