diff --git a/source/PromptWindows.cpp b/source/PromptWindows.cpp index 1fafa3ef..3c13b1a5 100644 --- a/source/PromptWindows.cpp +++ b/source/PromptWindows.cpp @@ -161,7 +161,7 @@ void WindowCredits() starImg.SetAlignment(ALIGN_LEFT, ALIGN_TOP); starImg.SetPosition(505,350); - int numEntries = 25; + int numEntries = 20; GuiText * txt[numEntries]; txt[i] = new GuiText(LANGUAGE.Credits, 26, (GXColor){255, 255, 255, 255}); @@ -186,96 +186,81 @@ void WindowCredits() FTGX_JUSTIFY_LEFT | FTGX_ALIGN_TOP, ALIGN_LEFT, ALIGN_TOP); txt[i] = new GuiText("Coding:"); - txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(170,y); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(70,y); i++; - txt[i] = new GuiText("dimok"); - txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(320,y); - i++; - y+=22; - - txt[i] = new GuiText("nIxx"); - txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(320,y); - i++; - y+=22; - - txt[i] = new GuiText("hungyip84"); - txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(320,y); - i++; - y+=22; - - txt[i] = new GuiText("giantpune"); - txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(320,y); - i++; - y+=22; - txt[i] = new GuiText("ardi"); - txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(320,y); + txt[i] = new GuiText("dimok / nIxx"); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(220,y); i++; y+=24; + txt[i] = new GuiText("hungyip84 / giantpune"); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(220,y); + i++; + y+=24; + + txt[i] = new GuiText("ardi / DrayX7"); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(220,y); + i++; + y+=34; + txt[i] = new GuiText("Design:"); - txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(170,y); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(70,y); i++; - txt[i] = new GuiText("cyrex"); - txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(320,y); + txt[i] = new GuiText("cyrex / NeoRame / WiiShizzza"); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(220,y); + i++; + y+=20; + + txt[i] = new GuiText(" "); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(220,y); i++; y+=22; - txt[i] = new GuiText("NeoRame"); - txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(320,y); + txt[i] = new GuiText(LANGUAGE.Thanksto); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(70,y); i++; - y+=22; - txt[i] = new GuiText("WiiShizza"); - txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(320,y); + char text[100]; + sprintf(text, "djtaz %s", LANGUAGE.Forhostingcovers); + txt[i] = new GuiText(text); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(220,y); i++; - y+=28; + y+=24; + + sprintf(text, "CorneliousJD %s", LANGUAGE.Forhostingupdatefiles); + txt[i] = new GuiText(text); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(220,y); + i++; + y+=30; txt[i] = new GuiText(LANGUAGE.Specialthanksto); - txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(-50,y); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(70,y); i++; + y+=24; - txt[i] = new GuiText(":"); - txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(30,y+3); + sprintf(text, "Tantric %s LibWiiGui", LANGUAGE.awesometool); + txt[i] = new GuiText(text); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(100,y); i++; y+=22; - txt[i] = new GuiText("Fishears/Nuke Ocarina & WiiPower Vidpatch"); - txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(0,y); - i++; - - txt[i] = new GuiText(LANGUAGE.For); - txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(-80,y); - txt[i]->SetPosition(-80, y); - i++; - txt[i] = new GuiText(LANGUAGE.For); - txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(130,y); - txt[i]->SetPosition(130, y); - i++; - - y+=22; - - txt[i] = new GuiText("Tantric libwiigui"); - txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(0,y); - i++; - txt[i] = new GuiText(LANGUAGE.For); - txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); //txt[i]->SetPosition(-3,y); - txt[i]->SetPosition(-3, y); + sprintf(text, "Waninkoko & Kwiirk %s", LANGUAGE.theUSBLoaderandreleasingthesourcecode); + txt[i] = new GuiText(text); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(100,y); i++; y+=22; - txt[i] = new GuiText("Waninkoko & Kwiirk USB Loader"); - txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(0,y); - i++; - txt[i] = new GuiText(LANGUAGE.For); - txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(30,y); - txt[i]->SetPosition(30, y); + sprintf(text, "Fishears/Nuke %s Ocarina", LANGUAGE.For); + txt[i] = new GuiText(text); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(100,y); i++; y+=22; - txt[i] = new GuiText(LANGUAGE.theUSBLoaderandreleasingthesourcecode); - txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(0,y); + sprintf(text, "WiiPower %s", LANGUAGE.diversepatches); + txt[i] = new GuiText(text); + txt[i]->SetAlignment(ALIGN_LEFT, ALIGN_TOP); txt[i]->SetPosition(100,y); i++; y+=22; diff --git a/source/language.c b/source/language.c index 2d93c3d7..8d6913fe 100644 --- a/source/language.c +++ b/source/language.c @@ -38,6 +38,7 @@ snprintf(LANGUAGE.Areyousure, sizeof(LANGUAGE.Areyousure), "Are you sure?"); snprintf(LANGUAGE.available, sizeof(LANGUAGE.available), "available"); snprintf(LANGUAGE.AutoPatch, sizeof(LANGUAGE.AutoPatch), "AutoPatch"); snprintf(LANGUAGE.Always, sizeof(LANGUAGE.Always), "0 (Always)"); +snprintf(LANGUAGE.awesometool, sizeof(LANGUAGE.awesometool), "for his awesome tool"); snprintf(LANGUAGE.Back, sizeof(LANGUAGE.Back), "Back"); snprintf(LANGUAGE.Backgroundmusic, sizeof(LANGUAGE.Backgroundmusic), "Backgroundmusic"); snprintf(LANGUAGE.Backgroundmusicpath, sizeof(LANGUAGE.Backgroundmusicpath), "Backgroundmusic Path changed."); @@ -87,6 +88,7 @@ snprintf(LANGUAGE.Downloadfinished, sizeof(LANGUAGE.Downloadfinished), "Download snprintf(LANGUAGE.Defaultgamesettings, sizeof(LANGUAGE.Defaultgamesettings), "Default Gamesettings"); snprintf(LANGUAGE.Defaultsettings, sizeof(LANGUAGE.Defaultsettings), "Default Settings"); snprintf(LANGUAGE.Default, sizeof(LANGUAGE.Default), "Default"); +snprintf(LANGUAGE.diversepatches, sizeof(LANGUAGE.diversepatches), "for diverse patches"); snprintf(LANGUAGE.Error, sizeof(LANGUAGE.Error), "Error !"); snprintf(LANGUAGE.hour, sizeof(LANGUAGE.hour), "Hour"); snprintf(LANGUAGE.Homemenu, sizeof(LANGUAGE.Homemenu), "HOME Menu"); @@ -118,6 +120,8 @@ snprintf(LANGUAGE.Format, sizeof(LANGUAGE.Format), "Format"); snprintf(LANGUAGE.keyboard, sizeof(LANGUAGE.keyboard), "Keyboard"); snprintf(LANGUAGE.Formattingpleasewait, sizeof(LANGUAGE.Formattingpleasewait), "Formatting, please wait..."); snprintf(LANGUAGE.formated, sizeof(LANGUAGE.formated), "formatted!"); +snprintf(LANGUAGE.Forhostingcovers, sizeof(LANGUAGE.Forhostingcovers), "for hosting the covers/discarts"); +snprintf(LANGUAGE.Forhostingupdatefiles, sizeof(LANGUAGE.Forhostingupdatefiles), "for hosting the update files"); snprintf(LANGUAGE.free, sizeof(LANGUAGE.free), "free"); snprintf(LANGUAGE.FreeSpace, sizeof(LANGUAGE.FreeSpace), "Free Space"); snprintf(LANGUAGE.FullShutdown, sizeof(LANGUAGE.FullShutdown), "Full Shutdown"); @@ -187,13 +191,12 @@ snprintf(LANGUAGE.Rumble, sizeof(LANGUAGE.Rumble), "Rumble"); snprintf(LANGUAGE.QuickBoot, sizeof(LANGUAGE.QuickBoot), "Quick Boot"); snprintf(LANGUAGE.Save, sizeof(LANGUAGE.Save), "Save"); snprintf(LANGUAGE.SaveFailed, sizeof(LANGUAGE.SaveFailed), "Save Failed"); -snprintf(LANGUAGE.Specialthanksto, sizeof(LANGUAGE.Specialthanksto), "Special thanks to"); +snprintf(LANGUAGE.Specialthanksto, sizeof(LANGUAGE.Specialthanksto), "Special thanks to:"); snprintf(LANGUAGE.For, sizeof(LANGUAGE.For), "for"); -snprintf(LANGUAGE.theUSBLoaderandreleasingthesourcecode, sizeof(LANGUAGE.theUSBLoaderandreleasingthesourcecode), "and releasing the source code"); +snprintf(LANGUAGE.theUSBLoaderandreleasingthesourcecode, sizeof(LANGUAGE.theUSBLoaderandreleasingthesourcecode), "for the USB Loader source code"); snprintf(LANGUAGE.secondsleft, sizeof(LANGUAGE.secondsleft), "seconds left"); snprintf(LANGUAGE.Setasbackgroundmusic, sizeof(LANGUAGE.Setasbackgroundmusic), "Set as backgroundmusic?"); snprintf(LANGUAGE.SelectthePartition, sizeof(LANGUAGE.SelectthePartition), "Select the Partition"); -snprintf(LANGUAGE.Specialthanksto, sizeof(LANGUAGE.Specialthanksto), "Special thanks to"); snprintf(LANGUAGE.youwanttoformat, sizeof(LANGUAGE.youwanttoformat), "you want to format"); snprintf(LANGUAGE.Standard, sizeof(LANGUAGE.Standard), "Standard"); snprintf(LANGUAGE.settings, sizeof(LANGUAGE.settings), "Settings"); @@ -206,6 +209,7 @@ snprintf(LANGUAGE.Successfullyupdated, sizeof(LANGUAGE.Successfullyupdated), "Su snprintf(LANGUAGE.Successfullydeleted, sizeof(LANGUAGE.Successfullydeleted), "Successfully deleted:"); snprintf(LANGUAGE.SuccessfullySaved, sizeof(LANGUAGE.SuccessfullySaved), "Successfully Saved"); snprintf(LANGUAGE.SystemDefault, sizeof(LANGUAGE.SystemDefault), "System Default"); +snprintf(LANGUAGE.Thanksto, sizeof(LANGUAGE.Thanksto), "Big thanks to:"); snprintf(LANGUAGE.ThemePath, sizeof(LANGUAGE.ThemePath), "ThemePath"); snprintf(LANGUAGE.ThemepathChanged, sizeof(LANGUAGE.ThemepathChanged), "Themepath Changed"); snprintf(LANGUAGE.Themepathchange, sizeof(LANGUAGE.Themepathchange), "Themepath change"); @@ -297,6 +301,10 @@ void language_set(char *name, char *val) strcopy(LANGUAGE.Always, val, sizeof(LANGUAGE.Always)); return; } + if (strcmp(name, "awesometool") == 0) { + strcopy(LANGUAGE.awesometool, val, sizeof(LANGUAGE.awesometool)); + return; + } if (strcmp(name, "Back") == 0) { strcopy(LANGUAGE.Back, val, sizeof(LANGUAGE.Back)); return; @@ -485,6 +493,10 @@ void language_set(char *name, char *val) strcopy(LANGUAGE.Default, val, sizeof(LANGUAGE.Default)); return; } + if (strcmp(name, "diversepatches") == 0) { + strcopy(LANGUAGE.diversepatches, val, sizeof(LANGUAGE.diversepatches)); + return; + } if (strcmp(name, "Error") == 0) { strcopy(LANGUAGE.Error, val, sizeof(LANGUAGE.Error)); return; @@ -605,6 +617,14 @@ void language_set(char *name, char *val) strcopy(LANGUAGE.formated, val, sizeof(LANGUAGE.formated)); return; } + if (strcmp(name, "Forhostingcovers") == 0) { + strcopy(LANGUAGE.Forhostingcovers, val, sizeof(LANGUAGE.Forhostingcovers)); + return; + } + if (strcmp(name, "Forhostingupdatefiles") == 0) { + strcopy(LANGUAGE.Forhostingupdatefiles, val, sizeof(LANGUAGE.Forhostingupdatefiles)); + return; + } if (strcmp(name, "free") == 0) { strcopy(LANGUAGE.free, val, sizeof(LANGUAGE.free)); return; @@ -889,10 +909,6 @@ void language_set(char *name, char *val) strcopy(LANGUAGE.SaveFailed, val, sizeof(LANGUAGE.SaveFailed)); return; } - if (strcmp(name, "Specialthanksto") == 0) { - strcopy(LANGUAGE.Specialthanksto, val, sizeof(LANGUAGE.Specialthanksto)); - return; - } if (strcmp(name, "theUSBLoaderandreleasingthesourcecodethe") == 0) { strcopy(LANGUAGE.theUSBLoaderandreleasingthesourcecode, val, sizeof(LANGUAGE.theUSBLoaderandreleasingthesourcecode)); return; @@ -953,6 +969,10 @@ void language_set(char *name, char *val) strcopy(LANGUAGE.SystemDefault, val, sizeof(LANGUAGE.SystemDefault)); return; } + if (strcmp(name, "Thanksto") == 0) { + strcopy(LANGUAGE.Thanksto, val, sizeof(LANGUAGE.Thanksto)); + return; + } if (strcmp(name, "ThemePath") == 0) { strcopy(LANGUAGE.ThemePath, val, sizeof(LANGUAGE.ThemePath)); return; diff --git a/source/language.h b/source/language.h index 26cfd9f7..5053cf7b 100644 --- a/source/language.h +++ b/source/language.h @@ -19,6 +19,7 @@ struct LANGUAGE char Areyousure[50]; char AutoPatch[30]; char Always[50]; + char awesometool[50]; char Back[20]; char Backgroundmusic[80]; char Backgroundmusicpath[100]; @@ -68,6 +69,7 @@ struct LANGUAGE char Defaultgamesettings[50]; char Defaultsettings[40]; char Default[40]; + char diversepatches[60]; char Error[30]; char BOOTERROR[50]; char ErrorreadingDisc[50]; @@ -92,6 +94,8 @@ struct LANGUAGE char filesleft[50]; char FlipX[50]; char Force[50]; + char Forhostingcovers[80]; + char Forhostingupdatefiles[80]; char Youneedtoformatapartition[80]; char Format[50]; char Formattingpleasewait[70]; @@ -189,6 +193,7 @@ struct LANGUAGE char Successfullydeleted[60]; char SuccessfullySaved[50]; char SystemDefault[50]; + char Thanksto[50]; char ThemePath[50]; char ThemepathChanged[50]; char Themepathchange[80];