#include <vector>
#include "control/controller.hpp"
-#include "lisp/lisp.hpp"
+#include "util/reader_fwd.hpp"
#include "math/vector.hpp"
#include "supertux/console.hpp"
#include "supertux/game_object.hpp"
class GameObject;
class TileMap;
-namespace WorldMapNS {
+namespace worldmap {
class Tux;
class LevelTile;
WEST_EAST_WAY
};
-std::string direction_to_string(Direction d);
-Direction string_to_direction(const std::string& d);
-Direction reverse_dir(Direction d);
-
/**
* Screen that runs a WorldMap, which lets the player choose a Level.
*/
static Color level_title_color;
static Color message_color;
static Color teleporter_message_color;
+
private:
+ typedef std::vector<SpecialTile*> SpecialTiles;
+ typedef std::vector<SpriteChange*> SpriteChanges;
+ typedef std::vector<SpawnPoint*> SpawnPoints;
+ typedef std::vector<LevelTile*> LevelTiles;
+ typedef std::vector<GameObject*> GameObjects;
+ typedef std::vector<HSQOBJECT> ScriptList;
+
Tux* tux;
TileSet *tileset;
std::string music;
std::string init_script;
- typedef std::vector<GameObject*> GameObjects;
GameObjects game_objects;
std::list<TileMap*> solid_tilemaps;
std::string map_filename;
std::string levels_path;
- typedef std::vector<SpecialTile*> SpecialTiles;
SpecialTiles special_tiles;
- typedef std::vector<LevelTile*> LevelTiles;
LevelTiles levels;
- typedef std::vector<SpriteChange*> SpriteChanges;
SpriteChanges sprite_changes;
- typedef std::vector<SpawnPoint*> SpawnPoints;
SpawnPoints spawn_points;
std::vector<Teleporter*> teleporters;
Statistics total_stats;
HSQOBJECT worldmap_table;
- typedef std::vector<HSQOBJECT> ScriptList;
ScriptList scripts;
Color ambient_light;
WorldMap& operator=(const WorldMap&);
};
-} // namespace WorldMapNS
+} // namespace worldmap
#endif