projects
/
vrlugburz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reorganizing tileset handling
[vrlugburz]
/
src
/
level.h
diff --git
a/src/level.h
b/src/level.h
index
dd1c988
..
3a31af6
100644
(file)
--- a/
src/level.h
+++ b/
src/level.h
@@
-6,10
+6,12
@@
#define DEF_CELL_SIZE 3.0f
enum {
#define DEF_CELL_SIZE 3.0f
enum {
- TILE_EMPTY,
- TILE_STRAIGHT,
+ TILE_OPEN,
+ TILE_STR,
TILE_CORNER,
TILE_CORNER,
- TILE_DOOR
+ TILE_TEE,
+ TILE_CROSS,
+ TILE_STR2OPEN
};
enum {
};
enum {
@@
-21,7
+23,6
@@
enum {
struct tile {
char *name;
int type;
struct tile {
char *name;
int type;
- struct scenefile scn;
struct tile *next;
};
struct tile *next;
};
@@
-44,7
+45,7
@@
struct level {
float cell_size;
struct cell *cells;
float cell_size;
struct cell *cells;
- struct tile *tiles;
+ struct tileset *tset;
/* meshes owned by the level, constructed during geometry generation or
* loaded, excluding meshes in tiles scenefiles
/* meshes owned by the level, constructed during geometry generation or
* loaded, excluding meshes in tiles scenefiles