X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux%2Fsector.cpp;h=62fb618f3cd6e28b05dc7089d64e23b882bad4ba;hb=78ac7aef674f518549f96160c6354b589553f952;hp=0ca660195cb1acf2cead3f7fec98d0d15edea1bd;hpb=d9ec4134c6d3a1c444199ba894bf5e9c084185f3;p=supertux.git diff --git a/src/supertux/sector.cpp b/src/supertux/sector.cpp index 0ca660195..62fb618f3 100644 --- a/src/supertux/sector.cpp +++ b/src/supertux/sector.cpp @@ -24,6 +24,8 @@ #include "lisp/list_iterator.hpp" #include "math/aatriangle.hpp" #include "object/background.hpp" +#include "object/bonus_block.hpp" +#include "object/brick.hpp" #include "object/bullet.hpp" #include "object/camera.hpp" #include "object/coin.hpp" @@ -41,12 +43,12 @@ #include "object/smoke_cloud.hpp" #include "object/text_object.hpp" #include "object/tilemap.hpp" -#include "physfs/physfs_stream.hpp" +#include "physfs/ifile_stream.hpp" #include "scripting/squirrel_util.hpp" #include "supertux/collision.hpp" #include "supertux/constants.hpp" #include "supertux/level.hpp" -#include "supertux/main.hpp" +#include "supertux/globals.hpp" #include "supertux/object_factory.hpp" #include "supertux/spawn_point.hpp" #include "supertux/tile.hpp" @@ -191,7 +193,7 @@ Sector::parse(const Reader& sector) } else if(token == "music") { iter.value()->get(music); } else if(token == "spawnpoint") { - SpawnPoint* sp = new SpawnPoint(iter.lisp()); + SpawnPoint* sp = new SpawnPoint(*iter.lisp()); spawnpoints.push_back(sp); } else if(token == "init-script") { iter.value()->get(init_script);