NCTH CalcNewChanceToHitGun refactoring / cleanup (by silversurfer)
o Externalized ja2_options.ini value if you want to use / or not the cleaned up version of CalcNewChanceToHitGun: USE_NEW_CTH_CALCULATION
o The cleanup only effects the game if you play with NCTH system
o The refactoring makes the code much easier to read and also shrinks the locs
o Fixed some old bugs in calculation
o In the future the switch USE_NEW_CTH_CALCULATION can be removed completely
o more infos: http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/322986/Re_Potential_NCTH_Code_Change_.html#Post322986


git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6235 3b4a5df2-a311-0410-b5c6-a8a6f20db521
Added possibility to show rank and name on enemies (by silversurfer)
- If a name is available for the enemy, the name will be shown and if INDIVIDUAL_ENEMY_RANK = TRUE also the rank will be shown
- The name will be shown if INDIVIDUAL_ENEMY_NAMES = TRUE or SOLDIER_PROFILES_ENEMY = TRUE. If both are true, then the name will be taken from the enemies profiles


git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6236 3b4a5df2-a311-0410-b5c6-a8a6f20db521
- Bugfix: After loading a game, mercs gearkits are bugged and game crashes when hiring a merc (by silversurfer)

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6237 3b4a5df2-a311-0410-b5c6-a8a6f20db521
- Bugfix: After Mike has been recruited, he could still show up as an enemy later in the game (a Mike clone) (by anv and silversurfer)
o Similar fix is also applied for Iggy

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6238 3b4a5df2-a311-0410-b5c6-a8a6f20db521
- Bugfix: Mike & Iggy: Fixed wrong ";" (thx to silversurfer)

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6239 3b4a5df2-a311-0410-b5c6-a8a6f20db521
- HackFix: Crash on maps with isolated entry points (by silversurfer)
o see http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/312260/Re_BUGZILLA_report_all_bugs_he.html#Post312260
o see http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/312612/Re_BUGZILLA_report_all_bugs_he.html#Post312612
o The main problem of the crash is, that some memory gets overwritten -> Workaround (hackfix): Increased the array for the map edgepoints to a fixed size of 400 so we can avoid the crash
o Of course this is not the best fix (because of increased memory usage), so if someone can improve the fix, do it :)

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6240 3b4a5df2-a311-0410-b5c6-a8a6f20db521
spies lose cover if they try to handcuff but fail

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6241 3b4a5df2-a311-0410-b5c6-a8a6f20db521
Fix: preplaced items with incompatible attachments causes entire sector inventories to vanish if entering the sector a second time

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6242 3b4a5df2-a311-0410-b5c6-a8a6f20db521
increased possible number of soldier/militia profiles to 300 for each category

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6243 3b4a5df2-a311-0410-b5c6-a8a6f20db521
Fix: crash when transforming attached items on guns with magsize modifiers

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6244 3b4a5df2-a311-0410-b5c6-a8a6f20db521
Fix: wrong item name displayed when uncovered

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6245 3b4a5df2-a311-0410-b5c6-a8a6f20db521
- Translated Chinese Text (by zwwooooo)
- Added missing text string to all the languages (except English)

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6246 3b4a5df2-a311-0410-b5c6-a8a6f20db521
- Feature improvement: enemy soldiers can now free captured comrades
- Fix: when jumping through windows, AI soldiers no longer need to end their turn to avoid a deadlock

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6248 3b4a5df2-a311-0410-b5c6-a8a6f20db521
If COVERT_ELITES_DETECT_NEXTTILE is set to TRUE, elite soldiers will uncover spies disguised as soldiers next to them if more experienced.

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6249 3b4a5df2-a311-0410-b5c6-a8a6f20db521
Fix: if militia moves strategically, sometimes gear would be moved unnecessary.

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6250 3b4a5df2-a311-0410-b5c6-a8a6f20db521
- more reasonable food poisoning values
- Settings were never read

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6254 3b4a5df2-a311-0410-b5c6-a8a6f20db521
NCTH: Minor Adjustments (by silversurfer)

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6255 3b4a5df2-a311-0410-b5c6-a8a6f20db521
- Fixed compilation errors when trying to compile a UB-Version (#define JA2UB & define JA2UBMAPS)
o The compilation was broken when enabling Speck as a playable mercs in JA2 113 (revision 6215)

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6256 3b4a5df2-a311-0410-b5c6-a8a6f20db521
- Fixed a few compilation warnings (uninitialized variables, ...)

git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6257 3b4a5df2-a311-0410-b5c6-a8a6f20db521
- Added playable mercs: John Kulba (the tourist) and 3 JA1 natives (Elio, Juan, Wahan) (by anv)
o Added faces (except camo faces), speech, bio, ...
o All those 4 mercs are available at M.E.R.C
o Added INI options for enabling/disabling recruitable Speck, Kulba and natives
o If enabled, Kulba becomes available as a MERC merc after finishing escort quest, delay is configurable (two weeks by default). He won't be available earlier even if MERC_WEBSITE_ALL_MERCS_AVAILABLE is set to TRUE
see: http://www.bears-pit.com/board/ubbthreads.php/topics/298288/47.html

- Improvement: MERC mercs get unlocked according to their own availability conditions, not to their order in MercAvailability.xml


git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@6258 3b4a5df2-a311-0410-b5c6-a8a6f20db521