2010-12-31 00:49:22 +01:00
|
|
|
#ifndef STARTUPPROCESS_H_
|
|
|
|
#define STARTUPPROCESS_H_
|
|
|
|
|
2011-06-14 19:53:19 +02:00
|
|
|
#include "GUI/gui.h"
|
2010-12-31 00:49:22 +01:00
|
|
|
|
|
|
|
class StartUpProcess
|
|
|
|
{
|
2021-08-01 19:00:42 +02:00
|
|
|
public:
|
|
|
|
static int Run(int argc, char *argv[]);
|
2010-12-31 00:49:22 +01:00
|
|
|
|
2021-08-01 19:00:42 +02:00
|
|
|
private:
|
|
|
|
StartUpProcess();
|
|
|
|
~StartUpProcess();
|
|
|
|
int Execute(bool quickGameBoot);
|
|
|
|
bool USBSpinUp();
|
|
|
|
void TextFade(int direction);
|
|
|
|
void SetTextf(const char *format, ...);
|
|
|
|
void Draw();
|
|
|
|
static int ParseArguments(int argc, char *argv[]);
|
|
|
|
static int QuickGameBoot(const char *gameID);
|
2011-11-20 11:46:07 +01:00
|
|
|
|
2021-08-01 19:00:42 +02:00
|
|
|
bool drawCancel;
|
|
|
|
|
|
|
|
GuiImageData *GXImageData;
|
|
|
|
GuiImage *background;
|
|
|
|
GuiImage *GXImage;
|
|
|
|
GuiText *titleTxt;
|
|
|
|
GuiText *messageTxt;
|
|
|
|
GuiText *versionTxt;
|
|
|
|
GuiText *cancelTxt;
|
|
|
|
GuiButton *cancelBtn;
|
|
|
|
GuiTrigger *trigB;
|
2010-12-31 00:49:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|