-extern void init_map_and_map_objects_configs()
-{
- world.map.size.x = 64;
- world.map.size.y = 64;
- world.map.dist_orthogonal = 5;
- world.map.dist_diagonal = 7;
- char * err_mod = "No map object definitions file.";
- char * err_moa = "No map object actions file.";
- exit_err(access(world.path_map_obj_defs, F_OK), err_mod);
- exit_err(access(world.path_map_obj_acts, F_OK), err_moa);
- read_config_file(world.path_map_obj_defs, CLEANUP_MAP_OBJECT_DEFS,
- read_map_object_def, sizeof(struct MapObjDef),
- (struct EntrySkeleton **) &world.map_obj_defs);
- read_config_file(world.path_map_obj_acts, CLEANUP_MAP_OBJECT_ACTS,
- read_map_object_action, sizeof(struct MapObjAct),
- (struct EntrySkeleton **) &world.map_obj_acts);
-}
-
-
-