summaryrefslogtreecommitdiff
path: root/src/birther.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/birther.hpp')
-rw-r--r--src/birther.hpp27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/birther.hpp b/src/birther.hpp
index 0c28b513..85773e5e 100644
--- a/src/birther.hpp
+++ b/src/birther.hpp
@@ -1,29 +1,28 @@
#pragma once
-#include "h-basic.h"
+#include "h-basic.hpp"
-#include <string>
-#include <vector>
+#include <array>
/**
* Player information during the birth process.
*/
struct birther
{
- s16b race;
- s16b rmod;
- s16b pclass;
- s16b spec;
+ s16b race = 0;
+ s16b rmod = 0;
+ s16b pclass = 0;
+ s16b spec = 0;
- byte quests;
+ byte quests = 0;
- byte god;
- s32b grace;
+ byte god = 0;
+ s32b grace = 0;
- s32b au;
+ s32b au = 0;
- s16b stat[6];
- s16b luck;
+ std::array<s16b, 6> stat { };
+ s16b luck = 0;
- bool_ quick_ok;
+ bool quick_ok = false;
};