From 81cf60c0e08189f3acdf1ceff2399aca06174048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 13 Apr 2010 07:36:16 +0200 Subject: [PATCH] Fixes to creature offsets. Needs more checking. --- examples/creaturedump.cpp | 6 +++--- output/Memory.xml | 32 +++++++++++++++++++++++++++++++- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/examples/creaturedump.cpp b/examples/creaturedump.cpp index a4ddf9739..89016c45f 100644 --- a/examples/creaturedump.cpp +++ b/examples/creaturedump.cpp @@ -332,12 +332,12 @@ void printCreature(DFHack::API & DF, const DFHack::t_creature & creature) cout << "from the underworld, "; } cout << endl; - /* + if(creature.flags1.bits.had_mood && (creature.mood == -1 || creature.mood == 8 ) ) { - string artifact_name = DF.TranslateName(creature.artifact_name,englishWords,foreignWords,false); + string artifact_name = Tran->TranslateName(creature.artifact_name,false); cout << "artifact: " << artifact_name << endl; - }*/ + } cout << endl; } diff --git a/output/Memory.xml b/output/Memory.xml index 3739e33b1..81a695cfc 100644 --- a/output/Memory.xml +++ b/output/Memory.xml @@ -1135,7 +1135,7 @@ map_data_1b60_offset 0x1B9c 0X1F4 0X21C 0x238 - 0x23C + 0x464 + 0x0 + 0x6c + 0x88 + 0x8C + 0x90 + 0xF8 + 0xFC + 0x110 + 0x114 + 0X120 + 0X1F4 + 0X21C + 0x238 + + + 0x464 + + 0x390 + 0x6D4 + 0x774 + 0x0740 + 0x0758 + 0x834 Materials =========