mirror of
https://git.planet-casio.com/Fcalva/Copy3DEngine.git
synced 2024-12-29 13:03:44 +01:00
25 lines
511 B
C
25 lines
511 B
C
// Voir README.md pour license précise, par Fcalva 2023-2024 et est sous GPLv3
|
|
|
|
#ifndef sprites__h
|
|
#define sprites__h
|
|
|
|
#include "utils.h"
|
|
#include "fixed.h"
|
|
#include "game.h"
|
|
|
|
#include <gint/display.h>
|
|
|
|
typedef struct {
|
|
V2d pos;
|
|
int tex;
|
|
} Sprite;
|
|
|
|
//Adds the sprite reference to the internal sprite index
|
|
// /!\ This sprite reference may be used at every call of draw_sprites
|
|
void add_sprite(Sprite *sprite);
|
|
|
|
void clear_sprites();
|
|
|
|
void draw_sprites(bopti_image_t *tex_index[], RcActor *player);
|
|
|
|
#endif
|