X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=lib%2Fspecial%2Fsprite_data.h;h=1d0e167eb230fda2d51a7c8fbb42838b89bed23f;hb=8e0bad9f82ccbc811a18edd7ce6c6f69c5bca082;hp=a33cba74a1e80bf6ee1327097854e90b4af4efa6;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/lib/special/sprite_data.h b/lib/special/sprite_data.h index a33cba74a..1d0e167eb 100644 --- a/lib/special/sprite_data.h +++ b/lib/special/sprite_data.h @@ -24,8 +24,8 @@ #include #include -#include "../utils/lispreader.h" -#include "../video/surface.h" +#include "lisp/lisp.h" +#include "video/surface.h" namespace SuperTux { @@ -35,7 +35,7 @@ namespace SuperTux public: /** cur has to be a pointer to data in the form of ((x-offset 5) (y-offset 10) ...) */ - SpriteData(lisp_object_t* cur); + SpriteData(const lisp::Lisp* cur); ~SpriteData(); const std::string& get_name() const @@ -72,7 +72,7 @@ namespace SuperTux typedef std::map Actions; Actions actions; - void parse_action(LispReader& lispreader); + void parse_action(const lisp::Lisp* lispreader); /** Get an action */ Action* get_action(std::string act);