Commit Graph
26 Commits
Author SHA1 Message Date
Hubert Maier 0bde50d7ee JANITORIAL: GLK/ADRIFT: Correct Spelling Mistake
pronounciation -> pronunciation
2022-11-15 22:52:43 +02:00
Le Philousophe 6d3a10c631 GLK: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe 93cdbbbf39 GLK: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 0111a08560 GLK: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Vladimir Serbinenko 29cfa7bb0f COMMON: Merge code for str.cpp and ustr.cpp
Most of the code in str.cpp and ustr.cpp is actually the same. Do some
template magic to merge them.
2020-10-31 14:05:30 +01:00
aryanrawlani28 edec55cf64 GLK: SCOTT: Add new helpers to use translated 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 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
D G Turner 63789ac698 GLK: ADRIFT: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-16 05:48:56 +00:00
Paul Gilbert b11c370fc2 GLK: ADRIFT: Correct unicode string type 2019-10-13 10:22:40 -07:00
Paul Gilbert 7094230141 GLK: ADRIFT: Fix unsigned type mismatch 2019-09-26 18:06:32 -07:00
Paul Gilbert 239fbce8e3 GLK: ADRIFT: gcc compilation fixes 2019-09-25 20:13:28 -07:00
Paul Gilbert b44d36e97b GLK: ADRIFT: Convert overall game quit long jump to use contexts 2019-09-25 20:13:28 -07:00
Paul Gilbert ac74424178 GLK: ADRIFT: Add loading savegames from launcher 2019-09-25 20:13:27 -07:00
Paul Gilbert 0026f9ab5e GLK: ADRIFT: In progress implementing savegames 2019-09-25 20:13:27 -07:00
Paul Gilbert c147d0fda0 GLK: ADRIFT: Formatting 2019-09-25 20:13:27 -07:00
dreammaster ac9b8fd43d GLK: ADRIFT: Formatting 2019-09-25 20:13:27 -07:00
Paul Gilbert fc410a88a0 GLK: ADRIFT: Method renaming 2019-09-25 20:13:27 -07:00
Paul Gilbert 068375e48c GLK: ADRIFT: Fix exiting game out of debug prompt 2019-09-25 20:13:27 -07:00
Paul Gilbert c03b7a50ea GLK: ADRIFT: Implement zlib decompression 2019-09-25 20:13:27 -07:00
Paul Gilbert 855b75f6df GLK: ADRIFT: Flag loading game message as translatable 2019-09-25 20:13:27 -07:00
Paul Gilbert f560ccb5bd GLK: ADRIFT: Hooking up game code to skeleton engine class 2019-09-25 20:13:26 -07:00
Paul Gilbert 58c71a23db GLK: ADRIFT: Fixes to startup code 2019-09-25 20:13:26 -07:00
Paul Gilbert 60c860c6a6 GLK: ADRIFT: Skeleton sub-engine commit 2019-09-25 20:13:26 -07:00