summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/space.h5
-rw-r--r--include/tux.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/include/space.h b/include/space.h
index 662e847..de31768 100644
--- a/include/space.h
+++ b/include/space.h
@@ -28,10 +28,11 @@ extern void* getObjectFromSpaceWithID(space_t *p, int id);
extern int isConflictWithObjectFromSpace(space_t *p, int x, int y, int w, int h);
extern int isConflictWithObjectFromSpaceBut(space_t *p, int x, int y, int w, int h, void *but);
extern void delObjectFromSpace(space_t *p, void *item);
-extern void delObjectFromSpaceWithMem(space_t *p, void *item, void *f);
+extern void delObjectFromSpaceWithObject(space_t *p, void *item, void *f);
extern void moveObjectInSpace(space_t *p, void *item, int move_x, int move_y);
extern void printSpace(space_t *p);
-extern void destroySpace(space_t *p, void *f);
+extern void destroySpace(space_t *p);
+extern void destroySpaceWithObject(space_t *p, void *f);
#endif
diff --git a/include/tux.h b/include/tux.h
index 2905ffe..f247f02 100644
--- a/include/tux.h
+++ b/include/tux.h
@@ -105,6 +105,8 @@ typedef struct tux_struct
bool_t isCanSwitchGun;
int frame;
+
+ void *client;
} tux_t;
extern bool_t isTuxInicialized();