diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-06-07 17:49:09 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-06-07 17:49:09 +0200 |
commit | c8a270e51dc22f39ed048ab1cc609e6e456df58f (patch) | |
tree | 6d6a7d2338abdbecbb1351e2c9cbf9b08b42b6bc /src/between_exit.hpp | |
parent | dcb193fabc7af4776bdf0d31045f6801fa18000e (diff) |
Split types.h into separate header for each type
Diffstat (limited to 'src/between_exit.hpp')
-rw-r--r-- | src/between_exit.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/between_exit.hpp b/src/between_exit.hpp new file mode 100644 index 00000000..7ea686d7 --- /dev/null +++ b/src/between_exit.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include "h-basic.h" + +/** + * Surface-level void gates descriptor. + */ +struct between_exit +{ + s16b corresp; /* Corresponding between gate */ + bool_ dungeon; /* Do we exit in a dungeon or in the wild ? */ + + s16b wild_x, wild_y; /* Wilderness spot to land onto */ + s16b px, py; /* Location of the map */ + + s16b d_idx; /* Dungeon to land onto */ + s16b level; +}; |