diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-11-15 12:29:33 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2015-01-22 23:18:58 -0800 |
commit | e1418f378c66343a35db3791cbf0d54a4be3fbd3 (patch) | |
tree | 56814c066624e19290bcc31d17a4fc0b3b711184 /src/map/map.hpp | |
parent | b2f0d495cd85188e0f9f2d4d363655da40e6e5e6 (diff) | |
download | tmwa-e1418f378c66343a35db3791cbf0d54a4be3fbd3.tar.gz tmwa-e1418f378c66343a35db3791cbf0d54a4be3fbd3.tar.bz2 tmwa-e1418f378c66343a35db3791cbf0d54a4be3fbd3.tar.xz tmwa-e1418f378c66343a35db3791cbf0d54a4be3fbd3.zip |
Generate most config parsers
Diffstat (limited to 'src/map/map.hpp')
-rw-r--r-- | src/map/map.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/map.hpp b/src/map/map.hpp index ac16fe9..48bd997 100644 --- a/src/map/map.hpp +++ b/src/map/map.hpp @@ -64,7 +64,7 @@ constexpr int MAX_LEVEL = 255; constexpr int MAX_WALKPATH = 48; constexpr int MAX_DROP_PER_MAP = 48; -constexpr interval_t DEFAULT_AUTOSAVE_INTERVAL = 1_min; +constexpr std::chrono::seconds DEFAULT_AUTOSAVE_INTERVAL = 1_min; extern map_local undefined_gat; @@ -698,4 +698,7 @@ inline dumb_ptr<npc_data_script> npc_data::is_script() { return npc_subtype == N inline dumb_ptr<npc_data_shop> npc_data::is_shop() { return npc_subtype == NpcSubtype::SHOP ? as_shop() : nullptr ; } inline dumb_ptr<npc_data_warp> npc_data::is_warp() { return npc_subtype == NpcSubtype::WARP ? as_warp() : nullptr ; } inline dumb_ptr<npc_data_message> npc_data::is_message() { return npc_subtype == NpcSubtype::MESSAGE ? as_message() : nullptr ; } + +void map_addmap(MapName mapname); +void map_delmap(MapName mapname); } // namespace tmwa |