Files
fs2open.github.com/code
wookieejedi 02aab6cfdf Method to fix controls translation issue
This PR adds functionality to `Has Xstr:` in `controlconfiguredefaults.tbl`. Previously this value was use as a boolean, 0 or 1 to specify if the string should be used. This PR treats that field as an integer, and thus allows modders to specify which string to use for the control. If the value is 0 (default) then the string is not used, if the value is 1 then the defautl string is used and if the value is greater then 1 the game will use that specified index in strings.tbl.

This allows modders to properly translate all control names.  Specifially, six controls overlaped with pre-existing string.tbl indexes adn thus could not be translated properly. These are VIEW_TOPDOWN, VIEW_TRACK_TARGET, AUTO_PILOT_TOGGLE, NAV_CYCLE, TOGGLE_GLIDING, and CYCLE_PRIMARY_WEAPON_SEQUENCE.

This PR will allow modders to now proerly have full control name translations. It also provides a fix for issue #1629.
2019-12-10 12:57:31 -05:00
..
2018-12-22 20:10:56 +01:00
2019-05-01 09:44:19 +02:00
2019-03-02 14:02:21 +01:00
2019-02-26 19:53:11 +01:00
2016-08-10 13:33:12 +02:00
2019-05-01 09:44:19 +02:00
2019-06-30 13:28:05 +02:00
2018-07-15 19:37:24 +02:00
2019-11-04 20:13:36 -05:00
2019-02-26 19:53:11 +01:00
2019-12-07 23:56:54 -05:00
2019-11-08 02:07:14 -05:00
2019-11-18 17:04:02 -05:00
2019-11-18 21:40:16 -05:00
2019-07-20 16:12:45 -04:00
2019-03-02 14:02:21 +01:00
2019-11-29 17:49:22 -05:00
2019-12-04 00:57:02 -05:00
2019-11-12 21:34:20 -05:00
2019-11-11 11:22:13 -05:00
2019-11-03 16:27:23 -05:00
2016-08-12 16:13:50 -07:00
2019-03-02 14:02:21 +01:00
2019-11-03 16:27:23 -05:00
2019-11-08 02:07:14 -05:00
2019-05-24 13:43:04 -07:00
2019-11-08 02:07:14 -05:00
2019-03-02 14:02:21 +01:00
2019-11-15 23:33:35 -05:00
2018-04-25 11:57:55 +02:00
2019-11-03 16:27:23 -05:00
2018-04-25 11:57:55 +02:00
2019-10-13 13:44:28 -04:00
2018-09-16 13:55:29 +02:00
2016-07-22 12:07:19 +02:00