Skip to content

Commit 56ea51f

Browse files
committed
Reformated the ItemData struct
1 parent 337550e commit 56ea51f

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

ttyd-tools/rel/include/ttyd/item_data.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -348,23 +348,23 @@ enum Item : int16_t
348348

349349
struct ItemData
350350
{
351-
const char* itemStringId; // Used for recipe lookups, etc.
352-
const char* itemNameMsg;
353-
const char* itemDescMsg;
354-
const char* itemDescMenuMsg;
355-
uint16_t unk_0x10;
356-
int16_t typeSortOrder; // For "By Type" ordering
357-
int16_t buyPrice;
358-
int16_t discountPrice;
359-
int16_t starPiecePrice;
360-
int16_t sellPrice;
361-
int8_t bpCost;
362-
int8_t hpRestored;
363-
int8_t fpRestored;
364-
uint8_t unk_0x1f;
365-
int16_t iconId;
366-
uint16_t unk_0x22;
367-
void* attackParams;
351+
const char *itemStringId; // Used for recipe lookups, etc.
352+
const char *itemNameMsg;
353+
const char *itemDescMsg;
354+
const char *itemDescMenuMsg;
355+
uint16_t unk_0x10;
356+
int16_t typeSortOrder; // For "By Type" ordering
357+
int16_t buyPrice;
358+
int16_t discountPrice;
359+
int16_t starPiecePrice;
360+
int16_t sellPrice;
361+
int8_t bpCost;
362+
int8_t hpRestored;
363+
int8_t fpRestored;
364+
uint8_t unk_0x1f;
365+
int16_t iconId;
366+
uint16_t unk_0x22;
367+
void *attackParams;
368368
} __attribute__((__packed__));
369369

370370
extern "C" {

0 commit comments

Comments
 (0)