Commit graph

1481 commits

Author SHA1 Message Date
Orgad Shaneh
6a68d8b7e5 ENGINES: Do not assume that MessageDialog accept is 1 and cancel is 0
Use the enum everywhere.

A follow-up commit will change the order.

Also reduce the use of kMessageCancel to minimum.
2021-08-18 22:34:02 +02:00
djsrv
7eb4841065 ALL: Use Path type in Archive 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
peres
fde5042601 PARALLACTION: implement BRA ferrcycle operator.
The operator does a palette manipulation to simulate the movement
of trees and railroad in part 3.
2021-07-01 19:00:26 +09:00
peres
43ef9297b5 PARALLACTION: force palette update for BRA COLOR instruction.
The COLOR instruction does simple palette animation; it is visible
in several places, e.g. the windows in the train in part 3.
2021-06-30 22:11:53 +09:00
peres
2cf11a6b76 PARALLACTION: set the cursor for the menu when in the menu. 2021-06-27 21:39:43 +09:00
peres
2a467ffe9b PARALLACTION: set cursor when changing character. 2021-06-27 21:39:42 +09:00
peres
b58d814822 PARALLACTION: change cursor when swapping character. 2021-06-27 21:39:42 +09:00
peres
ab4bf6b911 PARALLACTION: add method to change character cursor. 2021-06-27 21:39:41 +09:00
peres
3f5752b812 PARALLACTION: implement GIVE command. 2021-06-27 14:14:50 +02:00
peres
9881a9cdb4 PARALLACTION: store GIVE recipients as strings. 2021-06-27 14:14:50 +02:00
peres
165d18f9e9 PARALLACTION: parse item for GIVE command correctly. 2021-06-27 14:14:50 +02:00
Le Philousophe
51643e4526 PARALLACTION: Fix build using our own strlcpy 2021-06-27 12:33:01 +02:00
peres
1474d02f25 PARALLACTION: implement most of BRA 'swap' command.
I left out follower adjustments (need to find where it's used),
and mouse pointer swap.
2021-06-27 11:59:43 +03:00
peres
bfb795b66e PARALLACTION: make BRA findInventory public. 2021-06-27 11:59:43 +03:00
peres
f1ea51c9bb PARALLACTION: cleanInventory is game specific. 2021-06-27 11:59:43 +03:00
peres
f8f61fd4dd PARALLACTION: select inventory when changing character. 2021-06-27 11:59:43 +03:00
peres
6e3cc6915d PARALLACTION: add helper to select inventory in BRA. 2021-06-27 11:59:43 +03:00
peres
30476902ec PARALLACTION: name BRA inventories after the characters. 2021-06-27 11:59:43 +03:00
peres
4615b62d22 PARALLACTION: allow changing the inventory drawn by the renderer. 2021-06-27 11:59:43 +03:00
Nicola Mettifogo
376c264701 PARALLACTION: style. 2021-06-24 16:13:58 +01:00
Nicola Mettifogo
07164813ba PARALLACTION: fix IFCHAR command to skip if other character. 2021-06-24 16:13:58 +01:00
sluicebox
674ed112aa JANITORIAL: Update more old bug tracker numbers
I missed the six digit ones and a few others in:
93eeffc84d
2021-06-09 14:28:52 -06:00
ysj1173886760
3909daf6a2 PARALLACTION: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Eugene Sandulenko
caa1420619
PARALLACTION: Switch to Graphics::AmigaFont usage 2021-04-15 17:45:37 +02:00
Eugene Sandulenko
1780fffea2
PARALLACTION: Make font drawing routines use surfaces instead of direct pointers 2021-04-15 17:45:37 +02:00
Cameron Cawley
c6705ae47b PARALLACTION: Add keymapper support 2021-04-06 11:15:42 +03:00
Eugene Sandulenko
4757c1d111 PARALLACTION: Clarify Amiga multilanguage edition. It does not contain Italian 2021-03-14 00:49:52 +01:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Cameron Cawley
d95d260b23 Revert "PARALLACTION: Fix buffer overrun"
This reverts commit 34ed51e33e.
2020-12-06 19:54:48 +01:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Eugene Sandulenko
bd49883a7a PARALLACTION: Mark Big Red Adventure as unstable 2020-11-28 17:41:23 +01:00
Eugene Sandulenko
b495b65a23 PARALLACTION Use macros in detection table 2020-11-28 17:41:23 +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
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
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
78dd712a1c PARALLACTION: Adapt to new detection modules and misc changes.
- Move common enums into detection_enums.h
- Make a new module for detection. See previous commit notes for more info.
2020-10-03 14:56:36 +02:00
aryanrawlani28
d3f164698a PARALLACTION: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Cameron Cawley
d20122d916 PARALLACTION: Fix assert when starting The Big Red Adventure 2020-09-11 09:05:05 +01:00
aryanrawlani28
8309b98e66 PARALLACTION: Create saveload dialogs & message dialogs with U32. 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
Henrik "Henke37" Andersson
faa8bea5cb PARALLACTION: Debugger, call base preEnter & postEnter 2020-05-10 23:39:31 +02:00
Eugene Sandulenko
50aace7179 PARALLACTION: Fix potential undefined behaviour 2020-04-30 14:26:53 +02:00