/[hegemonie]/hegemonie/Headers/Map/MapTerrain.h
ViewVC logotype

Diff of /hegemonie/Headers/Map/MapTerrain.h

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

revision 1.12 by gabby, Thu Sep 4 22:11:18 2003 UTC revision 1.13 by dam, Fri Sep 5 11:54:38 2003 UTC
# Line 44  Line 44 
44    NSMutableArray   *_initialPositions;    NSMutableArray   *_initialPositions;
45    u_int8_t          _seaLevel;    u_int8_t          _seaLevel;
46    NSString         *_fileName;    NSString         *_fileName;
   
 @protected  
   u_int8_t *_heightField;  
   int      _xLength;  
   int      _zLength;  
47  }  }
48    
49  + (id) mapWithPropertyList: (NSDictionary *)propertyList;  + (id) mapWithPropertyList: (NSDictionary *)propertyList;
# Line 60  Line 55 
55  - (id) initWithPropertyList: (NSDictionary *)propertyList;  - (id) initWithPropertyList: (NSDictionary *)propertyList;
56  - (id) initWithContentsOfFile: (NSString *)path;  - (id) initWithContentsOfFile: (NSString *)path;
57    
 - (BOOL) saveHeightFieldToFile: (NSString *)path;  
   
58  - (u_int8_t *) heightField;  - (u_int8_t *) heightField;
59    
60  - (int) width;  - (unsigned) width;
61  - (int) height;  - (unsigned) height;
62    
63  - (u_int8_t) heightAtPosition: (map_coord_t)position;  - (u_int8_t) heightAtPosition: (map_coord_t)position;
 - (u_int8_t) heightAtMapPosition: (map_coord_t)position;  
64  - (void) setHeightAtPosition: (map_coord_t)position  - (void) setHeightAtPosition: (map_coord_t)position
65                      toHeight: (int)height;                      toHeight: (int)height;
66    

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