31 struct meshgroup *mgrp;
38 char *fname, *dirname;
45 /* meshes owned by the level, constructed during geometry generation or
46 * loaded, excluding meshes in tiles scenefiles
48 struct mesh *meshlist;
52 int init_level(struct level *lvl, int xsz, int ysz);
53 void destroy_level(struct level *lvl);
55 int load_level(struct level *lvl, const char *fname);
56 int save_level(struct level *lvl, const char *fname);
58 struct tile *find_level_tile(struct level *lvl, const char *tname);
60 int gen_cell_geom(struct level *lvl, struct cell *cell);
61 int gen_level_geom(struct level *lvl);