Commit Graph

118 Commits

Author SHA1 Message Date
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
Fiodar Stryzhniou
be27b2a672 MUTATIONOFJB: Fix warnings for header search failure.
WARNING: Can't find following headers in User or System Include Paths "task.h"
2021-06-26 18:52:50 +03:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00: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
056f26402a MUTATIONOFJB: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02: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
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
Eugene Sandulenko
ac6932bd89 I18N: Added missing files to POTFILES 2020-08-27 20:26:45 +02:00
Eugene Sandulenko
486c859591 MUTATIONOFJB: Fix includes 2020-03-25 10:31:54 +01: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
73f17c2ae0 MUTATIONOFJB: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
a08dc0b9dc MUTATIONOFJB: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko
02aec5976d MUTATIONOFJB: Added override commands 2020-01-31 14:02:11 +01:00
D G Turner
b21632c835 MUTATIONOFJB: Fix Unused Variable Compiler Warning 2019-12-20 08:06:09 +00:00
D G Turner
8222f054c0 MUTATIONOFJB: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-11 03:07:47 +00:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
D G Turner
d4aa50ff17 MUTATIONOFJB: Remove Unused Private Member Field
This was causing a GCC Compiler Warning when -Wunused-private-field is
set.
2019-10-03 06:22:53 +01:00
Henrik "Henke37" Andersson
b4044a6dc7 MUTATIONOFJB: Mark the game as not using MIDI. 2019-09-29 19:34:16 +03:00
Cameron Cawley
88bca6a8de
MUTATIONOFJB: Fix warning 2019-04-11 21:21:21 +01:00
Ľubomír Remák
d18c83e8b8 MUTATIONOFJB: Fix play animation command. 2019-02-03 23:35:43 +01:00
Ľubomír Remák
b4fed90145 MUTATIONOFJB: Fix SETANIM and add support for pickupable statics. 2019-01-12 05:33:49 +01:00
Ľubomír Remák
a97a14cc89 MUTATIONOFJB: Add support for SETANIM command. 2019-01-12 03:51:21 +01:00
Ľubomír Remák
0c340485e0 MUTATIONOFJB: Draw bitmaps.
Implement RB (bitmap visibility) command.
Implement stub for FLX and FLB (play animation) commands.
2018-11-02 23:26:58 +01:00
Ľubomír Remák
b87391338e MUTATIONOFJB: Add basic support for RABLOAD command.
Also fix an issue with parsing IF command.
This commit makes the game completable (with many issues).
2018-10-31 19:19:41 +01:00
Ľubomír Remák
176c87dd4a MUTATIONOFJB: Add stub for switching game chapter. 2018-10-30 18:56:37 +01:00
Ľubomír Remák
d4087d7902 MUTATIONOFJB: Allow completion of first chapter.
Implement dummy SPECIALSHOW command (skip puzzle).
Fix NEWROOM command parsing.
Fix use action on inventory items.
Fix interaction with certain doors.
2018-10-28 17:45:26 +01:00
Ľubomír Remák
0b746971f1 MUTATIONOFJB: Implement implicit actions.
Add implicit pick up action for certain statics.
Respect disabled implicit walk action for doors.
2018-10-28 14:57:53 +01:00
Ľubomír Remák
d556890673 MUTATIONOFJB: Add support for combining items.
Introduce game screen and game widget.
Add status bar to show currently hovered and picked items.
Load hardcoded strings from game executable.
2018-10-28 13:08:41 +01:00
Ľubomír Remák
c239a18620 MUTATIONOFJB: Small fixes.
Handle errors in save/load code.
Fix typo in Game::colorFromString.
2018-09-06 20:38:33 +02:00
Ľubomír Remák
c36fb36afb MUTATIONOFJB: Add support for 'look' action on inventory items. 2018-09-06 19:38:16 +02:00
Ľubomír Remák
bde1556b97 MUTATIONOFJB: Add support for loading save during startup. 2018-09-01 22:45:42 +02:00
Ľubomír Remák
543f7666f3 MUTATIONOFJB: Basic save/load support.
Warning: The save format is subject to change.
2018-08-30 23:38:41 +02:00
Miroslav Remák
260811106c MUTATIONOFJB: Allow script commands to access all objects.
Previously objects with IDs beyond the defined number of objects were not accessible to IfCommand and ChangeObjectCommand. For example, this would cause script errors inside Fisher's house.
2018-08-29 19:13:55 +02:00
Miroslav Remák
81789162d3 MUTATIONOFJB: Disallow interaction with inactive doors. 2018-08-29 19:13:55 +02:00
Miroslav Remák
ad73f65a20 MUTATIONOFJB: Fix interaction with certain overlapped statics.
An active static overlapped by an inactive static with lower ID was not interactable. For example, this affected the scene with the sawfish, where the machine in the closet would be blocked by the closet itself.
2018-08-29 19:13:55 +02:00
Ľubomír Remák
26445f4c26 MUTATIONOFJB: Fix Coverity issues. 2018-08-27 20:07:53 +02:00
Ľubomír Remák
b00395b0b9 MUTATIONOFJB: Fix MSVC warnings. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
0e90d6eae3 MUTATIONOFJB: Use advanced detector. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
696b61c146 MUTATIONOFJB: Move method comments to headers. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
cf878d8777 MUTATIONOFJB: Change old-style C casts to static_cast. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
959f37dfe4 MUTATIONOFJB: Don't mark internal strings as translatable. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
561309eaa2 MUTATIONOFJB: Fix missing lines between block ends. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
9f1c628d4b MUTATIONOFJB: Fix forward declarations of structs. 2018-08-25 23:12:01 +02:00