I don't know if they changed it or not, but I assume they didn't, so:
Quote:
|
Originally Posted by xijezu
Code:
// The db_item.ref structure is the following:
struct HEADER {
int entries;
int string_length;
}header;
struct MAIN {
char filename[string_length];
}main[header.entries];
// The numbers for model, icon_file_name, etc.
// are the position/index of the relevant "filename"
// in the db_item.ref. Remember: The index starts
// at 0, not 1!
|
I released the item rdb (including ref) struct for 9.4 like 1 1/2 years ago, lol