00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef MAP_H_
00014 #define MAP_H_
00015
00016
00017
00018
00020
00021 struct location {
00022 int x;
00023 int y;
00024 int direction;
00025 };
00026
00027 location current_position;
00028 location selected_position;
00029
00031
00032 enum terrain_type {
00033 Terrain_sea, Terrain_lake,
00034 Terrain_flat, Terrain_flowing, Terrain_hills, Terrain_mountain, Terrain_range
00035 };
00036
00038
00039 enum growth_type {
00040 Growth_forest, Growth_fields, Growth_grass, Growth_swamp, Growth_moors, Growth_barren
00041 };
00042
00044
00045 struct client_area {
00046 int terrain;
00047 int growth;
00048 string name;
00049 int city;
00050 bool castle;
00051 bool wall;
00052 bool moat;
00053 bool cathedral;
00054 bool palace;
00055 game_party party;
00056 }
00057
00059
00060 area[625] map;
00061
00062 #endif