mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-03-21 17:55:13 -05:00
21 lines
640 B
C
21 lines
640 B
C
#ifndef POKEPLATINUM_STRING_LIST_H
|
|
#define POKEPLATINUM_STRING_LIST_H
|
|
|
|
#include "message.h"
|
|
#include "string_gf.h"
|
|
|
|
#define STRING_LIST_TERMINATOR ((void *)0xFFFFFFFF)
|
|
|
|
typedef struct StringList {
|
|
void *entry;
|
|
u32 index;
|
|
} StringList;
|
|
|
|
StringList *StringList_New(u32 capacity, u32 heapID);
|
|
void StringList_Free(StringList *list);
|
|
void StringList_AddFromMessageBank(StringList *list, const MessageLoader *loader, u32 bankEntry, u32 index);
|
|
void StringList_AddFromString(StringList *list, const String *string, u32 index);
|
|
void StringList_AddFromEntry(StringList *list, const StringList *entry);
|
|
|
|
#endif // POKEPLATINUM_STRING_LIST_H
|