7 #define DEF_CELL_SIZE 3.0f
30 struct meshgroup mgrp;
37 int tiletype, tilerot;
42 struct meshgroup *mgrp;
49 char *fname, *dirname;
52 int px, py; /* player start position */
58 /* meshes owned by the level, constructed during geometry generation or
59 * loaded, excluding meshes in tiles scenefiles
61 struct mesh *meshlist;
65 int init_level(struct level *lvl, int xsz, int ysz);
66 void destroy_level(struct level *lvl);
68 int load_level(struct level *lvl, const char *fname);
69 int save_level(struct level *lvl, const char *fname);
71 struct tile *find_level_tile(struct level *lvl, int type);
73 int gen_cell_geom(struct level *lvl, struct cell *cell);
74 int gen_level_geom(struct level *lvl);