/[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.1 by el_doc, Fri May 23 12:22:24 2003 UTC revision 1.2 by el_doc, Wed Jul 2 16:39:24 2003 UTC
# Line 26  Line 26 
26    
27  #include <sys/types.h>  #include <sys/types.h>
28  #include <Foundation/NSObject.h>  #include <Foundation/NSObject.h>
29    #include "Common/Camera.h"
30    
31  @class Camera;  @class Camera;
32    
# Line 45  MakeMapCoord (int x, int z) Line 46  MakeMapCoord (int x, int z)
46    return coord;    return coord;
47  }  }
48    
49    int aroundTheWorld (int n, int max);
50    
51  @class Camera;  @class Camera;
52    
53  @interface MapTerrain: NSObject  @interface MapTerrain: NSObject
54  {  {
55    @protected
56      int               _xLength;
57      int               _zLength;
58      u_int8_t          _seaLevel;
59    
60  @private  @private
61    int       _xLength;    u_int8_t         *_heightField;
   int       _zLength;  
   u_int8_t *_heightField;  
   u_int8_t  _seaLevel;  
62  }  }
63    
64  - (id) initWithImageName: (NSString *)imageName;  - (id) initWithImageName: (NSString *)imageName;
# Line 70  MakeMapCoord (int x, int z) Line 75  MakeMapCoord (int x, int z)
75  - (u_int8_t) seaLevel;  - (u_int8_t) seaLevel;
76  - (void) setSeaLevel: (u_int8_t)seaLevel;  - (void) setSeaLevel: (u_int8_t)seaLevel;
77    
 - (void) displayWithCamera: (Camera *)camera;  
   
78  @end  @end
79    
80  #endif /* MAP_TERRAIN_H */  #endif /* MAP_TERRAIN_H */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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