7 #define DEF_CELL_SIZE 3.0f
29 struct meshgroup mgrp;
36 int tiletype, tilerot;
41 struct meshgroup *mgrp;
48 char *fname, *dirname;
51 int px, py; /* player start position */
57 /* meshes owned by the level, constructed during geometry generation or
58 * loaded, excluding meshes in tiles scenefiles
60 struct mesh *meshlist;
64 int init_level(struct level *lvl, int xsz, int ysz);
65 void destroy_level(struct level *lvl);
67 int load_level(struct level *lvl, const char *fname);
68 int save_level(struct level *lvl, const char *fname);
70 struct tile *find_level_tile(struct level *lvl, int type);
72 int gen_cell_geom(struct level *lvl, struct cell *cell);
73 int gen_level_geom(struct level *lvl);