Added JointExists() and SpriteExists()

This commit is contained in:
n00b
2024-12-22 18:16:13 -05:00
parent a2c9d4952c
commit f2af1d4045
16 changed files with 1135 additions and 1072 deletions

View File

@@ -304,6 +304,13 @@ void sortSpriteZ(int canvas_id)
}
}
bool rc_spriteExists(int spr_id)
{
if(spr_id < 0 || spr_id >= rc_sprite.size())
return false;
return rc_sprite[spr_id].active;
}
int rc_createSprite(int img_id, double w, double h)
{