Added Bone Info Functions

* Added functions to get info on bones
* Fixed ColorKey() flipping images if color is not -1
This commit is contained in:
n00b87
2026-01-27 23:56:30 -06:00
parent a2c4eba1e2
commit 61e55f72f6
9 changed files with 514 additions and 291 deletions

View File

@@ -1539,4 +1539,16 @@ void rc_renderPostEffect(int canvas_id)
}
int rc_getPostEffectType(int canvas_id)
{
if(canvas_id <= 0 || canvas_id >= rc_canvas.size())
return -1;
if(!rc_canvas[canvas_id].post_effect.is_active)
return -1;
return rc_canvas[canvas_id].post_effect.type; //type will be -1 if effect has been removed
}
#endif // RC_POST_FX_H_INCLUDED