Commit graph

1110 commits

Author SHA1 Message Date
Eugene Sandulenko
949027a01e
ENGINES: [l-w]: Turn debug enums from bitfield into plain enums 2025-02-22 21:55:59 +01:00
Eugene Sandulenko
879eba5c32
CONFIGURE: Replace mt32emu component with 'midi'
This component disables all MIDI-related things when unused,
including MT-32 emulator, Fluidsynth, TiMidity and Sonivox
2024-12-26 22:54:56 +01:00
Hubert Maier
8f246218d4
JANITORIAL: SAGA2: Fix typos 2024-12-25 17:58:07 +02:00
Eugene Sandulenko
d780708c96 ENGINES: Add mt32emu as a feature and component
Add it to engines that have MIDI playback.

This essentially compiles the emulator only when an engine that
can potentially use it (e.g. MIDI) is enabled
2024-12-25 00:34:39 +01:00
Eugene Sandulenko
fdecb6afca ENGINES: Add components to configure.engine's explanatory comment 2024-12-25 00:34:39 +01:00
Eugene Sandulenko
82e20d1cb3
SAGA2: Abort speech by space as in the original. Bug #14047
The original logic seems to be incorrect
2024-11-07 17:14:20 +01:00
Hubert Maier
fba97454c8 JANITORIAL: SAGA2: Fix typos 2024-09-16 01:53:47 +03:00
Cameron Cawley
441b02d057 DETECTION: Use uint32 for ADGameFileDescription file size 2024-06-30 19:13:41 +02:00
Le Philousophe
37de547ec1 ENGINES: Make AdvancedMetaEngine use ADDynamicGameDescription
This will allow to unload AdvancedMetaEngineDetection plugin as
soon as identifyGame is done and before loading the AdvancedMetaEngine.
2024-06-30 18:39:06 +02:00
Le Philousophe
7e0048b4a3 ENGINES: Add ADDynamicGameDescription class
This class manages a buffer where all data usually stored in detection
plugin will get copied before unloading the plugin and starting the
game.

This class expects that two functions are present in every
GameDescription: sizeBuffer which calculates how many bytes we will need
to store the entry in RAM and toBuffer which copies the data in the
buffer and fix the pointers in the class.
At the end, it is expected that an ADDynamicGameDescription doesn't
depend anymore on data stored in the detection plugin.

The AD_GAME_DESCRIPTION_HELPERS macro allow to implement these functions
in all GameDescription which don't have any pointer except those in
ADGameDescription.
2024-06-30 18:39:06 +02:00
Le Philousophe
b61bd3ff85 ENGINES: Create a type aware advanced meta engine 2024-06-30 18:39:06 +02:00
Le Philousophe
90b886097f ENGINES: Create a type aware advanced detector 2024-06-30 18:39:06 +02:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Torbjörn Andersson
2e3f4619fb JANITORIA: Remove redundant semicolons 2024-02-08 21:20:02 +01:00
Torbjörn Andersson
a1c8db3201 JANITORIAL: Clean up some whitespace and double semicolons 2024-01-29 19:32:00 +01:00
Cameron Cawley
3c80ba8d95 SAGA2: Use OSystem::copyRectToScreen() and fillScreen() where possible 2024-01-07 11:09:34 +02:00
Cameron Cawley
30b977c272 DETECTION: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Le Philousophe
0c3ddc2a87 SAGA2: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
Eugene Sandulenko
b649e0fef6
SAGA2: Initialize struct in constuctor 2023-09-19 16:23:16 +02:00
Eugene Sandulenko
4d24ce5959
SAGA2: Remove unused variable 2023-06-02 12:04:23 +02:00
Donovan Watteau
bf6e38ca4a SAGA2: Fix -Wformat warning 2023-05-14 22:57:11 +02:00
Giovanni Cascione
fd32607b9f SAGA2: move call to delayMillis in updatePalette() 2023-05-08 22:30:27 +03:00
Donovan Watteau
18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
Harishankar Kumar
72234ecd8b SAGA2: fix wrong spellid crash 2023-03-01 19:03:14 +01:00
Donovan Watteau
d2f79413e3 SAGA2: Drop unused swap16()/swap32()
They're unused and they cause a build failure on OpenBSD, which already
has swap16()/swap32() macros in its system headers.
2023-02-15 12:44:40 +01:00
Eugene Sandulenko
20ec21f743
FTA2: Load ResImportTable in a portable way 2023-02-13 21:01:27 +01:00
Eugene Sandulenko
4b87b3dc8a
SAGA2: Hid noisy warning 2023-02-13 20:39:05 +01:00
Eugene Sandulenko
ece320d76a
SAGA2: Increased number of tasks and stacks 10x 2023-02-13 20:39:05 +01:00
Lothar Serra Mari
ddb9a5bf7d SAGA2: Clear ADGF_TESTING flags 2023-02-12 14:35:14 +01:00
Eugene Sandulenko
6c1220fcda
SAGA2: Enable engine by default 2023-01-04 23:44:44 +01:00
Eugene Sandulenko
555d0c2568
SAGA2: Mark fta2 for testing 2023-01-04 23:44:25 +01:00
elasota
e280186a8c ALL: VS warning cleanup 2022-12-25 16:31:57 +01:00
Eugene Sandulenko
f236aa6acd
SAGA2: Use checkExtendedSaves() 2022-11-27 14:37:16 +01:00
Hubert Maier
48d4944c64 JANITORIAL: SAGA2: Correct / Note Spelling Mistakes
neccessary -> necessary
agression -> aggression
2022-11-15 22:52:43 +02:00
Eugene Sandulenko
07cc180374
SAGA2: Implement teleport_place console command 2022-10-30 23:48:15 +01:00
Eugene Sandulenko
74577539c1
JANITORIAL: Whitespaces 2022-10-30 23:31:43 +01:00
Eugene Sandulenko
235ab0cc6a
SAGA2: Rename constants in audio.cpp 2022-10-29 23:46:00 +02:00
Eugene Sandulenko
2d3173b151
SAGA2: Rename rest of constants in the header files 2022-10-29 23:46:00 +02:00
Eugene Sandulenko
3de1aaa517
SAGA2: Remove unused constants 2022-10-29 23:45:59 +02:00
Eugene Sandulenko
a1c5dee320
SAGA2: Renamed some constants 2022-10-29 23:45:59 +02:00
Eugene Sandulenko
09eba1d77f
SAGA2: Rename enums in videobox.h 2022-10-29 23:45:59 +02:00
Eugene Sandulenko
a270ee4275
SAGA2: Rename constants in uimetrics.h 2022-10-29 23:45:59 +02:00
Eugene Sandulenko
75dcb112c6
SAGA2: Rename enums in uidialog.h 2022-10-29 23:45:59 +02:00
Eugene Sandulenko
d8e24a16de
SAGA2: Rename enums in towerwin.h 2022-10-29 23:45:58 +02:00
Eugene Sandulenko
afc3aeec50
SAGA2: Rename enums in tileload.h 2022-10-29 23:45:58 +02:00
Eugene Sandulenko
90cc01996a
SAGA2: Rename enums in tile.h 2022-10-29 23:45:58 +02:00
Eugene Sandulenko
1cdfdd72de
SAGA2: Rename constants in terrain.h 2022-10-29 23:45:58 +02:00
Eugene Sandulenko
c76b8f1078
SAGA2: Rename enums in tcoords.h 2022-10-29 23:45:58 +02:00
Eugene Sandulenko
ca1a6e8f25
SAGA2: Rename enums in task.h 2022-10-29 15:08:31 +02:00