Offsets, assorted funstuff

develop
Petr Mrázek 2010-04-06 22:47:50 +02:00
parent 7b1edd5122
commit 216cfa74e6
4 changed files with 13 additions and 8 deletions

@ -1,7 +1,7 @@
#ifndef CL_MOD_POSITION
#define CL_MOD_POSITION
/*
* Translation of names
* DF translation tables and name translation
*/
#include "Export.h"
namespace DFHack
@ -21,9 +21,7 @@ namespace DFHack
~Translation();
bool Start();
bool Finish();
/*
* DF translation tables and name translation
*/
// Get pointer to the two dictionary structures
Dicts * getDicts();
// translate a name using the loaded dictionaries

@ -53,7 +53,6 @@ struct Maps::Private
APIPrivate *d;
bool Inited;
bool Started;
//uint32_t biome_stuffs;
vector<uint16_t> v_geology[eBiomeCount];
};

@ -46,9 +46,6 @@ struct Translation::Private
APIPrivate *d;
bool Inited;
bool Started;
//uint32_t biome_stuffs;
//vector<uint16_t> v_geology[eBiomeCount];
};
Translation::Translation(APIPrivate * d_)

@ -2972,6 +2972,11 @@ map_data_1b60_offset 0x1B9c
<Offset name="creature_artifact_name">0x6D0</Offset>
<Offset name="creature_labors">0x770</Offset>
<Offset name="creature_happiness">0x830</Offset>
<!-- from DT -->
<Address name="dwarf_race_index">0x01470fbc</Address>DWORD, OK
This seems to be wrong:
creature_vector = 0x0166ed2c
Materials
=========
@ -3017,6 +3022,12 @@ map_data_1b60_offset 0x1B9c
<Address name="construction_vector">0x165b290</Address>
<Offset name="sizeof_construction">0x14</Offset>
Translations
============
<Address name="language_vector">0x016B0008</Address>
<Address name="translation_vector">0x016AFFD8</Address>
<Offset name="word_table">0x58</Offset>
<!--
addresses from belal: vectors might need 8 subtracted from them
buildings 0x0166f9a8