#ifndef POKEMON_APP_H #define POKEMON_APP_H #pragma once #include #include #include #include #include #include #include #include #include #include "pokemon_data.h" #define TAG "Pokemon" struct pokemon_fap { /* Various anonymous pointers for flipper UI/navigation */ ViewDispatcher* view_dispatcher; SceneManager* scene_manager; void* select; void* trade; Submenu* submenu; TextInput* text_input; VariableItemList* variable_item_list; DialogEx* dialog_ex; /* Struct for holding trade data */ /* NOTE: There may be some runtime memory savings by adding more intelligence * to views/trade and slimming down this struct to only contain the single * pokemon data rather than the full 6 member party data. */ PokemonData* pdata; /* Pin definition to actual Game Link Cable interface */ struct gblink_pins pins; }; typedef struct pokemon_fap PokemonFap; typedef enum { AppViewMainMenu, AppViewOpts, // Generic view ID meant for module re-use AppViewSelectPokemon, AppViewTrade, AppViewExitConfirm, } AppView; #endif /* POKEMON_APP_H */