X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgame_session.hpp;h=bed98b2fd290ce77707b5eb50a5d32673417985c;hb=07ddaed2a657e4d2a3d038fed223fc5827159caf;hp=6b72450826f81bd5c824ae13bcc2e2f71887e746;hpb=cfa6a410943ae4fee8d5d8c5270f7119a82fe970;p=supertux.git diff --git a/src/game_session.hpp b/src/game_session.hpp index 6b7245082..bed98b2fd 100644 --- a/src/game_session.hpp +++ b/src/game_session.hpp @@ -1,9 +1,7 @@ // $Id$ -// +// // SuperTux -// Copyright (C) 2004 Bill Kendrick -// Tobias Glaesser -// Ingo Ruhnke +// 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 @@ -14,7 +12,7 @@ // 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. @@ -87,7 +85,7 @@ public: { return currentsector; } Level* get_current_level() - { return level; } + { return level.get(); } void start_sequence(const std::string& sequencename); @@ -113,8 +111,8 @@ private: void process_menu(); Timer endsequence_timer; - Level* level; - Surface* statistics_backdrop; // FIXME: where to put this? + std::auto_ptr level; + std::auto_ptr statistics_backdrop; Sector* currentsector; @@ -154,7 +152,6 @@ private: std::string capture_file; std::istream* playback_demo_stream; CodeController* demo_controller; - Console* console; }; #endif /*SUPERTUX_GAMELOOP_H*/