This commit is contained in:
2022-08-26 16:38:35 +00:00
parent 02d4396010
commit c56e2841b6
9 changed files with 24 additions and 42 deletions

View File

@@ -31,6 +31,7 @@ struct mSprite {
};
struct mSprite *MakeSprite(struct mGameObject *go);
void sprite_delete(struct mSprite *sprite);
void sprite_init(struct mSprite *sprite, struct mGameObject *go);
void sprite_loadtex(struct mSprite *sprite, const char *path);
void sprite_loadanim(struct mSprite *sprite, const char *path, struct Anim2D anim);
@@ -42,11 +43,5 @@ void video_draw(struct datastream *ds, mfloat_t pos[2], mfloat_t size[2], float
void sprite_draw_all();
unsigned int incrementAnimFrame(unsigned int interval, struct mSprite *sprite);
struct mSprite *gui_makesprite();
void gui_init();
void sprite_draw_all();
#endif