src/hcode/btech/p.map.build.functions.h

Go to the documentation of this file.
00001 /* p.map.build.functions.h */
00002 
00003 #ifndef _P_MAP_BUILD_FUNCTIONS_H
00004 #define _P_MAP_BUILD_FUNCTIONS_H
00005 
00006 /* map.build.functions.c */
00007 
00008 int water_distance(MAP * map, int x, int y, int dir, int max);
00009 void loadMap(dbref player, void *data, char *buffer);
00010 void saveMap(dbref player, void *data, char *buffer);
00011 void freeOldMap(MAP * map);
00012 HEXDATA *GetMapHexData(MAP * map, int x, int y);
00013 void validateExistingLayers(MAP * map, int x, int y);
00014 void validateSnowDepth(MAP * map, int x, int y);
00015 void SetMapHexData(MAP * map, int x, int y, char terrain, char elevation,
00016     int layers, int layerData);
00017 void ClearTerrainLayers(MAP * map, int x, int y);
00018 void AddTerrainLayer(MAP * map, int x, int y, int layer, int layerData);
00019 char GetHexTerrain(MAP * map, int x, int y);
00020 char GetHexElevation(MAP * map, int x, int y);
00021 int GetHexLayers(MAP * map, int x, int y);
00022 int GetHexLayerData(MAP * map, int x, int y);
00023 void SetHexTerrain(MAP * map, int x, int y, char terrain);
00024 void SetHexElevation(MAP * map, int x, int y, char elevation);
00025 void SetHexLayers(MAP * map, int x, int y, int layers);
00026 void SetHexLayerData(MAP * map, int x, int y, int layerData);
00027 
00028 #endif                          /* _P_MAP_BUILD_FUNCTIONS_H */

Generated on Mon May 28 04:25:23 2007 for BattletechMUX by  doxygen 1.4.7