Working custom workshops on linux

develop
Petr Mrázek 2010-07-27 04:48:47 +02:00
parent efe6854e3d
commit 294855faef
2 changed files with 2 additions and 3 deletions

@ -2304,7 +2304,7 @@ map_data_1b60_offset 0x1B9c
Buildings Buildings
========= =========
<Address name="buildings_vector">0x92eb068</Address> <Address name="buildings_vector">0x92eb068</Address>
<Offset name="building_custom_workshop_type">0x164</Offset> WRONG <Offset name="building_custom_workshop_type">0xE0</Offset>
<Address name="custom_workshop_vector">0x93302e8</Address> <Address name="custom_workshop_vector">0x93302e8</Address>
<Offset name="custom_workshop_name">0x4</Offset> <Offset name="custom_workshop_name">0x4</Offset>

@ -79,10 +79,9 @@ int main (int argc,const char* argv[])
{ {
//cout << buildingtypes[temp.type] << " 0x" << hex << temp.origin << endl; //cout << buildingtypes[temp.type] << " 0x" << hex << temp.origin << endl;
//hexdump(DF, temp.origin, 16); //hexdump(DF, temp.origin, 16);
//addresses.push_back(temp.origin);
}
addresses.push_back(temp.origin); addresses.push_back(temp.origin);
} }
}
else else
{ {
// couldn't translate type, print out the vtable // couldn't translate type, print out the vtable