summaryrefslogtreecommitdiffstats
path: root/src/PedStat.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-16 22:36:18 +0200
committerGitHub <noreply@github.com>2019-06-16 22:36:18 +0200
commitc417dfa1c32a2e1f943b7a9b668e9d5048b18424 (patch)
tree4d9ac62ae6c141779c6e03687575d20fb036a273 /src/PedStat.h
parentfix the cleanup... (diff)
parentDelete duplicate enum (diff)
downloadre3-c417dfa1c32a2e1f943b7a9b668e9d5048b18424.tar
re3-c417dfa1c32a2e1f943b7a9b668e9d5048b18424.tar.gz
re3-c417dfa1c32a2e1f943b7a9b668e9d5048b18424.tar.bz2
re3-c417dfa1c32a2e1f943b7a9b668e9d5048b18424.tar.lz
re3-c417dfa1c32a2e1f943b7a9b668e9d5048b18424.tar.xz
re3-c417dfa1c32a2e1f943b7a9b668e9d5048b18424.tar.zst
re3-c417dfa1c32a2e1f943b7a9b668e9d5048b18424.zip
Diffstat (limited to '')
-rw-r--r--src/PedStat.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/PedStat.h b/src/PedStat.h
new file mode 100644
index 00000000..23c75a2b
--- /dev/null
+++ b/src/PedStat.h
@@ -0,0 +1,20 @@
+#pragma once
+#include "common.h"
+
+struct PedStat {
+ uint32 m_id;
+ char m_name[24];
+ int32 m_fleeDistance;
+ int32 m_headingChangeRate;
+ int8 m_fear;
+ int8 m_temper;
+ int8 m_lawfulness;
+ int8 m_sexiness;
+ int32 m_attackStrength;
+ int32 m_defendWeakness;
+ int16 m_flags;
+ uint8 unknown1;
+ uint8 unknown2;
+};
+
+static_assert(sizeof(PedStat) == 0x34, "PedStat: error"); \ No newline at end of file