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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user