6 #define DEF_CELL_SIZE 3.0f
34 struct meshgroup *mgrp;
41 char *fname, *dirname;
44 int px, py; /* player start position */
50 /* meshes owned by the level, constructed during geometry generation or
51 * loaded, excluding meshes in tiles scenefiles
53 struct mesh *meshlist;
57 int init_level(struct level *lvl, int xsz, int ysz);
58 void destroy_level(struct level *lvl);
60 int load_level(struct level *lvl, const char *fname);
61 int save_level(struct level *lvl, const char *fname);
63 struct tile *find_level_tile(struct level *lvl, int type);
65 int gen_cell_geom(struct level *lvl, struct cell *cell);
66 int gen_level_geom(struct level *lvl);