11 Commits

Author SHA1 Message Date
aryanrawlani28
1612b6845a ENGINES: GUI: U32: Improve translation message usage 2020-08-30 14:43:41 +02:00
aryanrawlani28
4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28
e22b32abfe GUI: U32: Use Common::U32String::format where necessary and GUIError to u32
- Where necessary as in, where translated messages are used.
- GUIErrorMessage now takes in U32String
- error messages across some engines use U32Strings. they are changed because they show a message dialog.
2020-08-30 14:43:41 +02:00
aryanrawlani28
bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
Ľubomír Remák
561309eaa2 MUTATIONOFJB: Fix missing lines between block ends. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
a25715a29b MUTATIONOFJB: Fix code formatting issues (with astyle). 2018-08-25 23:12:01 +02:00
Ľubomír Remák
2e656e69b3 MUTATIONOFJB: Blit with threshold. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
20d6d71ec9 MUTATIONOFJB: Basic conversation support. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
7a081f0605 MUTATIONOFJB: Load local (room) scripts. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
5854d310ee MUTATIONOFJB: Fix some code formatting issues. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
3696865e69 MUTATIONOFJB: Load initial game state and allow room change 2018-08-25 23:12:01 +02:00