From 1d513256fd701883216e65294c5c4b00c6d0b112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 4 Apr 2010 12:43:11 +0200 Subject: [PATCH] Processed profession list --- examples/creaturedump.cpp | 2 +- output/Memory.xml | 402 ++++++++++---------------------------- 2 files changed, 101 insertions(+), 303 deletions(-) diff --git a/examples/creaturedump.cpp b/examples/creaturedump.cpp index 73d9afdcc..f9ec1cf18 100644 --- a/examples/creaturedump.cpp +++ b/examples/creaturedump.cpp @@ -186,7 +186,7 @@ void printCreature(DFHack::API & DF, const DFHack::t_creature & creature) cout << endl; addendl = false; } - cout << "profession: " /*<< mem->getProfession(creature.profession) <<*/ "(" << (int) creature.profession << ")"; + cout << "profession: " << mem->getProfession(creature.profession) << "(" << (int) creature.profession << ")"; /* if(creature.custom_profession[0]) { diff --git a/output/Memory.xml b/output/Memory.xml index 227c66a0e..dc0382c20 100644 --- a/output/Memory.xml +++ b/output/Memory.xml @@ -1300,308 +1300,106 @@ ==================================================================== TODO: Parse this and turn it into Profession tags. Cross-reference with Memory-40d.xml - + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 60 + 62 + 63 + 64 + 65 + 66 + 58 + 59 + 61 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 88 + 89 + 90 ==================================================================== J O B S ====================================================================