-
Notifications
You must be signed in to change notification settings - Fork 84
[GEN][ZH] Polish ui messages for debug commands #1258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GEN][ZH] Polish ui messages for debug commands #1258
Conversation
|
||
// This function is not performance tuned.. Its really only for Worldbuilder. jkmcd | ||
virtual AsciiStringVec& getStringsWithLabelPrefix(AsciiString label) = 0; | ||
|
||
virtual void initMapStringFile( const AsciiString& filename ) = 0; | ||
|
||
#if __cplusplus < 201103L // TheSuperHackers @todo Remove function when abandoning VC6 | ||
inline UnicodeString FETCH_OR_SUBSTITUTE_FORMAT( const Char *label, const WideChar *substituteFormat, ... ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to do this because VC6 does not support variadic macros.
0d1c29e
to
7faea62
Compare
After this change: Move debug command code into smaller functions, then make some of them multiplayer compatible. |
7faea62
to
47e30e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall
47e30e8
to
309fee9
Compare
Replicated in Generals with a number of conflicts.
|
Merge with Rebase
This change has 2 commits.
The first commit adds localization labels to the existing ui messages for debug commands.
And the second commit adds new ui messages for more debug commands. This way there is more feedback when toggling this.
TODO