@ -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
@ -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);
}