Commit Graph
22 Commits
Author SHA1 Message Date
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
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
Cameron Cawley 6a784fd860 GLK: SCOTT: Replace xstrcasecmp with scumm_stricmp 2019-09-05 18:26:59 -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 85816c8a54 GLK: Make a _gameFile field in the base Glk engine 2019-01-02 23:13:13 -08:00
Eugene Sandulenko 0dab01862c JANITORIAL: Whitespace fixes 2018-12-18 22:53:30 +01: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 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 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