52 |
*/ |
*/ |
53 |
struct LevelInfo |
struct LevelInfo |
54 |
{ |
{ |
55 |
LevelInfo(const string &fn, |
LevelInfo(const string &fn, |
56 |
const string &n, |
const string &n, |
57 |
const string &a, |
const string &a, |
58 |
int par_time=99*60+59, |
int par_time=99*60+59, |
59 |
GameType gt = GAMET_ENIGMA) |
GameType gt = GAMET_ENIGMA) |
60 |
: filename(fn), name(n), author(a), best_time(par_time), type(gt) |
: filename(fn), name(n), author(a), best_time(par_time), type(gt) |
82 |
|
|
83 |
virtual LevelInfo *get_info (size_t index) = 0; |
virtual LevelInfo *get_info (size_t index) = 0; |
84 |
|
|
85 |
virtual px::Surface *load_preview (size_t index) { return 0; } |
virtual px::Surface *load_preview (size_t /*index*/) { return 0; } |
86 |
}; |
}; |
87 |
} |
} |
88 |
|
|