Commit Graph

533 Commits

Author SHA1 Message Date
Eugene Sandulenko
5936026209 ALL: Clarify POTFILES, remove redundant common/translations.h includes 2020-11-10 03:03:49 +01:00
Eugene Sandulenko
7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko
7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +02:00
aryanrawlani28
d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28
8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
c7d7d18ad2 SUPERNOVA: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Thierry Crozat
28dbd83136 SUPERNOVA: Add detection entry for Italian translation 2020-09-07 02:07:15 +01: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
185fb72783 GUI: U32: Improve U32 code
- Revert accidentally put translations in mt32.cpp
- Use U32::format in some places earlier missed
- Add %u and %i for u32::format
- Add support for GUIErrorMsgFormat to use u32::format internally
- Use the above whereever needed
- Improve linux tts by removing redundant code
- Some places I had changed nullptr -> "". Revert this
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
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
mataniko
06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +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
3da28a4c25 SUPERNOVA: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
3b4a2dfadc SUPERNOVA: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko
cb9bd4dd70 SUPERNOVA: Added override keywords 2020-02-05 16:17:22 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
D G Turner
719decda55 SUPERNOVA: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 00:31:33 +00:00
sluicebox
b8390fa161 GRAPHICS: Add interface for horizontal shake 2019-11-19 00:20:40 +01:00
Jaromir Wysoglad
0d3367cea2 SUPERNOVA: Fix exiting scummvm from MSN 1 intro 2019-11-06 19:04:11 +01:00
Bastien Bouclet
9c8bd056d6 ENGINES: Stop using 'single id' 2019-11-03 11:43:00 +01:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
Hubert Maier
4620843f27 JANITORIAL: Copyright "sign" should be upper-case 2019-10-08 09:19:06 +02:00
Thierry Crozat
e06ec24807 SUPERNOVA: Hook up F5 to the Main Menu
In the original F5 is used to save/load the game. Since we are
using the ScummVM save/load mechanism I think it makes sense to
open the main menu, that contains load and save buttons, on F5.
2019-10-06 17:10:04 +01:00
Thierry Crozat
d214dd8f3b SUPERNOVA: Remove ADGF_TESTING flag 2019-10-02 23:36:11 +01:00
Henrik "Henke37" Andersson
1f39deb176 SUPERNOVA: The game doesn't use MIDI, mark it as such. 2019-09-29 19:34:16 +03:00
Jaromir Wysoglad
4c3f2c30af SUPERNOVA: Fix reading of .dat file
When searching for the right block in supernova.dat, the engine
didn't take into account the full size of each block (it thought,
it read 12 bytes less in each block) and thanks to that it
tryed to read one additional block at the end.
2019-09-18 16:05:16 +02:00
Lothar Serra Mari
0870fc240f SUPERNOVA: Add detection.cpp to POTFILES 2019-09-17 01:14:00 +02:00
Thierry Crozat
011a9cd43f SUPERNOVA: Fix warning 2019-09-14 00:32:25 +01:00
D G Turner
a7c881e56d SUPERNOVA: Replace String Copy With Safer ScummVM Common Version 2019-09-14 00:26:47 +01:00
Thierry Crozat
7f05cba9f1 SUPERNOVA: Change type of an array to avoid casting 2019-09-13 23:51:22 +01:00
D G Turner
2c5cdfb37e SUPERNOVA: Fix Reported MSVC Compiler Warnings
These are from Henke37 via IRC.
2019-09-13 23:20:31 +01:00
Thierry Crozat
ced80c6da4 SUPERNOVA: Add testing flag and build engine by default 2019-09-13 21:16:52 +01:00
Thierry Crozat
a7a312ec2f SUPERNOVA: Enable improved mode by default
Masochists who want to experience the original frustrating
experience can disable it in the game settings.
2019-09-13 01:32:15 +01:00
Thierry Crozat
71e0f58775 SUPERNOVA: Stop any playing sound before loading a savegame
This fixes for exemple loading a savegame from the Museum in part 2
after triggering the alarm but before being caught. Before this
commit the alarm would continue to play after loading the savegame.
2019-09-13 01:08:30 +01:00
Thierry Crozat
5d75462967 SUPERNOVA: Fix telomat interaction in improved mode 2019-09-08 17:24:58 +01:00
Thierry Crozat
1b92de6757 SUPERNOVA: Fix setting game speed with number keys in improved mode 2019-09-08 17:24:58 +01:00
Thierry Crozat
b2db0d910e SUPERNOVA: Attempt to fix compilation for Nintendo Switch 2019-07-28 15:37:48 +01:00
Jaromir Wysoglad
fc3ae4c9b9 SUPERNOVA: Fix most of Codacy issues
* Fix mismatched delete in create_image.cpp
* Add shebangs to create_ms2_data.***.sh
* Reduce scopes of some variables
* Substitute bitwise and for logical and in
    GamaManager2::passageConstruction
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
c2177f8453 SUPERNOVA: Merge getInput and waitOnInput methods. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
448db9f432 SUPERNOVA: Make improved mode an engine option. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
ee9d7ee9c7 SUPERNOVA: Implement choosing verbs by keyboard.
Only in improved mode.
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
0366f3da27 SUPERNOVA: Add help screen translation 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
e734872fc8 SUPERNOVA: Fix some code issues pointed by Criezy
Remove 2 unused variables and a function call with wrong datatype
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
f9d13b8d2c SUPERNOVA: Add translated Indiana Joe image 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
7164016b34 SUPERNOVA: Refactor .dat file access 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
0e31a6163d SUPERNOVA: Merge create_supernova tools 2019-07-28 15:09:14 +01:00