summaryrefslogtreecommitdiffstats
path: root/src/PedStat.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-16 20:39:48 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-16 21:00:09 +0200
commitc1bd90c7ddcb28c0ba5ebe66ab90319ffeee6d8b (patch)
treebd672a23d675ee5531ee8b218dcd88de634a835d /src/PedStat.h
parentMore CPed functions and minor fixes (diff)
downloadre3-c1bd90c7ddcb28c0ba5ebe66ab90319ffeee6d8b.tar
re3-c1bd90c7ddcb28c0ba5ebe66ab90319ffeee6d8b.tar.gz
re3-c1bd90c7ddcb28c0ba5ebe66ab90319ffeee6d8b.tar.bz2
re3-c1bd90c7ddcb28c0ba5ebe66ab90319ffeee6d8b.tar.lz
re3-c1bd90c7ddcb28c0ba5ebe66ab90319ffeee6d8b.tar.xz
re3-c1bd90c7ddcb28c0ba5ebe66ab90319ffeee6d8b.tar.zst
re3-c1bd90c7ddcb28c0ba5ebe66ab90319ffeee6d8b.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