Commit Graph
28 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
aryanrawlani28 d2da98d3b0 GLK: More usage of translations
- Add helpers in Advsys, Comprehend & ZCode to match functionality provided for strings.
2020-08-30 14:43:41 +02:00
aryanrawlani28 12e4f871a3 GUI: U32: Improve u32 in all engine subsystems
- Common: add wordWrap function to ustr.cpp
- Bladerunner: Explicitly state we have a U32String in subs (same as Subtitles::loadOuttakeSubsText)
- Don't use translations for engine specific "put strings", because they might not support.
- SCI: Use const references for showScummVMDialog
- SCUMM:
-- Don't use translation in md5 warning. left comments with the translated version.
-- Remove some redundant headers in help.cpp
-- Don't use translation in handleSaveload when printing to console
-- Also, display success transaction correctly via u32::format
- TESTBED: Use fake constructor when setting label of button
- SKY: Correctly use translation when using SaveStateDescription
- ULTIMA: Don't use translations when display_string
- ENGINES:
-- GenerateUnknownGameReport correctly, with proper translations.
-- There was an error, where a function had been declared twice, in a header file. Correct this.
2020-08-30 14:43:41 +02:00
aryanrawlani28 185fb72783 GUI: U32: Improve U32 code
- Revert accidentally put translations in mt32.cpp
- Use U32::format in some places earlier missed
- Add %u and %i for u32::format
- Add support for GUIErrorMsgFormat to use u32::format internally
- Use the above whereever needed
- Improve linux tts by removing redundant code
- Some places I had changed nullptr -> "". Revert this
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
Paul Gilbert 66babe212e GLK: ADVSYS: Fix restoring games in-game 2019-06-16 18:56:39 -07:00
Paul Gilbert fee7221810 GLK: ADVSYS: Fix inputs with indirect objects 2019-06-16 17:43:07 -07:00
Paul Gilbert 0bf2dc6d7b GLK: ADVSYS: Fix actions using OP_SEND 2019-06-16 17:04:53 -07:00
Paul Gilbert c7a9306415 GLK: ADVSYS: Fixes for get action 2019-06-16 16:03:58 -07:00
Paul Gilbert acc90002f6 GLK: ADVSYS: Added code for loading savegames from launcher 2019-06-15 22:31:50 -07:00
Paul Gilbert f9f1293de6 GLK: ADVSYS: Input line processing fixes 2019-06-15 13:35:58 -07:00
Paul Gilbert f7e389db3b GLK: ADVSYS: Fix parsing input words 2019-06-14 21:40:07 -07:00
Paul Gilbert 5f7955daa5 GLK: ADVSYS: Tweak debug line, added input line prompt character 2019-06-14 20:22:34 -07:00
Paul Gilbert 75fe5b5024 GLK: ADVSYS: Script interpreter fixes 2019-06-14 20:11:47 -07:00
Paul Gilbert 4f7c9899f2 GLK: ADVSYS: Initialization fixes 2019-06-13 20:45:53 -07:00
Paul Gilbert 8612697409 GLK: ADVSYS: Remainder of parseInput method 2019-06-12 22:15:58 -07:00
Paul Gilbert 0e543b0682 GLK: ADVSYS: Noun/adjectives setup and getNoun method 2019-06-12 21:45:54 -07:00
Paul Gilbert 9efb6d71e2 GLK: ADVSYS: In progress implementing input line parser 2019-06-12 21:30:41 -07:00
Paul Gilbert 4e74751e7e GLK: ADVSYS: Added input line split up and tokenizing 2019-06-12 21:30:41 -07:00
Paul Gilbert 9c0771552d GLK: ADVSYS: Remaining opcode implementations 2019-06-12 21:30:41 -07:00
Paul Gilbert ebdc4ec3fa GLK: ADVSYS: Created dedicated function pointer class, cleanup method opcodes 2019-06-10 19:08:58 -07:00
Paul Gilbert 1de8c3d730 GLK: ADVSYS: More opcodes 2019-06-10 19:08:58 -07:00
Paul Gilbert 75da8ddd06 GLK: ADVSYS: Subroutine call & return opcodes 2019-06-10 19:08:58 -07:00
Paul Gilbert 8bb7c893f1 GLK: ADVSYS: String printing 2019-06-10 19:08:58 -07:00
Paul Gilbert d5d801d1cb GLK: ADVSYS: Adding opcodes and message decoding 2019-06-10 19:08:58 -07:00
dreammaster 0074810cb4 GLK: ADVSYS: Formatting fixes 2019-06-09 15:00:46 -07:00
Paul Gilbert b01e711d65 GLK: ADVSYS: Implementing VM opcodes 2019-06-09 15:00:46 -07:00
Paul Gilbert 39764f46d2 GLK: ADVSYS: Add overall script execution method 2019-06-09 15:00:46 -07:00