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
e1828c2
..
638d77e
100644
(file)
--- a/
src/scripting/functions.hpp
+++ b/
src/scripting/functions.hpp
@@
-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);