From 9be4092c7fe80fda6c566c74773672970a90e808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 6 Nov 2011 01:22:11 +0100 Subject: [PATCH] creature thoughts --- library/include/dfhack/modules/Creatures.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/library/include/dfhack/modules/Creatures.h b/library/include/dfhack/modules/Creatures.h index 29c37950e..8e5ea76b8 100644 --- a/library/include/dfhack/modules/Creatures.h +++ b/library/include/dfhack/modules/Creatures.h @@ -428,6 +428,20 @@ namespace DFHack struct df_job { + }; + /** + * A creature though - dwarves staring at waterfalls! + * \ingroup grp_creatures + */ + struct df_thought + { + // needs enum + int16_t type; + // possible int16_t here + int32_t age; + int32_t subtype; + int32_t severity; + //possibly more. }; /** * A creature, as it appears in DF memory @@ -667,7 +681,7 @@ namespace DFHack std::vector unk_6d0; std::vector unk_6e0; - std::vector unk_6f0; + std::vector thoughts; std::vector unk_700; uint32_t happiness; // 710 uint16_t unk_714;