9#include "DSCEngine/types/size.hpp"
11#include "DSCEngine/sprites/obj_size.hpp"
24 unsigned char crt_gfx_id = 0;
26 bool gfx_changed =
true;
32 bool anim_enabled =
false;
33 int anim_frameset = 0;
34 int anim_crt_frame = 0;
37 int crt_anim_ticks = 0;
39 bool auto_delete_frames =
true;
62 int get_crt_color_depth()
const;
66 int add_frameset(
int frame_id, ...);
68 void set_animation(
int frameset_id,
bool reset_current_frame =
false);
70 void set_animation_ticks(
int ticks);
72 inline static constexpr int FRAMESET_END = -1;
Definition: obj_frame.hpp:14
OAM Object graphics handler class
Definition: obj_visual.hpp:19
int add_frame(ObjFrame *frame)
adds a new frame to the visual
void * get_crt_gfx() const
gets the current graphics from VRAM
int set_crt_gfx(int gfx_index)
sets the id of the current (displayed) frame
Generic dynamic vector.
Definition: vector.hpp:23
Generic size of two coordinates.
Definition: size.hpp:10
Generic dynamic vector definition.