Windows offset for save name, some tweaks, updated stonesense submodule to current.

develop
Petr Mrázek 2011-10-23 22:23:54 +02:00
parent 56e8e8009a
commit 998d85919f
4 changed files with 51 additions and 44 deletions

@ -2304,6 +2304,9 @@
<Offset name="countdown" value="0xc"/> <Offset name="countdown" value="0xc"/>
</Group> </Group>
</Group> </Group>
<Group name="World">
<Address name="save_folder" value="0x1847A40" />
</Group>
</Offsets> </Offsets>
cmake cmake
item vector: item vector:

@ -597,7 +597,8 @@ namespace DFHack
uint32_t unk_48c; // blood_max? uint32_t unk_48c; // blood_max?
uint32_t blood_count; // 490 uint32_t blood_count; // 490
uint32_t unk_494; uint32_t unk_494;
std::vector<void*> unk_498; // dirt, grime, FB blood, mud and plain old filth stuck to the poor thing's parts and pieces
std::vector<void*> contaminants;
std::vector<uint16_t> unk_4a8; std::vector<uint16_t> unk_4a8;
std::vector<uint16_t> unk_4b8; std::vector<uint16_t> unk_4b8;
uint32_t unk_4c8; uint32_t unk_4c8;

@ -55,14 +55,17 @@ DFhackCExport command_result filltraffic(DFHack::Core * c, std::vector<std::stri
{ {
c->con.print("Flood-fill selected traffic type from the cursor.\n" c->con.print("Flood-fill selected traffic type from the cursor.\n"
"Traffic Type Codes:\n" "Traffic Type Codes:\n"
" H: High Traffic\n" "\tH: High Traffic\n"
" N: Normal Traffic\n" "\tN: Normal Traffic\n"
" L: Low Traffic\n" "\tL: Low Traffic\n"
" R: Restricted Traffic\n" "\tR: Restricted Traffic\n"
"Other Options:\n" "Other Options:\n"
" X: Fill accross z-levels.\n" "\tX: Fill accross z-levels.\n"
" B: Include buildings and stockpiles.\n" "\tB: Include buildings and stockpiles.\n"
" P: Include empty space.\n" "\tP: Include empty space.\n"
"Example:\n"
"'filltraffic H' - When used in a room with doors,\n"
" it will set traffic to HIGH in just that room."
); );
return CR_OK; return CR_OK;
} }

@ -1 +1 @@
Subproject commit c140ed8d6dbe05854ee1499540814d5f358a960a Subproject commit 8a907d1cb391aebf8447a5921544517e48af02c7