X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Flevel.hpp;h=b7d91a248ba525fb0f0537328bd3b6088582a550;hb=86e5914510fc29f4decbb66a7d602872b6c8555e;hp=26d03f734228f051023281a466c5700fc86c9648;hpb=1486ceaaf9dd7a9d2d7e3654550b9a2768df2a56;p=supertux.git diff --git a/src/scripting/level.hpp b/src/scripting/level.hpp index 26d03f734..b7d91a248 100644 --- a/src/scripting/level.hpp +++ b/src/scripting/level.hpp @@ -1,3 +1,22 @@ +// $Id$ +// +// SuperTux +// Copyright (C) 2006 Matthias Braun +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + #ifndef __LEVEL_H__ #define __LEVEL_H__ @@ -18,9 +37,13 @@ public: void spawn(const std::string& sector, const std::string& spawnpoint); /** Flip level vertically */ void flip_vertically(); + /** toggle pause */ + void toggle_pause(); + + /** Switch to and from edit mode */ + void edit(bool edit_mode); }; } #endif -