- ordenacio correcta
- tiles de 32 pixels
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user