/[projectaxis]/projectaxis/projectAxis/src/map/map.h
ViewVC logotype

Diff of /projectaxis/projectAxis/src/map/map.h

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

revision 1.3 by leiavoia, Fri Aug 8 02:05:43 2003 UTC revision 1.4 by leiavoia, Wed Aug 20 18:21:58 2003 UTC
# Line 2  Line 2 
2  =================  =================
3  MAP.h  MAP.h
4  =================  =================
5  version 0.1.7  version 0.1.8
6  =================  =================
7    
8  This is the main data structure for the game map.  This is the main data structure for the game map.
# Line 14  with Map class, then create the BlotchMa Line 14  with Map class, then create the BlotchMa
14    
15  CHANGLELOG:  CHANGLELOG:
16  --------------------  --------------------
17    0.1.8   August 16, 2003
18            - added DegradeRoad()
19  0.1.7   August 3, 2003  0.1.7   August 3, 2003
20          - implemented Create() function for gutting and recreating the actual map data structure internally without having to scrap the Map object and make a new one.          - implemented Create() function for gutting and recreating the actual map data structure internally without having to scrap the Map object and make a new one.
21          - fixed TrampleRoad() bug. numbers would go negative if the trampler was degrading by more than 1 level.          - fixed TrampleRoad() bug. numbers would go negative if the trampler was degrading by more than 1 level.
# Line 115  class Map { Line 117  class Map {
117    
118                  /** Reduces the road quality of a given tile by the specified value. Tiles start at 9 and work down to 0. */                  /** Reduces the road quality of a given tile by the specified value. Tiles start at 9 and work down to 0. */
119                  void TrampleRoad(int x, int y, int a=1);                  void TrampleRoad(int x, int y, int a=1);
120                    /** increases the road quality attribute by "a" (i.e. makes it worse - more "roady") */
121                    void DegradeRoad(int x, int y, int a=1);
122                  /** Returns the road quality at the given tile*/                  /** Returns the road quality at the given tile*/
123                  int GetRoadQ(int x, int y);                  int GetRoadQ(int x, int y);
124    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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