#include "supertux/sector.hpp"
#include "supertux/shrinkfade.hpp"
#include "supertux/textscroller.hpp"
+#include "supertux/tile.hpp"
#include "supertux/world.hpp"
#include "util/gettext.hpp"
#include "worldmap/tux.hpp"
g_screen_manager->push_screen(new GameSession(filename, GameSession::current()->get_player_status()));
}
-static SQInteger squirrel_read_char(SQUserPointer file)
-{
- std::istream* in = reinterpret_cast<std::istream*> (file);
- char c = in->get();
- if(in->eof())
- return 0;
-
- return c;
-}
-
void import(HSQUIRRELVM vm, const std::string& filename)
{
IFileStream in(filename);
Sector::draw_solids_only = enable;
}
+void debug_draw_editor_images(bool enable)
+{
+ Tile::draw_editor_images = enable;
+}
+
void debug_worldmap_ghost(bool enable)
{
using namespace worldmap;