Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show useful difficulty names in the Difficulty editor
The default difficulty names are contained within the 'difficultyMenu' entity def stored inside the mod data itself; however these names are intended to be translated using the mod-specific translation system, which is not read or processed by DarkRadiant. Therefore the names actually shown in the GUI were meaningless string table entries like '#str_03000', rather than the user-friendly names like 'Easy'. Rather than try to support the entire mod translation system, which would be a massive task, a simple string table lookup is performed based on the contents of additional <string> nodes which have been added to the darkmod.game file.
- Loading branch information
Matthew Mott
committed
Mar 2, 2020
1 parent
28358ed
commit 2b2c39d
Showing
3 changed files
with
48 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters