offscreen.patch by Klaus Denker: correct some calculations
[supertux.git] / src / game_session.hpp
index 59a4642..3c5e5db 100644 (file)
@@ -62,8 +62,14 @@ public:
   void finish(bool win = true);
   void respawn(const std::string& sectorname, const std::string& spawnpointname);
   void set_reset_point(const std::string& sectorname, const Vector& pos);
-  void display_info_box(const std::string& text);
+  std::string get_reset_point_sectorname()
+  { return reset_sector; }
   
+  Vector get_reset_point_pos()
+  { return reset_pos; }
+
+  void display_info_box(const std::string& text);
+
   Sector* get_current_sector()
   { return currentsector; }
 
@@ -146,4 +152,3 @@ private:
 };
 
 #endif /*SUPERTUX_GAMELOOP_H*/
-