52 |
*/ |
*/ |
53 |
struct LevelInfo |
struct LevelInfo |
54 |
{ |
{ |
55 |
LevelInfo(const string &fn, const string &n, const string &a, int par_time=99*60+59) |
LevelInfo(const string &fn, |
56 |
: filename(fn), name(n), author(a), best_time(par_time) |
const string &n, |
57 |
|
const string &a, |
58 |
|
int par_time=99*60+59, |
59 |
|
GameType gt = GAMET_ENIGMA) |
60 |
|
: filename(fn), name(n), author(a), best_time(par_time), type(gt) |
61 |
{} |
{} |
62 |
|
|
63 |
// Variables. |
// Variables. |
65 |
string name; // Complete name of the level |
string name; // Complete name of the level |
66 |
string author; // Author of the level |
string author; // Author of the level |
67 |
int best_time; // Best time in seconds |
int best_time; // Best time in seconds |
68 |
|
GameType type; |
69 |
}; |
}; |
70 |
|
|
71 |
class LevelPack { |
class LevelPack { |