#undef main
#endif
+//hm. :-/
+// This is stuff we pass into the mainWindow...
+bool noUntunedTankPlease = false;
+
// Here's the main application loop--short and simple...
int main(int argc, char * argv[])
{
// Normally, this would be read in from the settings module... :-P
vjs.hardwareTypeAlpine = false;
+ // This is stuff we pass into the mainWindow...
+// noUntunedTankPlease = false;
if (argc > 1)
{
"there is enough demand for it. :-)\n");
return 0;
}
+
if (strcmp(argv[1], "--yarrr") == 0)
{
printf("\n");
printf("\n");
return 0;
}
+
if ((strcmp(argv[1], "--alpine") == 0) || (strcmp(argv[1], "-a") == 0))
{
printf("Alpine Mode enabled.\n");
vjs.hardwareTypeAlpine = true;
}
+
+ if (strcmp(argv[1], "--please-dont-kill-my-computer") == 0)
+ {
+ noUntunedTankPlease = true;
+ }
}
Q_INIT_RESOURCE(virtualjaguar); // This must the same name as the exe filename
App::App(int argc, char * argv[]): QApplication(argc, argv)
{
mainWindow = new MainWin();
+ mainWindow->plzDontKillMyComputer = noUntunedTankPlease;
mainWindow->show();
}