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

Diff of /enigma/src/player.hh

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

revision 1.12 by reallysoft, Tue Jun 17 17:14:47 2003 UTC revision 1.13 by dheck, Wed Jun 18 01:01:46 2003 UTC
# Line 20  Line 20 
20  #ifndef PLAYER_HH  #ifndef PLAYER_HH
21  #define PLAYER_HH  #define PLAYER_HH
22    
23    /*
24     * Player management.  Deals mostly with inventory management,
25     * switching between players, respawning, etc.  Players are numbered
26     * from 0..N-1, where N is the number of players in the current game
27     * (currently always 1 or 2).
28     */
29    
30  #include "fwd.hh"  #include "fwd.hh"
31  #include "world.hh"  #include "world.hh"
32  #include <vector>  #include <vector>
# Line 54  namespace player Line 61  namespace player
61          std::vector<Item*> items;          std::vector<Item*> items;
62      };      };
63    
64      // Start a new game for N players.  Every player begins with two      /* Start a new game for N players.  Every player begins with two
65      // extra lifes. if 'add_yinyang' is true every player additionally         extra lifes. if 'add_yinyang' is true every player additionally
66      // gets one it-yinyang.         gets one it-yinyang. */
67      void NewGame(int nplayers, bool add_yinyang);      void NewGame(int nplayers, bool add_yinyang);
68    
69      /* This is called whenever a new level is reached in a running      /* This is called whenever a new level is reached in a running

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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