projects
/
vrlugburz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added opencorner tiles
[vrlugburz]
/
src
/
level.h
diff --git
a/src/level.h
b/src/level.h
index
3a31af6
..
cbf6642
100644
(file)
--- a/
src/level.h
+++ b/
src/level.h
@@
-2,6
+2,7
@@
#define LEVEL_H_
#include "scenefile.h"
#define LEVEL_H_
#include "scenefile.h"
+#include "tileset.h"
#define DEF_CELL_SIZE 3.0f
#define DEF_CELL_SIZE 3.0f
@@
-9,9
+10,11
@@
enum {
TILE_OPEN,
TILE_STR,
TILE_CORNER,
TILE_OPEN,
TILE_STR,
TILE_CORNER,
+ TILE_OPENCORNER,
TILE_TEE,
TILE_CROSS,
TILE_TEE,
TILE_CROSS,
- TILE_STR2OPEN
+ TILE_STR2OPEN,
+ TILE_STROPEN
};
enum {
};
enum {
@@
-23,14
+26,19
@@
enum {
struct tile {
char *name;
int type;
struct tile {
char *name;
int type;
+
+ struct meshgroup mgrp;
+
struct tile *next;
};
struct cell {
int type;
struct tile *next;
};
struct cell {
int type;
+ int tiletype, tilerot;
int wall[4];
int floor, ceil;
int wall[4];
int floor, ceil;
+ struct tile *tile;
struct meshgroup *mgrp;
int num_mgrp;
struct meshgroup *mgrp;
int num_mgrp;