--- deliantra/server/random_maps/style.C 2006/09/14 22:34:02 1.4 +++ deliantra/server/random_maps/style.C 2006/09/16 22:24:13 1.5 @@ -111,13 +111,13 @@ */ /* remove extern, so visible to command_style_map_info function */ -mapstruct *styles = NULL; +maptile *styles = NULL; -mapstruct * +maptile * load_style_map (char *style_name) { - mapstruct *style_map; + maptile *style_map; /* Given a file. See if its in memory */ for (style_map = styles; style_map != NULL; style_map = style_map->next) @@ -129,7 +129,7 @@ /* Remove it from global list, put it on our local list */ if (style_map) { - mapstruct *tmp; + maptile *tmp; if (style_map == first_map) first_map = style_map->next; @@ -145,12 +145,12 @@ return style_map; } -mapstruct * +maptile * find_style (const char *dirname, const char *stylename, int difficulty) { char style_file_path[256]; char style_file_full_path[256]; - mapstruct *style_map = NULL; + maptile *style_map = NULL; struct stat file_stat; int i, only_subdirs = 0; @@ -255,7 +255,7 @@ * variables to generate tables. */ object * -pick_random_object (mapstruct *style) +pick_random_object (maptile *style) { int x, y, limit = 0; object *new_obj; @@ -284,7 +284,7 @@ void free_style_maps (void) { - mapstruct *next; + maptile *next; int style_maps = 0; /* delete_map will try to free it from the linked list,