trade_patch_list.h 529 B

12345678910111213141516171819202122232425
  1. #ifndef TRADE_PATCH_LIST_H
  2. #define TRADE_PATCH_LIST_H
  3. #pragma once
  4. #include <gui/view.h>
  5. #include "../pokemon_app.h"
  6. #include "../pokemon_data.h"
  7. struct patch_list {
  8. uint8_t index;
  9. struct patch_list* next;
  10. };
  11. struct patch_list* plist_alloc(void);
  12. void plist_append(struct patch_list* plist, uint8_t index);
  13. void plist_free(struct patch_list* plist);
  14. uint8_t plist_index_get(struct patch_list* plist, int offset);
  15. void plist_create(struct patch_list** pplist, PokemonData* pdata);
  16. #endif /* TRADE_PATCH_LIST_H */