diff --git a/library/include/dfhack/modules/Vegetation.h b/library/include/dfhack/modules/Vegetation.h index e874830d8..0e8b121ac 100644 --- a/library/include/dfhack/modules/Vegetation.h +++ b/library/include/dfhack/modules/Vegetation.h @@ -44,11 +44,11 @@ namespace DFHack uint32_t is_burning; // 0x50: yes, just one flag uint32_t hitpoints; // 0x54 /** - * 0x58 - maybe related to the order in which plants are updated - * the updates are staggered into 8 groups? + * 0x58 - the updates are staggered into 9? groups. this seems to be what differentiates the plants. */ - uint32_t unknown_3; + uint32_t update_order; // a vector is here + // some more temperature stuff after that }; /** * Plant object read from the game diff --git a/tools/examples/treedump.cpp b/tools/examples/treedump.cpp index af6bf9b96..b599b6656 100644 --- a/tools/examples/treedump.cpp +++ b/tools/examples/treedump.cpp @@ -50,7 +50,7 @@ void print_tree( DFHack::Context * DF , DFHack::dfh_plant & tree) printf("temperature 2: %d\n", tdata.temperature_2); printf("On fire: %d\n", tdata.is_burning); printf("hitpoints: 0x%08x\n", tdata.hitpoints); - printf("unknown_3: 0x%08x\n", tdata.unknown_3); + printf("update order: %d\n", tdata.update_order); printf("Address: 0x%x\n", tree.address); hexdump(DF,tree.address,13*16); }