| 123456789101112131415161718192021222324 |
- #ifndef TRADE_PATCH_LIST_H
- #define TRADE_PATCH_LIST_H
- #pragma once
- #include <gui/view.h>
- #include "../pokemon_app.h"
- struct patch_list {
- uint8_t index;
- struct patch_list* next;
- };
- struct patch_list* plist_alloc(void);
- void plist_append(struct patch_list* plist, uint8_t index);
- void plist_free(struct patch_list* plist);
- uint8_t plist_index_get(struct patch_list* plist, int offset);
- void plist_create(struct patch_list** pplist, TradeBlock* trade_block);
- #endif /* TRADE_PATCH_LIST_H */
|