Commit Graph

40 Commits

Author SHA1 Message Date
Orgad Shaneh
0111a08560 GLK: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +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
b709e2f40c GLK: SCOTT: Improve usage of translations when looking. 2020-08-30 14:43:41 +02:00
aryanrawlani28
dd31b45be3 GLK: SCOTT: Fix unsafe memory usage 2020-08-30 14:43:41 +02:00
aryanrawlani28
edec55cf64 GLK: SCOTT: Add new helpers to use translated strings. 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
5ae8523b0e GLK: SCOTT: Add detection for Buckaroo Bonzai 2020-04-30 17:40:40 -07:00
Bastien Bouclet
1e30923737 GLK: Add override keywords 2020-02-09 12:43:15 +01:00
D G Turner
d6c88b6a66 GLK: SCOTT: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-16 01:40:08 +00:00
Paul Gilbert
39a210afac GLK: SCOTT: Cleanup 2019-11-17 15:02:34 -08:00
Paul Gilbert
5b00186c67 GLK: SCOTT: Detection table cleanup and name fixes 2019-10-27 10:47:36 -07:00
Cameron Cawley
6a784fd860 GLK: SCOTT: Replace xstrcasecmp with scumm_stricmp 2019-09-05 18:26:59 -07:00
Torbjörn Andersson
3094dd6931 GLK: Fix incorrect "End of namespace ..." comments. 2019-07-12 06:59:56 +02:00
Paul Gilbert
5dda48c1c7 GLK: Change other sub-engines to use GlkDetectedGame 2019-07-06 15:27:10 -07:00
Paul Gilbert
a53e00597b GLK: Show unknown variant dialog for unknown detection entries 2019-06-23 14:41:49 -07:00
Paul Gilbert
553bb74f8c GLK: Further changeover of sub-engines to use new savegame code 2019-06-16 14:59:26 -07:00
Paul Gilbert
03e99924c3 GLK: SCOTT: Fix game Id clash on Waxworks 2019-04-04 18:57:11 -07:00
Cameron Cawley
280a4f2d91 GLK: Only check the format of a Blorb file if it has a valid file extension 2019-03-31 16:37:47 -07:00
Cameron Cawley
7b4c6d6a35 GLK: Improved detection of Blorb files 2019-03-31 16:37:47 -07:00
Paul Gilbert
85816c8a54 GLK: Make a _gameFile field in the base Glk engine 2019-01-02 23:13:13 -08:00
Paul Gilbert
013f39cb5d GLK: Standardizing on a common GameDescriptor class for detectors 2018-12-31 19:47:14 -08:00
Paul Gilbert
f218400d3b GLK: Simplify arrays of valid extensions in detection code
Suggested by Sev as a way to avoid having both arrays and array sizes
2018-12-28 20:45:45 -08:00
Eugene Sandulenko
0dab01862c JANITORIAL: Whitespace fixes 2018-12-18 22:53:30 +01:00
Paul Gilbert
3546f77995 GLK: SCOTT: Added detections for miscellaneous games 2018-12-14 19:37:33 -08:00
Paul Gilbert
6202b36606 GLK: SCOTT: Add support for Mysterious Adventures Blorb files 2018-12-14 19:30:43 -08:00
Paul Gilbert
b84ee752cf GLK: Detect game Id clashes across different sub-engines 2018-12-14 18:25:20 -08:00
Paul Gilbert
7637edb5a2 GLK: Change all references to glui32 and glsi32 to uint and int
This should finally fix compilation for the Amiga, which had
difference sized types. And the renamed types are clearer for
ScummVM anyway
2018-12-09 11:36:20 -08:00
Paul Gilbert
33a23bca1c GLK: FROTZ: Further reading/writing setup for savegames using Quetzal 2018-12-08 19:05:59 -08:00
Paul Gilbert
1c190e50b4 GLK: Mark text strings as translateable 2018-12-08 19:05:59 -08:00
Paul Gilbert
41a4378169 GLK: SCOTT: Don't show another line prompt when game is exiting 2018-12-08 19:05:59 -08:00
Paul Gilbert
3b906cb2bb GLK: Fixes for combined loading/saving code 2018-12-08 19:05:59 -08:00
Paul Gilbert
b05a16a0ad GLK: Centralizing more of the savegame code in GlkEngine 2018-12-08 19:05:59 -08:00
Paul Gilbert
326f69136e GLK: SCOTT: Fix memory corruption loading game data 2018-12-08 19:05:59 -08:00
Paul Gilbert
fc2b1edd1f GLK: SCOTT: Extra returns/exits after glk_exit is called 2018-12-08 19:05:59 -08:00
Paul Gilbert
83646598c9 GLK: SCOTT: Renaming of all fields to ScummVM convention 2018-12-08 19:05:59 -08:00
Paul Gilbert
027240678e GLK: SCOTT: Change engine to use ScummVM String and Arrays 2018-12-08 19:05:59 -08:00
Paul Gilbert
67275924b5 GLK: Derive detection from MetaEngine rather than AdvancedMetaEngine 2018-12-08 19:05:59 -08:00
Paul Gilbert
454f92cc74 GLK: SCOTT: Centralize the set of game names 2018-12-08 19:05:59 -08:00
Paul Gilbert
a2104deb4c GLK: Changing class and namespaces from Gargoyle to Glk 2018-12-08 19:05:59 -08:00
Paul Gilbert
1fb931fbd9 GLK: Changing gargoyle folder to glk 2018-12-08 19:05:59 -08:00