projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#303: Typo fixes from mathnerd314
[supertux.git]
/
src
/
level.hpp
diff --git
a/src/level.hpp
b/src/level.hpp
index
eb3ba5c
..
889f8f3
100644
(file)
--- a/
src/level.hpp
+++ b/
src/level.hpp
@@
-30,6
+30,8
@@
namespace lisp {
class Lisp;
}
class Lisp;
}
+class TileSet;
+
/**
* Represents a collection of Sectors running in a single GameSession.
*
/**
* Represents a collection of Sectors running in a single GameSession.
*
@@
-38,14
+40,18
@@
class Lisp;
class Level
{
public:
class Level
{
public:
+ typedef std::vector<Sector*> Sectors;
+
std::string name;
std::string author;
std::string contact;
std::string license;
std::string name;
std::string author;
std::string contact;
std::string license;
+ std::string filename;
std::string on_menukey_script;
std::string on_menukey_script;
- typedef std::vector<Sector*> Sectors;
- Sectors sectors;
- Statistics stats;
+ Sectors sectors;
+ Statistics stats;
+ TileSet *tileset;
+ bool free_tileset;
public:
Level();
public:
Level();
@@
-68,6
+74,9
@@
public:
size_t get_sector_count();
Sector* get_sector(size_t num);
size_t get_sector_count();
Sector* get_sector(size_t num);
+ const TileSet *get_tileset() const
+ { return tileset; }
+
int get_total_coins();
int get_total_badguys();
int get_total_coins();
int get_total_badguys();