projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed load/save functions from scripting interface
[supertux.git]
/
src
/
scripting
/
functions.hpp
diff --git
a/src/scripting/functions.hpp
b/src/scripting/functions.hpp
index
9c2b58f
..
638d77e
100644
(file)
--- a/
src/scripting/functions.hpp
+++ b/
src/scripting/functions.hpp
@@
-25,7
+25,7
@@
#define __custom(x)
#endif
#define __custom(x)
#endif
-namespace
S
cripting {
+namespace
s
cripting {
/**
* Display the value of the argument. This is useful for inspecting tables.
/**
* Display the value of the argument. This is useful for inspecting tables.
@@
-48,16
+48,6
@@
SQInteger get_current_thread(HSQUIRRELVM vm) __custom("t");
void display_text_file(const std::string& filename);
/**
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;
* Suspend the script execution for the specified number of seconds
*/
void wait(HSQUIRRELVM vm, float seconds) __suspend;
@@
-103,16
+93,6
@@
std::string translate(const std::string& text);
void import(HSQUIRRELVM v, const std::string& filename);
/**
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);
* enable/disable drawing of collision rectangles
*/
void debug_collrects(bool enable);
@@
-128,6
+108,11
@@
void debug_show_fps(bool enable);
void debug_draw_solids_only(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);
* enable/disable worldmap ghost mode
*/
void debug_worldmap_ghost(bool enable);
@@
-212,7
+197,7
@@
void record_demo(const std::string& filename);
*/
void play_demo(const std::string& filename);
*/
void play_demo(const std::string& filename);
-} // namespace
S
cripting
+} // namespace
s
cripting
#endif
#endif