v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "User:Jifodus/Memory research"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Memory research)
 
(Added addresses & offsets for 0.27.169.33c)
Line 71: Line 71:
 
| align="right" | 01C0
 
| align="right" | 01C0
 
| signed dword
 
| signed dword
 +
| skill_points
 +
| The number of skill levels left that can be assigned to the dwarf.
 +
 +
|}
 +
=v0.27.169.33c=
 +
==Addresses==
 +
{| width="100%" border="1" cellspacing="0" cellpadding="2"
 +
! width="12%" align="right" | Address
 +
! width="25%" | Type
 +
! width="13%" | Name
 +
! width="50%" | Information
 +
 +
|-
 +
| align="right" | 0x01250698
 +
| class game *
 +
| game_data
 +
| I have not actually determined if this is a class, but I'm reasonably sure that this points to a class.
 +
 +
|}
 +
==Classes==
 +
===class game===
 +
{| width="100%" border="1" cellspacing="0" cellpadding="2"
 +
! width="12%" align="right" | Offset (+Hex)
 +
! width="25%" | Type
 +
! width="13%" | Name
 +
! width="50%" | Information
 +
 +
|-
 +
| align="right" | 0004
 +
| class df_params *
 +
| start_params
 +
| The starting parameters for a new Dwarf Fortress game.
 +
 +
|}
 +
===class df_params===
 +
{| width="100%" border="1" cellspacing="0" cellpadding="2"
 +
! width="12%" align="right" | Offset (+Hex)
 +
! width="25%" | Type
 +
! width="13%" | Name
 +
! width="50%" | Information
 +
 +
|-
 +
| align="right" | (00DC) 00D8
 +
| std::vector<class dwarf_info>
 +
| dwarf_params
 +
| The starting dwarves.
 +
 +
|-
 +
| align="right" | 010E
 +
| word
 +
| sel_item
 +
| The current selected item in the item list.
 +
 +
|-
 +
| align="right" | 112
 +
| word
 +
| sel_item
 +
| The current selected animal in the pet list.
 +
 +
|-
 +
| align="right" | 7F8
 +
| signed dword
 +
| fortress_name_front
 +
| Fortress Name (Front Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 7FC
 +
| signed dword
 +
| fortress_name_rear
 +
| Fortress Name (Rear Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 800
 +
| signed dword
 +
| fortress_name_first
 +
| Fortress Name (First Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 804
 +
| signed dword
 +
| fortress_name_second
 +
| Fortress Name (Second Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 808
 +
| signed dword
 +
| fortress_name_hypen
 +
| Fortress Name (Hyphen Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 80C
 +
| signed dword
 +
| fortress_name_the
 +
| Fortress Name (The X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 810
 +
| signed dword
 +
| fortress_name_of
 +
| Fortress Name (Of X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 864
 +
| signed dword
 +
| group_name_front
 +
| Group Name (Front Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 868
 +
| signed dword
 +
| group_name_rear
 +
| Group Name (Rear Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 86C
 +
| signed dword
 +
| group_name_first
 +
| Group Name (First Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 870
 +
| signed dword
 +
| group_name_second
 +
| Group Name (Second Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 874
 +
| signed dword
 +
| group_name_hypen
 +
| Group Name (Hyphen Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 878
 +
| signed dword
 +
| group_name_the
 +
| Group Name (The X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 87C
 +
| signed dword
 +
| group_name_of
 +
| Group Name (Of X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 +
 +
|-
 +
| align="right" | 08F0
 +
| signed word
 +
| points
 +
| The current amount of points available to spend.
 +
 +
|}
 +
===class dwarf_info===
 +
{| width="100%" border="1" cellspacing="0" cellpadding="2"
 +
! width="12%" align="right" | Offset (+Hex)
 +
! width="25%" | Type
 +
! width="13%" | Name
 +
! width="50%" | Information
 +
 +
|-
 +
| align="right" | 0070
 +
| signed dword[80]
 +
| skills
 +
| The dwarf's skill levels.
 +
 +
|-
 +
| align="right" | 01C0
 +
| signed short
 
| skill_points
 
| skill_points
 
| The number of skill levels left that can be assigned to the dwarf.
 
| The number of skill levels left that can be assigned to the dwarf.
  
 
|}
 
|}

Revision as of 03:13, 25 November 2007

v0.27.169.33b

Addresses

Address Type Name Information
0x0124A6A0 class game * game_data I have not actually determined if this is a class, but I'm reasonably sure that this points to a class.

Classes

class game

Offset (+Hex) Type Name Information
0004 class df_params * start_params The starting parameters for a new Dwarf Fortress game.

class df_params

Offset (+Hex) Type Name Information
(00DC) 00D8 std::vector<class dwarf_info> dwarf_params The starting dwarves.
010E word sel_item The current selected item in the item list.
0290 signed word points The current amount of points available to spend.

class dwarf_info

Offset (+Hex) Type Name Information
0070 signed dword[80] skills The dwarf's skill levels.
01C0 signed dword skill_points The number of skill levels left that can be assigned to the dwarf.

v0.27.169.33c

Addresses

Address Type Name Information
0x01250698 class game * game_data I have not actually determined if this is a class, but I'm reasonably sure that this points to a class.

Classes

class game

Offset (+Hex) Type Name Information
0004 class df_params * start_params The starting parameters for a new Dwarf Fortress game.

class df_params

Offset (+Hex) Type Name Information
(00DC) 00D8 std::vector<class dwarf_info> dwarf_params The starting dwarves.
010E word sel_item The current selected item in the item list.
112 word sel_item The current selected animal in the pet list.
7F8 signed dword fortress_name_front Fortress Name (Front Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
7FC signed dword fortress_name_rear Fortress Name (Rear Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
800 signed dword fortress_name_first Fortress Name (First Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
804 signed dword fortress_name_second Fortress Name (Second Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
808 signed dword fortress_name_hypen Fortress Name (Hyphen Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
80C signed dword fortress_name_the Fortress Name (The X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
810 signed dword fortress_name_of Fortress Name (Of X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
864 signed dword group_name_front Group Name (Front Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
868 signed dword group_name_rear Group Name (Rear Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
86C signed dword group_name_first Group Name (First Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
870 signed dword group_name_second Group Name (Second Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
874 signed dword group_name_hypen Group Name (Hyphen Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
878 signed dword group_name_the Group Name (The X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
87C signed dword group_name_of Group Name (Of X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
08F0 signed word points The current amount of points available to spend.

class dwarf_info

Offset (+Hex) Type Name Information
0070 signed dword[80] skills The dwarf's skill levels.
01C0 signed short skill_points The number of skill levels left that can be assigned to the dwarf.