Add lua selection match method
Also improve the replace_terrain command parameters.
This commit is contained in:
@@ -164,12 +164,6 @@ typedef struct {
|
||||
xchar ter, tlit;
|
||||
} terrain;
|
||||
|
||||
typedef struct {
|
||||
xchar chance;
|
||||
xchar x1, y1, x2, y2;
|
||||
xchar fromter, toter, tolit;
|
||||
} replaceterrain;
|
||||
|
||||
typedef struct {
|
||||
struct {
|
||||
xchar room;
|
||||
@@ -186,12 +180,9 @@ typedef struct _room {
|
||||
xchar rtype, chance, rlit, filled, joined;
|
||||
} room;
|
||||
|
||||
typedef struct {
|
||||
schar zaligntyp;
|
||||
schar keep_region;
|
||||
schar halign, valign;
|
||||
char xsize, ysize;
|
||||
char **map;
|
||||
} mazepart;
|
||||
struct mapfragment {
|
||||
int wid, hei;
|
||||
char *data;
|
||||
};
|
||||
|
||||
#endif /* SP_LEV_H */
|
||||
|
||||
Reference in New Issue
Block a user