|
|
@ -257,8 +257,8 @@ namespace DFHack
|
|
|
|
struct t_skill
|
|
|
|
struct t_skill
|
|
|
|
{
|
|
|
|
{
|
|
|
|
uint32_t id;
|
|
|
|
uint32_t id;
|
|
|
|
uint32_t experience;
|
|
|
|
|
|
|
|
uint32_t rating;
|
|
|
|
uint32_t rating;
|
|
|
|
|
|
|
|
uint32_t experience;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
struct t_job
|
|
|
|
struct t_job
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -385,6 +385,8 @@ namespace DFHack
|
|
|
|
bool WriteFlags(const uint32_t index, const uint32_t flags1, const uint32_t flags2);
|
|
|
|
bool WriteFlags(const uint32_t index, const uint32_t flags1, const uint32_t flags2);
|
|
|
|
bool WriteSkills(const uint32_t index, const t_soul &soul);
|
|
|
|
bool WriteSkills(const uint32_t index, const t_soul &soul);
|
|
|
|
bool WriteAttributes(const uint32_t index, const t_creature &creature);
|
|
|
|
bool WriteAttributes(const uint32_t index, const t_creature &creature);
|
|
|
|
|
|
|
|
bool WriteSex(const uint32_t index, const uint8_t sex);
|
|
|
|
|
|
|
|
bool WriteTraits(const uint32_t index, const t_soul &soul);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
struct Private;
|
|
|
|
struct Private;
|
|
|
|