Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: SavedGames/SavedGames.h
- Revision:
- 54:d46459104dea
- Parent:
- 53:01be7898c23f
- Child:
- 59:0b2e43312d6b
--- a/SavedGames/SavedGames.h Tue May 19 17:59:07 2020 +0000 +++ b/SavedGames/SavedGames.h Tue May 19 18:32:18 2020 +0000 @@ -47,18 +47,28 @@ void error_open_file(N5110 &lcd); /** Adds saved data to sd card - * @param SavedGamesData @details Saved game data struct * @param sd @details sd card object * @param data @details SavedGamesData struct + * @param lcd @details N5110 object */ void add_saved_data(SDFileSystem &sd, SavedGamesData data, N5110 &lcd); /** Reads saved data to sd card - * @param SavedGamesData @details Saved game data struct * @param sd @details sd card object - * @param data @details SavedGamesData struct + * @param lcd @details N5110 object */ void read_saved_data(SDFileSystem &sd, N5110 &lcd); + + /** Scrolls through the diffent saved games parts + * @param pad @details Gamepad object + * @param d_ @details Direction of joystick + */ + void saved_games_scroll(Gamepad &pad, Direction d_); + + /** Draws the saved game screen + * @param lcd @details N5110 object + */ + void display_saved_games(N5110 &lcd); // Accessors and mutators -------------------------------------------------- @@ -79,5 +89,8 @@ /** Struct of game data types */ //SavedGamesData data; + + /** Variable for which vector data to select */ + int display_data_number_; }; #endif \ No newline at end of file