projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a common set of bridge funcs for Leveleditor and Sector to create game objects.
[supertux.git]
/
src
/
gameloop.h
diff --git
a/src/gameloop.h
b/src/gameloop.h
index
1d01487
..
a63a24b
100644
(file)
--- a/
src/gameloop.h
+++ b/
src/gameloop.h
@@
-78,8
+78,7
@@
private:
bool game_pause;
bool game_pause;
- std::string levelname;
- bool flip_level;
+ std::string levelfile;
// the sector and spawnpoint we shoudl spawn after this frame
std::string newsector;
// the sector and spawnpoint we shoudl spawn after this frame
std::string newsector;
@@
-93,7
+92,7
@@
public:
DrawingContext* context;
Timer2 time_left;
DrawingContext* context;
Timer2 time_left;
- GameSession(const std::string& level
, int mode, bool flip_level_ = false, Statistics* statistics = NULL
);
+ GameSession(const std::string& level
file, int mode, Statistics* statistics=0
);
~GameSession();
/** Enter the busy loop */
~GameSession();
/** Enter the busy loop */