summaryrefslogtreecommitdiff
path: root/src/map/pc.t.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.t.hpp')
-rw-r--r--src/map/pc.t.hpp26
1 files changed, 8 insertions, 18 deletions
diff --git a/src/map/pc.t.hpp b/src/map/pc.t.hpp
index 65e1046..427e8c3 100644
--- a/src/map/pc.t.hpp
+++ b/src/map/pc.t.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_MAP_PC_T_HPP
-#define TMWA_MAP_PC_T_HPP
+#pragma once
// pc.t.hpp - Player state changes.
//
// Copyright © ????-2004 Athena Dev Teams
@@ -22,10 +21,13 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+#include "fwd.hpp"
-# include <cstdint>
+#include <cstdint>
+
+namespace tmwa
+{
enum class PC_GAINEXP_REASON
{
KILLING = 0,
@@ -50,18 +52,6 @@ enum class ADDITEM
enum class CalcStatus
{
NOW,
- LATER ,
-};
-
-enum class PickupFail : uint8_t
-{
- OKAY = 0,
- BAD_ITEM = 1,
- TOO_HEAVY = 2,
- TOO_FAR = 3,
- INV_FULL = 4,
- STACK_FULL = 5,
- DROP_STEAL = 6,
+ LATER,
};
-
-#endif // TMWA_MAP_PC_T_HPP
+} // namespace tmwa