class Level;
class Sector;
class Statistics;
+class PlayerStatus;
class DrawingContext;
class CodeController;
class Menu;
public Currenton<GameSession>
{
public:
- GameSession(const std::string& levelfile, Statistics* statistics = NULL);
+ GameSession(const std::string& levelfile, PlayerStatus* player_status, Statistics* statistics = NULL);
~GameSession();
void record_demo(const std::string& filename);
Level* get_current_level()
{ return level.get(); }
+ PlayerStatus* get_player_status()
+ { return player_status; }
+
void start_sequence(const std::string& sequencename);
/**
void process_menu();
std::auto_ptr<Level> level;
- std::auto_ptr<Surface> statistics_backdrop;
+ SurfacePtr statistics_backdrop;
// scripts
typedef std::vector<HSQOBJECT> ScriptList;
std::string newspawnpoint;
Statistics* best_level_statistics;
+ PlayerStatus* player_status;
std::ostream* capture_demo_stream;
std::string capture_file;