Commit Graph

2296 Commits

Author SHA1 Message Date
Paul Gilbert
88e4c22312 TITANIC: Fix showing Home in starfield puzzle 2022-02-27 13:32:09 -08:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02: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
Orgad Shaneh
fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5.
2021-10-24 16:46:06 +02:00
Paul Gilbert
6ac13a6c0c TITANIC: Make findByWordClass a static method 2021-09-20 18:47:05 -07:00
djsrv
0d65c2fd12 ALL: Use Path type in File functions 2021-08-07 10:44:37 +02:00
Max Horn
2f1f8f502e DEVTOOLS: move credits from devtools/credits.pl to engines
This employs a "lazy" approach: the "format" for the credits stays
exactly as it was, i.e., perl code. Of course one may want to change
this to another format (e.g. YAML, JSON, XML; or also shell script or
AWK, like `configure.engine` uses). But I deliberately kept it simple,
to get a minimal change that is easy to verify. Any further changes to
e.g. the format can be layered atop this.
2021-08-05 00:01:46 +02:00
Paul Gilbert
005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
Michael Ball
abf9788d51 TITANIC: Resolve leftover signedness issues
Resolves leftover signedness issues to conform to baccbedf50.
2021-07-09 00:02:36 +01:00
Mathias Parnaudeau
e4d1903474 TITANIC: Fix warning sign-compare 2021-07-08 21:57:48 +01:00
Torbjörn Andersson
b09968768a TITANIC: Make Esc at the start-up dialog quit the game
I.e. the dialog you get if you have saved games, where the game asks you
if you want to load or start a new game. Before, it would just make the
dialog unresponsive if you pressed Esc.
2021-06-11 08:18:49 +02:00
ysj1173886760
8905a28f89 TITANIC: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Orgad Shaneh
bf6460de96 TITANIC: Fix Clang warning
warning: definition of implicit copy assignment operator for 'X' is deprecated because it has a user-declared copy constructor
2021-03-14 21:29:02 -07:00
SupSuper
1b2e0b7465 TITANIC: Use WaveFormat enum 2021-02-05 21:16:11 +02:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Paul Gilbert
32510743ed TITANIC: Don't allow bots to appear when looking down well 2020-11-29 11:27:49 -08:00
Paul Gilbert
6e2b31512e TITANIC: Renaming of CSummonBots fields 2020-11-29 11:27:49 -08: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
f3b9477893 ENGINES: ALL: Add header guards for the new detection-header files. 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
dae6013369 TITANIC: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +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
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
Paul Gilbert
d82d9ad7fd TITANIC: Fix crash asking Barbot what else he needs 2020-08-14 17:53:13 -07:00
Cameron Cawley
00e3c03755 ALL: Remove unnecessary graphics/colormasks.h includes 2020-06-15 16:59:34 +01:00
Matthew Duggan
9ee9fc19ae TITANIC: Update readLine function signature 2020-05-13 21:12:59 +09:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Eugene Sandulenko
e6b73fb53d TITANIC: Added missed commas between string constants 2020-04-30 15:36:02 +02:00
Eugene Sandulenko
ec72b0d980 TITANIC: Added override keywords 2020-04-24 01:08:10 +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
7f90c4e961 TITANIC: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
4d70872545 TITANIC: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko
0aaba0b3b8 TITANIC: Added override keywords 2020-02-06 23:46:47 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Paul Gilbert
0186bbae31 TITANIC: Use Engine save/load dialog methods 2020-02-04 19:05:26 -08:00
Paul Gilbert
2ce0f347ad TITANIC: gcc compilation fix 2020-01-16 20:04:16 -08:00
Paul Gilbert
a8d802f17d TITANIC: Cleanup of #include lines 2020-01-16 19:27:49 -08:00
Paul Gilbert
33f74e3027 TITANIC: Cleanup camera creation of motion controllers 2020-01-16 19:27:49 -08:00
Paul Gilbert
e30c9ad7d9 TITANIC: Cleanup of flight manager code 2020-01-16 19:27:49 -08:00
Paul Gilbert
e138a455aa TITANIC: Clarify CStarVector as CCallbackHandler 2020-01-16 19:27:49 -08:00
Paul Gilbert
da3c74224d TITANIC: Better naming for CFlightManagerBase fields 2020-01-16 19:27:49 -08:00
Paul Gilbert
0280ca2359 TITANIC: Clarifying auto movers as flight managers 2020-01-16 19:27:49 -08:00
Paul Gilbert
690b18ac0b TITANIC: Standardized camera mover classes as motion control 2020-01-16 19:27:49 -08:00