7 #define DEF_CELL_SIZE 3.0f
35 struct meshgroup *mgrp;
42 char *fname, *dirname;
45 int px, py; /* player start position */
51 /* meshes owned by the level, constructed during geometry generation or
52 * loaded, excluding meshes in tiles scenefiles
54 struct mesh *meshlist;
58 int init_level(struct level *lvl, int xsz, int ysz);
59 void destroy_level(struct level *lvl);
61 int load_level(struct level *lvl, const char *fname);
62 int save_level(struct level *lvl, const char *fname);
64 struct tile *find_level_tile(struct level *lvl, int type);
66 int gen_cell_geom(struct level *lvl, struct cell *cell);
67 int gen_level_geom(struct level *lvl);