comparison libmlk-adventure/adventure/action/chest.c @ 281:87b8c7510717

rpg: implement load/save for characters
author David Demelier <markand@malikania.fr>
date Sun, 20 Dec 2020 10:55:53 +0100
parents a49ae1b6ea4f
children 196264679079
comparison
equal deleted inserted replaced
280:11c824a82e63 281:87b8c7510717
22 22
23 #include <core/animation.h> 23 #include <core/animation.h>
24 #include <core/event.h> 24 #include <core/event.h>
25 #include <core/maths.h> 25 #include <core/maths.h>
26 #include <core/panic.h> 26 #include <core/panic.h>
27 #include <core/save.h>
28 #include <core/sound.h> 27 #include <core/sound.h>
29 #include <core/sprite.h> 28 #include <core/sprite.h>
30 29
31 #include <rpg/map.h> 30 #include <rpg/map.h>
31 #include <rpg/save.h>
32 32
33 #include "chest.h" 33 #include "chest.h"
34 34
35 #define X(c) ((c)->x - ((c)->map)->view_x) 35 #define X(c) ((c)->x - ((c)->map)->view_x)
36 #define Y(c) ((c)->y - ((c)->map)->view_y) 36 #define Y(c) ((c)->y - ((c)->map)->view_y)