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/mmo/ids.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/mmo/ids.hpp')
-rw-r--r-- | src/mmo/ids.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mmo/ids.hpp b/src/mmo/ids.hpp index c79b93c..4225103 100644 --- a/src/mmo/ids.hpp +++ b/src/mmo/ids.hpp @@ -26,6 +26,9 @@ # include "extract.hpp" + +namespace tmwa +{ class Species : public Wrapped<uint16_t> { public: explicit operator bool() const = delete; bool operator !() const = delete; constexpr Species() : Wrapped<uint16_t>() {} protected: constexpr explicit Species(uint16_t a) : Wrapped<uint16_t>(a) {} }; constexpr Species NEGATIVE_SPECIES = Species(); @@ -163,5 +166,6 @@ uint32_t convert_for_printf(GmLevel g) { return g.get_all_bits(); } +} // namespace tmwa #endif // TMWA_MMO_IDS_HPP |