[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Enigma-cvs] enigma/src levels.hh,1.9,1.10
From: |
Daniel Heck <address@hidden> |
Subject: |
[Enigma-cvs] enigma/src levels.hh,1.9,1.10 |
Date: |
Wed, 26 Nov 2003 08:10:47 +0000 |
Update of /cvsroot/enigma/enigma/src
In directory subversions:/tmp/cvs-serv8799/src
Modified Files:
levels.hh
Log Message:
- Doxygenified comments.
Index: levels.hh
===================================================================
RCS file: /cvsroot/enigma/enigma/src/levels.hh,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** levels.hh 16 Nov 2003 18:35:59 -0000 1.9
--- levels.hh 26 Nov 2003 08:10:45 -0000 1.10
***************
*** 28,36 ****
using std::string;
! /* Enigma can run its own levels but also emulate various versions
! of Oxyd. All these games behave similarly, but there are also
! quite a few differences in object behaviour, visual appearance,
! etc. The game type is set at program startup and cannot be
! changed during the game. */
enum GameType {
GAMET_FIRST,
--- 28,36 ----
using std::string;
! /*! Enigma can run its own levels but also emulate various
! versions of Oxyd. All these games behave similarly, but there
! are also quite a few differences in object behaviour, visual
! appearance, etc. The game type is set at program startup and
! cannot be changed during the game. */
enum GameType {
GAMET_FIRST,
***************
*** 47,67 ****
};
! /* This datastructure contains information about individual
! levels. */
struct LevelInfo
{
// Variables.
GameType type;
! string filename; // Filename of the level _without_
extension
! string name; // Complete name of the level
! string author; // Author of the level
! int revision; // Revision # of this level
! bool has_easymode; // whether level has an easymode
! int best_time_easy; // Best time in seconds (for easy
mode)
! int best_time_normal; // (for normal mode)
! string best_time_easy_by; // player name(s) for 'best_time_easy'
! string best_time_normal_by; // same for 'best_time_normal'
! int best_moves; // Least moves to solve level
! string hint1, hint2; // Hints for solving this level
// Methods
--- 47,67 ----
};
! /*! This datastructure contains information about individual
! levels. */
struct LevelInfo
{
// Variables.
GameType type;
! string filename; //< Filename of the level (exl.
extension)
! string name; //< Complete name of the level
! string author; //< Author of the level
! int revision; //< Revision # of this level
! bool has_easymode; //< whether level has an easymode
! int best_time_easy; //< Best time in seconds (for easy
mode)
! int best_time_normal; //< Best time in seconds (for normal
mode)
! string best_time_easy_by; //< player name(s) for
'best_time_easy'
! string best_time_normal_by; //< same for 'best_time_normal'
! int best_moves; //< Least moves to solve level
! string hint1, hint2; //< Hints for solving this level
// Methods
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Enigma-cvs] enigma/src levels.hh,1.9,1.10,
Daniel Heck <address@hidden> <=