diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-26 21:59:27 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-26 22:28:22 -0700 |
commit | 2f4fc005937e75d931eb6ef87a3fe16364d45113 (patch) | |
tree | 2a60ea7b58e9a3045ec0e0754e075ae958e46409 /src/map/npc.hpp | |
parent | f5fcb973cfad6221264a2a859f5236c3cef2c470 (diff) | |
download | tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.gz tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.bz2 tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.xz tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.zip |
Stick everything in a namespace
Diffstat (limited to 'src/map/npc.hpp')
-rw-r--r-- | src/map/npc.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/npc.hpp b/src/map/npc.hpp index f8ae650..d6d3b62 100644 --- a/src/map/npc.hpp +++ b/src/map/npc.hpp @@ -35,6 +35,9 @@ # include "map.hpp" + +namespace tmwa +{ constexpr BlockId START_NPC_NUM = wrap<BlockId>(110000000); // TODO make these species, see npc_class in npc_data @@ -96,5 +99,6 @@ void npc_timerevent_stop(dumb_ptr<npc_data_script> nd); interval_t npc_gettimerevent_tick(dumb_ptr<npc_data_script> nd); void npc_settimerevent_tick(dumb_ptr<npc_data_script> nd, interval_t newtimer); int npc_delete(dumb_ptr<npc_data> nd); +} // namespace tmwa #endif // TMWA_MAP_NPC_HPP |