35 Commits

Author SHA1 Message Date
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
Orgad Shaneh
ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02:00
trembyle
6e1135ee8a ENGINES: Revise language constants to ISO standards
* Use ISO-3166 country codes and ISO-639 language codes
2021-11-11 12:06:15 +01:00
Alexandre Detiste
6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Eugene Sandulenko
572a460cf2
GLK: ZCODE: Add new detection entries. Bugreport #12538 2021-08-15 23:01:47 +02:00
Eugene Sandulenko
a5cc627374
GLK: ZCODE: Added alternative version for hhgttg. Bugreport #12535 2021-08-15 10:26:24 +02:00
Eugene Sandulenko
45e579a55e
GLK: ZCODE: Add alternative version for Wishbringer. Bugreport #12530 2021-08-15 10:26:19 +02:00
djsrv
7eb4841065 ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko
2c8ee74eb8
GLK: ZCODE: Added more detection entries. Bugreport #11670 2021-04-26 13:30:38 +02:00
Eugene Sandulenko
596f253a0d
GLK: ZCODE: Added more detection entries. Bugreport #11669 2021-04-24 18:58:16 +02:00
Eugene Sandulenko
728fd802eb
GLK: ZCODE: Added non-English detection entries. Bugreport #11669 2021-04-24 18:58:16 +02:00
Paul Gilbert
9cae7c41f9 GLK: ZCODE: Added detection entries 2021-03-06 21:02:26 -08:00
Paul Gilbert
e9acc37743 GLK: ZCODE: Added detection for Icebreaker 2021-03-04 18:38:31 -08:00
Paul Gilbert
1655dd730e GLK: ZCODE: Added starcross detection entry 2021-02-07 11:42:04 -08:00
Paul Gilbert
3a2ea1db23 GLK: ZCODE: Added Stuga detection entries 2020-11-16 19:34:48 -08: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
Paul Gilbert
a99092c436 GLK: ZCODE: Add detection for Countdown games 2020-10-24 16:47:07 -07:00
Eugene Sandulenko
b9b3ba3285 GLK: COMPREHEND: Added missing override keywords 2020-10-17 11:44:23 +02:00
Paul Gilbert
110893c05a GLK: Add detection for IF Comp 2020 games 2020-10-13 20:40:20 -07:00
Paul Gilbert
534c401715 GLK: ZCODE: Fix loading stack from savegames 2020-10-06 21:22:41 -07:00
Paul Gilbert
82d4357c2e GLK: ZCODE: Turn off autosaves for ZCode games
ZMachine saves also includes the current execution
stack. So I'm honestly not sure how to create an
autosave in the background that has a valid stack
than can be properly restored. With an imminent
release, it's better to disable autosaves for now
2020-09-05 19:57:29 -07: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
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
d4d5b8906e GUI: U32: Begin making TTS take in U32Strings for saying
Only for strings without an explicit action. The first level takes in a u32 string, encodes it, and passes it along further with the default action

- For gui widgets, the strings are passed in as native u32 strings.
- For everything else, they are being converted to u32 by Common::convertToU32... and then being passed along
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
637e9af18d GLK: ZCODE: Correct British spelling for TCOM remake 2020-08-20 20:50:38 -07:00
Thierry Crozat
1210aecab2 GLK: Use speech volume from options to control the TTS volume 2020-06-29 22:48:57 +01:00
Thierry Crozat
b18ecc6974 GLK: ZCODE: Fix moving cursor in TextGridWindow 2020-06-28 19:32:48 -07:00
Paul Gilbert
e41bcd1935 GLK: ZCODE: Allow detection on .data files 2020-06-26 08:12:12 -07:00
Paul Gilbert
9d8edfa330 GLK: ZCODE: Fix Scott Adams detection entries 2020-06-22 20:13:45 -07:00
Paul Gilbert
f0e1e1e56d GLK: ZCODE: Change interpreter to INTERPRETER_ZCODE 2020-06-22 20:11:00 -07:00
Paul Gilbert
736913d459 GLK: ZCODE: Rename frotz/ to zocde/
All the other sub-engines use the engine or authoring system
name, not the name of particular interpreters. So I felt it
best to rename frotz to zcode for consistency
2020-06-22 20:06:26 -07:00