6 #define DEF_CELL_SIZE 3.0f
33 struct meshgroup *mgrp;
40 char *fname, *dirname;
43 int px, py; /* player start position */
49 /* meshes owned by the level, constructed during geometry generation or
50 * loaded, excluding meshes in tiles scenefiles
52 struct mesh *meshlist;
56 int init_level(struct level *lvl, int xsz, int ysz);
57 void destroy_level(struct level *lvl);
59 int load_level(struct level *lvl, const char *fname);
60 int save_level(struct level *lvl, const char *fname);
62 struct tile *find_level_tile(struct level *lvl, int type);
64 int gen_cell_geom(struct level *lvl, struct cell *cell);
65 int gen_level_geom(struct level *lvl);