121 Commits

Author SHA1 Message Date
trembyle
b9e7b1dfcd COMMON: ENGINES: Correct Czech language ISO code
1. Correct constant in common files
2. Add the old code to obsolete language codes
3. Replace all occurences in engine code
2022-03-04 18:29:02 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
antoniou79
2b5e27fd56 TONY: Fix bad offset for seek() in voice files
Should fix bug https://bugs.scummvm.org/ticket/13012 for missing speech
2021-10-17 14:51:16 +03:00
ysj1173886760
f58b4c5e59 TONY: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Kaloyan Chehlarski
a8103e2eb5 COMMON: Add support for multi-file InstallShield cabinets
Added support for InstallShield v6 cabinets, which can be made up of
multiple files. The interface for creating an Archive instance now takes
the base filename (e.g. the "data" in "data1.cab") for all cabinets,
including single-file ones.

Co-Authored-By: clone2727 <236052+clone2727@users.noreply.github.com>
Co-Authored-By: Walter van Niftrik <615114+waltervn@users.noreply.github.com>
2021-05-15 23:03:19 +03:00
aryanrawlani28
1612b6845a ENGINES: GUI: U32: Improve translation message usage 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
a9bfe35216 GUI: U32: More issue fixes and general improvements
- Use the fake constructor for message dialog less often
- solve errors regarding comparision between string and u32string in midi
- solve errors in testbed/speech related to ttsMan->say
- fix unsigned comparision warning in tab.cpp
- fix issue with static strings and translations in sdl-graphics
2020-08-30 14:43:41 +02:00
aryanrawlani28
e22b32abfe GUI: U32: Use Common::U32String::format where necessary and GUIError to u32
- Where necessary as in, where translated messages are used.
- GUIErrorMessage now takes in U32String
- error messages across some engines use U32Strings. they are changed because they show a message dialog.
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
9f175c4053 ENGINES: Cleanup of savegame filenames generation
This removes filename methods when it matched the Engine method.
Secondly, ensuring there was an overriden getSaveStateName method
for engines that didn't do the standard target.00x save filenames
2020-02-16 15:44:28 -08:00
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Paul Gilbert
5a18e495e0 TONY: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
D G Turner
46eafcf96b TONY: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-30 19:45:43 +00:00
Cameron Cawley
f6015086e1 ENGINES: Add GUIErrorMessageFormat to replace duplicated functions (#1455) 2018-12-19 08:31:26 +02:00
Ben Castricum
ebaab44cd1 ALL: Leave out instructions for engine data issues 2016-12-08 13:38:56 +01:00
Ben Castricum
0e47d71928 ALL: replace 2 more 'download engine data' instructions 2016-12-06 14:50:04 +01:00
Ben Castricum
55512414dd ALL: Change instructions for engine data file issues
The engine data files should be included in the package, so downloading
may not be the best suggestion. Instead refer to the README.
2016-12-06 14:16:37 +01:00
Ben Castricum
1cf3f50b74 ALL: Unify 'wrong version of engine data' message 2016-12-06 09:38:25 +01:00
Ben Castricum
eb7ffb1e2c ALL: Unify 'corrupted engine data' message 2016-12-06 09:38:19 +01:00
Ben Castricum
e1ec91b69a ALL: Unify 'missing engine data' message 2016-12-05 21:04:50 +01:00
Eugene Sandulenko
b404524599 TONY: Complete class initializations 2016-06-17 12:10:11 +02:00
Strangerke
d919c66e99 TONY: Initialize _vdbCodec in contructor 2016-01-04 14:10:24 +01:00
Strangerke
1084fc023c TONY: As suggested by LordHoto, determine codec based on container signature instead of filename 2016-01-04 14:07:56 +01:00
Strangerke
94809c4995 TONY: Reduce variable scope, use MKTAG to check file signature 2016-01-04 13:53:11 +01:00
Strangerke
e6d8655a9b TONY: Add support to the new compressed speech containers 2016-01-04 13:43:36 +01:00
Strangerke
88c19138cf TONY: Remove more dead code related to unused raw codec 2015-12-31 14:48:38 +01:00
Strangerke
7ee36a97ee TONY: As codec is always ADPCM, remove some dead code 2015-12-31 14:41:18 +01:00
Johannes Schickel
b9bfa3a857 TONY: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
D G Turner
b8c1b46ae0 TONY: Cleanup whitespace formatting.
This is mainly removal of extraneous blank lines, reformatting indents
to tab characters and other minor non-functional changes to improve
compliance with Code Formatting Conventions.
2012-11-12 00:39:20 +00:00
Strangerke
5023a5764f TONY: Fix music bug - 2 songs played simultaneously eventually 2012-10-15 07:08:24 +02:00
Strangerke
72e32ab35e TONY: Fix German fonts 2012-09-28 10:58:32 +02:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Alyssa Milburn
050a02c6f8 TONY: Replace abortGame() with nicer error() calls. 2012-09-25 17:33:49 +02:00
Willem Jan Palenstijn
1277a04e60 TONY: Don't mute all sound when using sound config dialog
Thanks to fuzzie for noticing this.
2012-09-24 22:05:28 +02:00
Alyssa Milburn
60b101f5f6 TONY: Rename yet more variables. 2012-09-08 09:59:56 +02:00
Strangerke
8c753c96a0 TONY: Move some functions from .h to .cpp files 2012-09-01 01:05:22 +02:00
Strangerke
7fbfbc8e6b TONY: Rename some more variables and structures 2012-08-31 23:08:02 +02:00
Alyssa Milburn
a6673aaf90 TONY: Remove useless/commented music code. 2012-08-29 09:12:53 +02:00
Strangerke
56f4bc0225 TONY: Fix some for and if statements with bad coding style 2012-08-28 23:05:48 +02:00
Alyssa Milburn
142ac7600f TONY: Remove most of the remaining global functions. 2012-08-28 22:28:44 +02:00
Alyssa Milburn
3c986af9ce TONY: Remove unnecessary mainloop mutex.
Also, all the related freeze functions/members.
2012-08-28 22:10:12 +02:00
Alyssa Milburn
9ebbeda949 TONY: Implement some forgotten sound/music functions. 2012-08-28 20:25:48 +02:00
Alyssa Milburn
3570a0153d TONY: Improve Take/ReleaseOwnership.
This releases all held 'mutexes' when processes die, and keeps
track of the lock count too, just in case.
2012-08-28 09:26:04 +02:00
Alyssa Milburn
7b4dd0a682 TONY: Remove various bits of unused code. 2012-08-27 12:50:33 +02:00
Strangerke
72604fa3a6 TONY: USe default fonts (Italian/English) when the language is unhandled instead of erroring out 2012-08-27 00:17:28 +02:00
Strangerke
2ce6576515 TONY: Add English in loadTonyDat 2012-08-26 23:58:06 +02:00
Strangerke
7cb29f1522 TONY: Move font related arrays to a DAT file 2012-08-26 23:33:46 +02:00
Torbjörn Andersson
659436739f TONY: Make the verb menu sound effects play
At least for now, preloading utility sound effects *is* needed in
ScummVM. And since we now have preloading of both normal and utility
sound effects, I've unstubbed the unloading functions as well.
2012-08-25 12:56:02 +02:00
Alyssa Milburn
93f145773e TONY: Fix saveSoundSettings to use setInt for talkspeed. 2012-08-22 21:52:22 +02:00