19 lines
379 B
C
19 lines
379 B
C
#ifndef SCENE_H
|
|
#define SCENE_H
|
|
|
|
#include "maths.h"
|
|
|
|
typedef void (*scene_anim_cb_t)(vec2_t *verts);
|
|
|
|
void scene_clear();
|
|
void scene_update();
|
|
void scene_draw();
|
|
|
|
unsigned scene_add(
|
|
unsigned entity, const vec2_t *verts, unsigned vert_count, bool connect);
|
|
void scene_hide(unsigned id);
|
|
void scene_show(unsigned id);
|
|
void scene_animate(unsigned id, scene_anim_cb_t cb);
|
|
|
|
#endif
|