Add Autoboot into a script.
This commit is contained in:
parent
05d809e0bc
commit
3a659fd768
10 changed files with 211 additions and 78 deletions
|
|
@ -34,6 +34,7 @@ namespace Msg
|
|||
void DisplayMsg(std::string text);
|
||||
void DisplayWarnMsg(std::string Text);
|
||||
bool promptMsg(std::string promptMsg);
|
||||
void DisplayStartMSG();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
@ -38,9 +38,11 @@ class ScriptList : public Screen
|
|||
public:
|
||||
void Draw(void) const override;
|
||||
void Logic(u32 hDown, u32 hHeld, touchPosition touch) override;
|
||||
ScriptList();
|
||||
private:
|
||||
void deleteScript(int selectedScript);
|
||||
|
||||
void refreshList();
|
||||
|
||||
void DrawSubMenu(void) const;
|
||||
void DrawList(void) const;
|
||||
void DrawSingleObject(void) const;
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ public:
|
|||
void Logic(u32 hDown, u32 hHeld, touchPosition touch) override;
|
||||
UniStore();
|
||||
private:
|
||||
void refreshList();
|
||||
|
||||
void DrawSubMenu(void) const;
|
||||
void DrawStoreList(void) const;
|
||||
void DrawStore(void) const;
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@
|
|||
#include <string>
|
||||
|
||||
namespace Config {
|
||||
extern int LangPath, lang, Color1, Color2, Color3, TxtColor, SelectedColor, UnselectedColor, viewMode, progressbarColor;
|
||||
extern std::string ScriptPath, MusicPath, StorePath, UniStoreFile;
|
||||
extern bool Logging, UseBars, GodMode, autobootUnistore;
|
||||
extern int LangPath, lang, Color1, Color2, Color3, TxtColor, SelectedColor, UnselectedColor, viewMode, progressbarColor, autoboot;
|
||||
extern std::string ScriptPath, MusicPath, StorePath, AutobootFile;
|
||||
extern bool Logging, UseBars, GodMode;
|
||||
|
||||
void load();
|
||||
void save();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue