Commit Graph

502 Commits

Author SHA1 Message Date
sluicebox
de6c73a2ee BURIED: Remove delete nullptr. PVS-Studio V575 2024-03-20 17:24:33 -07:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Cameron Cawley
f3fbd2477c GRAPHICS: Allow specifying separate xdpi and ydpi values in loadTTFFont 2024-01-08 23:41:50 +01:00
Cameron Cawley
30b977c272 DETECTION: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Le Philousophe
e90ae68c58 BURIED: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
17a276e561 BURIED: Explain that demo does not support save/load 2023-12-08 12:21:16 +01:00
Eugene Sandulenko
ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
Kartik Sharma
6a695e8957
BURIED: Fix Castle Galliard Wall Explosion Timer Bug 2023-10-27 10:45:20 +03:00
Cameron Cawley
fb21c8ce21 BURIED: Implement the button pressed graphics in the demo menu 2023-08-27 09:40:38 +03:00
Cameron Cawley
ffd5f4909a BURIED: Add the Skip support option for the demo versions
Also marked the engine as not using MIDI.
2023-08-27 09:40:38 +03:00
Cameron Cawley
d589a51ae8 BURIED: Correctly handle paths for the North American demo 2023-08-27 09:40:38 +03:00
Cameron Cawley
8cb4047e32 BURIED: Fix incorrect flag for an 8bpp demo version 2023-08-27 09:40:38 +03:00
Cameron Cawley
10a0137ccf BURIED: Fix crash when dragging inventory items 2023-08-18 08:48:04 +03:00
Cameron Cawley
ac803c670f BURIED: Make use of Graphics::keyBlit() 2023-08-05 09:51:52 +03:00
elasota
0b388b46a8 BURIED: Fix negation of unsigned integer 2023-07-08 22:02:00 +03:00
Le Philousophe
f32492c26e BURIED: Check _currentScene before its use
This fixes CID #1451206, #1451218, #1451237
2023-05-11 17:42:24 +02:00
Cameron Cawley
576fcda443 BURIED: Fix caching the last AVI frame 2023-05-08 22:32:18 +03:00
Cameron Cawley
9786b2d233 BURIED: Fix cursor transparency 2023-04-25 22:14:00 +01:00
Eugene Sandulenko
d327079f24
BURIED: Fix POTFILES 2023-03-17 16:09:01 +01:00
Walter Agazzi
88291f358f BURIED: Clear _controlDown flag on GUI windows opening
Prevents being stuck in fast mode, fixes TRAC #13584
2022-12-30 23:12:44 +02:00
elasota
e280186a8c ALL: VS warning cleanup 2022-12-25 16:31:57 +01:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Eugene Sandulenko
130eecefc8
BURIED: Use checkExtendedSaves() 2022-11-27 14:35:36 +01:00
Cameron Cawley
38596980b1 BURIED: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Donovan Watteau
27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Lothar Serra Mari
17ae680d82 BURIED: Drop ADGF_TESTING flags 2022-07-16 22:48:51 +02:00
Torbjörn Andersson
e06f3c9a5a GUI: Allow game option checkboxes to be disabled
Depending on other game option checkboxes. This is used to
enable/disable the semi-smooth scrolling checkboxes for FM Towns Loom,
since it's only used when smooth scrolling is enabled.
2022-04-21 11:07:17 +02:00
Filippos Karapetis
5460526b77 BURIED: Cleanup 2022-01-04 03:28:16 +02:00
Filippos Karapetis
b52f486232 BURIED: Move agent evaluation (score) logic into a separate file
This is used by the death screens, the completion screen, and our
in-game score screen, so move the duplicate code into a new file
2022-01-02 16:52:20 +02:00
Filippos Karapetis
7fad23af52 BURIED: Move AI comment info 2022-01-02 16:49:57 +02:00
Filippos Karapetis
e50957ba7f BURIED: Fix global flag corruption in completion screen 2022-01-02 15:40:00 +02:00
Filippos Karapetis
74f2df71c3 BURIED: Fix Arthur being visible after AI biochip is lost - bug #313193
This is an original game bug. The fix expands upon the original one so
that the active biochip is only changed if Arthur's biochip was active
before he sacrifices himself
2022-01-02 12:25:49 +02:00
Filippos Karapetis
c4d40efd72 BURIED: Add constant for the intro video filename 2022-01-02 12:20:51 +02:00
Filippos Karapetis
3e595eedda BURIED: Adjust comments 2022-01-02 12:20:51 +02:00
Filippos Karapetis
654cf83018 BURIED: Rewrite the logic for biochip evidence access to global vars
This allows us to remove the last traces of offsetof(), together with
struct packing for the GlobalFlags struct, since its members are now
accessed directly, without using offsets
2022-01-02 12:20:50 +02:00
Filippos Karapetis
8a62864d28 BURIED: Remove offset access to globals in checkAICommentDependencies
This has been verified with the AI comment data. Only four global
variables are actually accessed by offset, so these have been cleanly
defined. This allows us to remove the last use cases of getGlobalFlagByte()
and setGlobalFlagByte()
2022-01-02 12:20:50 +02:00
Filippos Karapetis
9c81f95440 BURIED: Add console command aicommentinfo
This will allow us to debug AI comment info data
2022-01-02 12:20:50 +02:00
Filippos Karapetis
660ce11b10 BURIED: Rewrite the AI comment info data into an array
This cleans up the code and allows us to reuse this data
2022-01-02 12:20:50 +02:00
Filippos Karapetis
d2b3bbd968 BURIED: Adapt the global flag parameters in the rest of the callbacks
This removes the majority of getGlobalFlagByte() and setGlobalFlagByte(),
and they are used only in playAICommentFromData() for AI comments now
2022-01-02 12:20:49 +02:00
Filippos Karapetis
a900070a07 BURIED: Rewrite the post box slot flag logic in KitchenUnitPostBox
This reduces the usage of getGlobalFlagByte() and setGlobalFlagByte()
2022-01-02 12:20:49 +02:00
Filippos Karapetis
259572f50b BURIED: Adapt hardcoded flag in the OpenFirstItemAcquire() callback 2022-01-02 12:20:49 +02:00
Filippos Karapetis
fdf43e51ac BURIED: Pass global flag by ref to the ViewSingleTranslation() callback
This reduces the usage of setGlobalFlagByte()
2022-01-02 12:20:48 +02:00
Filippos Karapetis
ebf110d98f BURIED: Rewrite the handling of head flags for the arrow god scenes
This simplifies the code and reduces the usage of getGlobalFlagByte()
and setGlobalFlagByte()
2022-01-02 12:20:48 +02:00
Filippos Karapetis
1552759e62 BURIED: Improve code readability 2022-01-02 12:20:48 +02:00
Filippos Karapetis
f750b97687 BURIED: Rewrite the head opened time code for the Mayan arrow god scene
This allows us to remove the last usage of getGlobalFlagDWord() and
setGlobalFlagDWord()
2022-01-02 12:20:48 +02:00
Filippos Karapetis
b583326c5e BURIED: Pass global flag by reference to the GenericItemAcquire() callback
This reduces the usage of getGlobalFlagByte() and setGlobalFlagByte()
2022-01-02 12:20:48 +02:00
Filippos Karapetis
69c3fc4092 BURIED: Rewrite the pod and pod item flag logic in RetrieveFromPods()
This simplifies the code significantly and reduces the usage of
getGlobalFlagByte() and setGlobalFlagByte()
2022-01-02 12:20:47 +02:00
Filippos Karapetis
13afbe2792 BURIED: Pass global flag by reference to the PlaySoundEnteringScene() callback
This reduces the usage of getGlobalFlagByte() and setGlobalFlagByte()
2022-01-02 12:20:47 +02:00