Custom workshop support for DF 31.13 and 31.14 on Windows.

develop
Petr Mrázek 2010-09-27 06:59:24 +02:00
parent 4fc05ee45c
commit 1ef138cf5f
1 changed files with 75 additions and 15 deletions

@ -1477,6 +1477,12 @@
<Version name="v0.31.13 SDL" os="windows" base="DF2010"> <Version name="v0.31.13 SDL" os="windows" base="DF2010">
<MD5 value="59f194b0b2103ca5df7601a01ce21280" /> <MD5 value="59f194b0b2103ca5df7601a01ce21280" />
<PETimeStamp value="0x4C90ADA8" /> <PETimeStamp value="0x4C90ADA8" />
<VTable>
<multiclass name="building_trapst" typeoffset="0xF8 0x138" />
<multiclass name="building_workshopst" typeoffset="0xF8 0x138" /> 0x164 was custom workshop type... extrapolate? + 0x44
<multiclass name="building_furnacest" typeoffset="0x152" /> BOGUS
<multiclass name="building_siegeenginest" typeoffset="0xF8 0x138" />
</VTable>
<Offsets> <Offsets>
<Address name="WORLD" value="0x016425A0" /> <Address name="WORLD" value="0x016425A0" />
<Group name="vector"> <Group name="vector">
@ -1690,13 +1696,10 @@
</Group> </Group>
<Group name="Buildings"> <Group name="Buildings">
<Address name="buildings_vector" value="0x1656890"/> <Address name="buildings_vector" value="0x1656890"/>
Second possible: 0x16568a0 (can't decide) <Offset name="building_custom_workshop_type" value="0x11C" />
<!-- <Offset name="custom_workshop_name" value="0x4" />
<Offset name="building_custom_workshop_type"/> <Offset name="custom_workshop_type" value="0x20" />
<Address name="custom_workshop_vector"/> <Address name="custom_workshop_vector" value="0x0169fB6C" /> Second possible: 0x0169fb7C
<Offset name="custom_workshop_name"/>
<Offset name="custom_workshop_type"/>
-->
</Group> </Group>
</Offsets> </Offsets>
</Version> </Version>
@ -1722,14 +1725,7 @@
<Address name="language_vector" value="0x169b108 0x169b0fc"/> <Address name="language_vector" value="0x169b108 0x169b0fc"/>
<Address name="translation_vector" value="0x169b128 0x169b11c"/> <Address name="translation_vector" value="0x169b128 0x169b11c"/>
</Group> </Group>
<!-- <Group name="Materials">
<Group name="Creatures">
<Address name="vector" value="0x01655fe4"/>
<Address name="current_race" value="0x1482874" />
<Address name="current_civ" value="0x1482868" />
</Group>
-->
<Group name="Materials"> YES
<Address name="inorganics" value="0x169af24 0x1699f18 0x16BD0B0" /> <Address name="inorganics" value="0x169af24 0x1699f18 0x16BD0B0" />
<Address name="organics_all" value="0x169af34 0x1699f28 0x16BD0C8" /> <Address name="organics_all" value="0x169af34 0x1699f28 0x16BD0C8" />
<Address name="organics_trees" value="0x169af64 0x1699f58 0x16bd110" /> <Address name="organics_trees" value="0x169af64 0x1699f58 0x16bd110" />
@ -1741,6 +1737,9 @@
<Address name="all_colors_vector" value="0x16a0b58 0x169fb4c" /> <Address name="all_colors_vector" value="0x16a0b58 0x169fb4c" />
</Group> </Group>
</Group> </Group>
<Group name="Buildings">
<Address name="custom_workshop_vector" value="0x016A0B78" /> Second possible: 0x016a0b88
</Group>
</Offsets> </Offsets>
</Version> </Version>
.-"""-. .-"""-.
@ -2117,6 +2116,67 @@
</Group> </Group>
</Offsets> </Offsets>
</Version> </Version>
<Version name="v0.31.14 linux" os="linux" base="v0.31.13 linux" rebase="0x0">
<MD5 value="128c562c7936aa8f84786f69426f0691" />
<Offsets>
<Group name="Buildings">
<Address name="buildings_vector" value="0x92fb8e8" />
</Group>
<Group name="Constructions">
<Address name="vector" value="0x92e7904" />
</Group>
<Group name="Creatures">
<Address name="current_civ" value="0x92e2d9c" />
<Address name="current_race" value="0x92e2da8" />
<Address name="vector" value="0x92fb260" />
</Group>
<Group name="Maps">
<Address name="map_data" value="0x933a4E0" />
<Address name="x_count_block" value="0x933a4F4" />
<Address name="y_count_block" value="0x933a4F8" />
<Address name="z_count_block" value="0x933a4FC" />
<Address name="x_count" value="0x933a500" />
<Address name="y_count" value="0x933a504" />
<Address name="z_count" value="0x933a508" />
<Address name="region_x" value="0x933a50C" />
<Address name="region_y" value="0x933a510" />
<Address name="region_z" value="0x933a514" />
<Address name="world_size_x" value="0x933BB60" />
<Address name="world_size_y" value="0x933BB62" />
<Group name="features">
<Group name="global">
<Address name="vector" value="0x933C0FC" />
</Group>
<Group name="local">
<Address name="start_ptr" value="0x933C174" />
</Group>
</Group>
<Group name="geology">
<Address name="geoblock_vector" value="0x933C114" />
<Address name="ptr2_region_array" value="0x933C138" />
</Group>
</Group>
<Group name="Position">
<Address name="window_x" value="0x8ceb238" />
<Address name="window_y" value="0x8ceb23C" />
<Address name="window_z" value="0x8ceb240" />
<Address name="cursor_xyz" value="0x8b2e740" />
<Address name="window_dims" value="0x8b2ec48" />
<Address name="screen_tiles_pointer" invalid = "true" />
</Group>
<Group name="GUI">
<Address name="pause_state" value="0x92e0e90"/>
</Group>
<Group name="Vegetation">
<Address name="vector" value="0x92fbdc8" />
</Group>
<Group name="World">
<Address name="current_year" value="0x92e0da0" />
<Address name="current_tick" value="0x92e0dc0" />
<Address name="current_weather" value="0x092E0D84" />
</Group>
</Offsets>
</Version>
</DFHack> </DFHack>