Added 'other' to the material dump. Fixed offsets for it in recent versions.

develop
Petr Mrázek 2011-04-01 04:20:49 +02:00
parent 1e893295ce
commit bbf64a1614
2 changed files with 9 additions and 0 deletions

@ -2126,6 +2126,9 @@
<Offset name="biome_stuffs" value="0x1d80" />
</Group>
</Group>
<Group name="Materials">
<Address name="other" value="0x170d0e8" />
</Group>
<Group name="World">
<Address name="control_mode" value="0xb33814" />
<Address name="game_mode" value="0xb33818"/>

@ -135,6 +135,12 @@ int main (int numargs, const char ** args)
}
cout << endl;
}
cout << endl << "----==== Other ====----" << endl;
Materials->ReadOthers ();
for(uint32_t i = 0; i < Materials->other.size();i++)
{
cout << i << ": " << Materials->other[i].rawname << endl;
}
#ifndef LINUX_BUILD
cout << "Done. Press any key to continue" << endl;
cin.ignore();