- ordenacio correcta

- tiles de 32 pixels
This commit is contained in:
2023-03-01 20:09:46 +01:00
parent 7a2bf7fa43
commit 53212f4bfa
4 changed files with 24 additions and 26 deletions

View File

@@ -3,23 +3,18 @@
namespace actor
{
struct pos_t
struct vec3_t
{
int x, y, z;
};
struct size_t
{
int w, h, d;
};
struct actor_t
{
SDL_Rect bmp_rect;
SDL_Point bmp_offset;
pos_t pos;
size_t size;
vec3_t pos;
vec3_t size;
actor_t *prev;
actor_t *next;
@@ -27,7 +22,7 @@ namespace actor
actor_t *getFirst();
actor_t *create(pos_t p, size_t s, SDL_Rect r, SDL_Point o);
actor_t *create(vec3_t p, vec3_t s, SDL_Rect r, SDL_Point o);
void setDirty(actor_t *act);