Improved Game Settings (by Arynn)

- fixed corruption of ja2.set
- ja2.set will no be saved to ja2_settings.ini
- a few more minor game setting fixes and error tracings


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2844 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2009-05-12 11:52:35 +00:00
parent c9117c2939
commit 2e99cbe784
31 changed files with 827 additions and 1575 deletions
+32 -145
View File
@@ -8,6 +8,9 @@
#endif
#endif
//suppress : warning LNK4221: no public symbols found; archive member will be inaccessible
void this_is_the_ChineseText_public_symbol(void){;}
#if defined( CHINESE )
/*
@@ -3691,80 +3694,19 @@ STR16 zOptionsToggleText[] =
L"沉默的Skyrider", //"Silent Skyrider",
L"降低CPU的使用率", //"Low CPU usage",
L"Enhanced Description Box",
L"强制回合制模式",//L"Forced Turn Mode", // arynn : add forced turn mode
// arynn : reset all toggle options, in cases for corrupted JA2.set files (and general debugging of options)
L"重置所有选项", //L"Reset ALL game options",
L"确定要重置?",//L"Do you really want to reset?",
// arynn : a sample options screen options header, just text, not a real option
L"--DEBUG OPTIONS--",
// arynn : allow debug options that were set in debug.exe to continue in a rel.exe that shares same JA2.set file
L"Retain Debug Options in Rel",
// arynn : a sample option which affects options screen listing only
L"DEBUG Render Option group",
// arynn : a sample DEBUG build option, this will draw slash-rects through current mouse region "hot spots"
L"Render Mouse Regions",
// arynn : a sample options screen options divider, just text, not a real option
L"-----------------",
L"强制回合制模式", // add forced turn mode
L"--Cheat Mode Options--", // TOPTION_CHEAT_MODE_OPTIONS_HEADER,
L"Force Bobby Ray shipments", // force all pending Bobby Ray shipments
L"-----------------", // TOPTION_CHEAT_MODE_OPTIONS_END
L"--DEBUG OPTIONS--", // an example options screen options header (pure text)
L"重置所有选项", // failsafe show/hide option to reset all options
L"确定要重置?", // a do once and reset self option (button like effect)
L"Debug Options in other builds", // allow debugging in release or mapeditor
L"DEBUG Render Option group", // an example option that will show/hide other options
L"Render Mouse Regions", // an example of a DEBUG build option
L"-----------------", // an example options screen options divider (pure text)
L"Option044", // arynn : note : everything south of here (should) only ever show in debug.. i doubt translating would prove useful
L"Option045",
L"Option046",
L"Option047",
L"Option048",
L"Option049",
L"Option050",
L"Option051",
L"Option052",
L"Option053",
L"Option054",
L"Option055",
L"Option056",
L"Option057",
L"Option058",
L"Option059",
L"Option060",
L"Option061",
L"Option062",
L"Option063",
L"Option064",
L"Option065",
L"Option066",
L"Option067",
L"Option068",
L"Option069",
L"Option070",
L"Option071",
L"Option072",
L"Option073",
L"Option074",
L"Option075",
L"Option076",
L"Option077",
L"Option078",
L"Option079",
L"Option080",
L"Option081",
L"Option082",
L"Option083",
L"Option084",
L"Option085",
L"Option086",
L"Option087",
L"Option088",
L"Option089",
L"Option090",
L"Option091",
L"Option092",
L"Option093",
L"Option094",
L"Option095",
L"Option096",
L"Option097",
L"Option098",
L"Option099",
L"Option100",
// arynn : this is THE LAST option that exists (debug the options screen, doesnt do anything, except exist)
// this is THE LAST option that exists (debug the options screen, doesnt do anything, except exist)
L"THE_LAST_OPTION",
};
@@ -3848,79 +3790,19 @@ STR16 zOptionsScreenHelpText[] =
L"当打开时,游戏将使用更少的CPU资源。",
L"当打开时,将出现物品及武器的“增强描述框”(EDB)。",
L"当打开时,且在战术画面内存在敌军时,将一直处于回合制模式直至该地区所有敌军被消灭(可以通过快捷键|C|T|R|L+|S|H|I|F|T+|A|L|T+|T来控制打开或关闭强制回合制模式)",
// arynn : immediate effect option that fixes corrupt ja2.set keeping of toggle options
L"Click me to fix corrupt game settings",
L"Click me to fix corrupt game settings",
// arynn : a sample options screen options header, this pop up help text never render (well as of yet)
L"(text not rendered)TOPTION_DEBUG_MODE_OPTIONS_HEADER",
// arynn : allow debug options that were set in debug.exe to continue in a rel.exe that shares same JA2.set file
L"Allows debug options that were set in debug.exe to continue in a rel.exe that shares same JA2.set file",
// arynn : a sample option which affects options screen listing only
L"Toggle to display debugging render options",
// arynn : a sample DEBUG build option
L"Attempts to display slash-rects around mouse regions",
// arynn : a sample options screen options divider, this pop up help text never render (well as of yet)
L"(text not rendered)TOPTION_DEBUG_MODE_OPTIONS_END",
// text past this point is for debugging, translating would doubtfully prove usefull
L"044",
L"045",
L"046",
L"047",
L"048",
L"049",
L"050",
L"051",
L"052",
L"053",
L"054",
L"055",
L"056",
L"057",
L"058",
L"059",
L"060",
L"061",
L"062",
L"063",
L"064",
L"065",
L"066",
L"067",
L"068",
L"069",
L"070",
L"071",
L"072",
L"073",
L"074",
L"075",
L"076",
L"077",
L"078",
L"079",
L"080",
L"081",
L"082",
L"083",
L"084",
L"085",
L"086",
L"087",
L"088",
L"089",
L"090",
L"091",
L"092",
L"093",
L"094",
L"095",
L"096",
L"097",
L"098",
L"099",
L"100",
L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER",
L"Force all pending Bobby Ray shipments",
L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END",
L"(text not rendered)TOPTION_DEBUG_MODE_OPTIONS_HEADER", // an example options screen options header (pure text)
L"Click me to fix corrupt game settings", // failsafe show/hide option to reset all options
L"Click me to fix corrupt game settings", // a do once and reset self option (button like effect)
L"Allows debug options in release or mapeditor builds", // allow debugging in release or mapeditor
L"Toggle to display debugging render options", // an example option that will show/hide other options
L"Attempts to display slash-rects around mouse regions", // an example of a DEBUG build option
L"(text not rendered)TOPTION_DEBUG_MODE_OPTIONS_END", // an example options screen options divider (pure text)
// arynn : this is THE LAST option that exists (debug the options screen, doesnt do anything, except exist)
// this is THE LAST option that exists (debug the options screen, doesnt do anything, except exist)
L"TOPTION_LAST_OPTION",
};
@@ -4197,6 +4079,11 @@ STR16 pMessageStrings[] =
L"禁用物品全掉", //"Drop All Disabled",
L"榴弹发射器以正常仰角发射榴弹", //"Grenade Launchers fire at standard angles",
L"榴弹发射器以较高仰角发射榴弹", //L"Grenade Launchers fire at higher angles",
// forced turn mode strings
L"Forced Turn Mode",
L"Normal turn mode",
L"Exit combat mode",
L"Forced Turn Mode Active, Entering Combat",
#ifdef JA2BETAVERSION
L"Successfully Saved the Game into the End Turn Auto Save slot.",
#endif