#define __custom(x)
#endif
-namespace Scripting {
+namespace scripting {
/**
* Display the value of the argument. This is useful for inspecting tables.
void display_text_file(const std::string& filename);
/**
- * Load and display a worldmap (on next screenswitch)
- */
-void load_worldmap(const std::string& filename);
-
-/**
- * Load and display a level (on next screenswitch)
- */
-void load_level(const std::string& filename);
-
-/**
* Suspend the script execution for the specified number of seconds
*/
void wait(HSQUIRRELVM vm, float seconds) __suspend;
void import(HSQUIRRELVM v, const std::string& filename);
/**
- * Save world state to savegame
- */
-void save_state();
-
-/**
- * Update worldmap from worldmap state (state.world variable)
- */
-void update_worldmap();
-
-/**
* enable/disable drawing of collision rectangles
*/
void debug_collrects(bool enable);
void debug_draw_solids_only(bool enable);
/**
+ * enable/disable drawing of editor images
+ */
+void debug_draw_editor_images(bool enable);
+
+/**
* enable/disable worldmap ghost mode
*/
void debug_worldmap_ghost(bool enable);
*/
void play_demo(const std::string& filename);
-} // namespace Scripting
+} // namespace scripting
#endif