diff --git a/Makefile b/Makefile index e5c1355..5514991 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ ROMFS := romfs APP_TITLE := BOTW UI APP_AUTHOR := Jpe230 -APP_VERSION := 0.2 +APP_VERSION := 0.3 ICON := meta/icon.jpg #--------------------------------------------------------------------------------- diff --git a/include/MainMenu.h b/include/MainMenu.h index f998f2e..25b6175 100644 --- a/include/MainMenu.h +++ b/include/MainMenu.h @@ -12,6 +12,7 @@ SDL_Surface* screenSurface; SDL_Renderer* renderer; TTF_Font *Arial, *Arial_S, *Arial_M; SDL_Texture *sprites[200]; +SDL_Texture *saveFileImg[6]; SDL_Texture *GreenRupee; SDL_Texture *back; SDL_Texture *bbutton; diff --git a/include/botw_backend.h b/include/botw_backend.h index 93105e9..4cd89d1 100644 --- a/include/botw_backend.h +++ b/include/botw_backend.h @@ -4,7 +4,6 @@ #include #include #include -#include "mount.h" diff --git a/include/main.h b/include/main.h index fbe7588..e9f8188 100644 --- a/include/main.h +++ b/include/main.h @@ -2,8 +2,11 @@ #define _main_h_ #include +#include +#include #include "MainMenu.h" #include "botw_backend.h" +#include "mount.h" int buttons; int currentPage; @@ -30,7 +33,6 @@ void MenuButtons(int x); void MenuButtonsSlot(int x); void ConfirmButton(); void setPages(); -void returnMainScreen(); void KeyboardButtons(int x); void BackButton(); void ItemMenu(int x); @@ -39,6 +41,7 @@ void comboBox(int x); void dropMenuButtons(int x); void KeyboardLogic(); void exitMen(); +int file_exist (char *filename); diff --git a/include/mount.h b/include/mount.h index 1e6d87b..52dc773 100644 --- a/include/mount.h +++ b/include/mount.h @@ -3,7 +3,7 @@ void unmountSaveData(); -void mountSaveData(); +int mountSaveData(); #endif // TRANSLATIONS_H_ \ No newline at end of file diff --git a/romfs/missingSlot.png b/romfs/missingSlot.png new file mode 100644 index 0000000..07ba0ff Binary files /dev/null and b/romfs/missingSlot.png differ