/[enigma]/enigma/src/game.hh
ViewVC logotype

Diff of /enigma/src/game.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by dheck, Mon May 12 22:47:40 2003 UTC revision 1.10 by dheck, Sun May 18 18:45:07 2003 UTC
# Line 52  namespace enigma Line 52  namespace enigma
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.
# Line 61  namespace enigma Line 65  namespace enigma
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 {

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26