Yes you're right ! I'll definitely do it very soon

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
File *input = File.Open("$SAVEGAMEDIR$/user.cfg", eFileRead);
if (input)
{
String translation = input.ReadStringBack();
Game.ChangeTranslation(translation);
}
if (Game.TranslationFilename == "French")
{
File *output = File.Open("$SAVEGAMEDIR$/user.cfg", eFileWrite);
output.WriteString("French");
bNewgame.NormalGraphic=4;
bNewgame.MouseOverGraphic=8;
bNewgame.PushedGraphic=5;
bLoad1.NormalGraphic=6;
bLoad1.MouseOverGraphic=9;
bLoad1.PushedGraphic=7;
bQuit1.NormalGraphic=30;
bQuit1.MouseOverGraphic=4505;
bQuit1.PushedGraphic=31;
}
if (Game.TranslationFilename == "English")
{
File *output = File.Open("$SAVEGAMEDIR$/user.cfg", eFileWrite);
output.WriteString("English");
bNewgame.NormalGraphic=6995;
bNewgame.MouseOverGraphic=6996;
bNewgame.PushedGraphic=6997;
bLoad1.NormalGraphic=6998;
bLoad1.MouseOverGraphic=6999;
bLoad1.PushedGraphic=7000;
bQuit1.NormalGraphic=7001;
bQuit1.MouseOverGraphic=7002;
bQuit1.PushedGraphic=7003;
}
function bTurnEN_OnClick(GUIControl *control, MouseButton button) ////VERS EN/////
{
File *output = File.Open("$SAVEGAMEDIR$/user.cfg", eFileWrite);
output.WriteString("English");
Game.ChangeTranslation("English");
bNewgame.NormalGraphic=6995;
bNewgame.MouseOverGraphic=6996;
bNewgame.PushedGraphic=6997;
bLoad1.NormalGraphic=6998;
bLoad1.MouseOverGraphic=6999;
bLoad1.PushedGraphic=7000;
bQuit1.NormalGraphic=7001;
bQuit1.MouseOverGraphic=7002;
bQuit1.PushedGraphic=7003;
}
function bTurnFR_OnClick(GUIControl *control, MouseButton button) ///VERS FR////
{
File *output = File.Open("$SAVEGAMEDIR$/user.cfg", eFileWrite);
output.WriteString("French");
Game.ChangeTranslation("French");
bNewgame.NormalGraphic=4;
bNewgame.MouseOverGraphic=8;
bNewgame.PushedGraphic=5;
bLoad1.NormalGraphic=6;
bLoad1.MouseOverGraphic=9;
bLoad1.PushedGraphic=7;
bQuit1.NormalGraphic=30;
bQuit1.MouseOverGraphic=4505;
bQuit1.PushedGraphic=31;
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.073 seconds with 15 queries.