Fixed MN_STRINGSELECT menu item a bit more and hooked up aspect ration
[supertux.git] / data / scripts / console.nut
index 5da3775..dc4e05d 100644 (file)
@@ -14,6 +14,25 @@ function finish()
        Level.finish(true);
 }
 
+function edit()
+{
+       Level.edit(true);
+}
+
+function play()
+{
+       Level.edit(false);
+}
+
+function worldmapfinish()
+{
+       save_state();
+       foreach(levelname, level in state.worlds[state.world].levels) {
+               level.solved = true;
+       }
+       update_worldmap();
+}
+
 function grow()
 {
        sector.Tux.add_bonus("grow");