Commit graph

53 commits

Author SHA1 Message Date
Orgad Shaneh
78c48fd9df AGS: Remove unused private members and globals
Detected by Clang.
2021-04-09 19:18:07 -07:00
Thierry Crozat
fece6ea40f AGS: Add option to force using antialiasing for text rendering 2021-04-08 00:45:46 +01:00
Cameron Cawley
a1890ede9c BASE: Avoid calling PluginMan.getEngineFromMetaEngine where possible 2021-04-05 15:33:23 +01:00
Paul Gilbert
ce22f46e8a AGS: Respect ScummVM volume controls
I experimented, but couldn't get the AGS in-game volume
controls to map to the ScummVM volume controls. The reason
being that the games frequently set the volume during their
startup, sometimes multiple times. The best I could do was
set up the different sound types in AGS to use the
Audio::Mixer::SoundType enum, so that any ScummVM volume
control will be respected in addition to the AGS volumes.
2021-04-02 21:18:11 -07:00
Thierry Crozat
33b918c8b5 AGS: Use backend preferred pixel format
This fixes using the engine on iOS.
2021-04-01 00:39:00 +01:00
Thierry Crozat
3d36f38221 AGS: Allow showing fps using config file
To show the fps in ags games you can now add display_fps=true
in the ScummVM config file.
2021-03-31 22:01:23 +01:00
Thierry Crozat
0b68518ae6 AGS: Adding flag to debug file paths 2021-03-20 22:43:36 +00:00
Thierry Crozat
8de62d8182 AGS: Add custom debug console commands
Currently two commands are supported, one to list the AGS
DebugManager group verbosity levels, and one to change
those. This allows to enable and disable debug output.
2021-03-15 00:56:01 +00:00
Paul Gilbert
3e3d4e9097 AGS: Move stand-alone methods from ags.cpp to their own file 2021-03-13 21:34:56 -08:00
Paul Gilbert
5a6b282c7c AGS: Move engine_setup.cpp globals to Globals 2021-03-08 20:06:37 -08:00
Paul Gilbert
37b563ef35 AGS: Move game globals to Globals 2021-03-07 19:23:24 -08:00
Paul Gilbert
fd5c11f382 AGS: Move debug globals to Globals 2021-03-06 15:11:38 -08:00
Paul Gilbert
94423abaa1 AGS: Move usetup to Globals 2021-03-05 21:36:00 -08:00
Paul Gilbert
b6dd902163 AGS: Move script.cpp globals into Globals 2021-02-28 16:41:48 -08:00
Paul Gilbert
ef245e2104 AGS: Move thisroom to Globals 2021-02-28 13:27:21 -08:00
Paul Gilbert
334b2a9d48 AGS: Move play to Globals 2021-02-27 15:31:34 -08:00
Paul Gilbert
1a8ae27b58 AGS: Move game & spriteset into Globals 2021-02-26 21:28:53 -08:00
Martin Gerhardy
485a229007 AGS: fixed potential buffer overflows due to missing null byte 2021-02-26 11:19:11 +01:00
Paul Gilbert
3ad8c5cb03 AGS: Drawing fixes for blitting and sprites 2021-02-20 14:37:29 -08:00
Paul Gilbert
a28dbd147f AGS: Fix 32-bit pixel format to match AGS 2021-02-13 11:38:55 -08:00
Paul Gilbert
50eeb1b07d AGS: Add variation of Steam plugin for Blackwell Epiphany 2021-02-11 18:51:31 -08:00
Paul Gilbert
8aa4a9cf6b AGS: Shift game scanner to be available via command line 2021-02-09 19:54:33 -08:00
Paul Gilbert
f548bdae38 AGS: Cleanup of error message display 2021-02-07 19:19:39 -08:00
Paul Gilbert
de985f566e AGS: Remove unused local 2021-02-06 16:37:31 -08:00
Paul Gilbert
f1830f63d7 AGS: SHow GUI error dialog for unsupported games 2021-02-06 16:37:31 -08:00
Paul Gilbert
46fdf3bf50 AGS: Savegame screenshots now exclude in-game save dialogs 2021-02-06 16:37:31 -08:00
Paul Gilbert
175735f727 AGS: Fixes for game scanner tool 2021-02-06 16:37:31 -08:00
Paul Gilbert
a94af81188 AGS: Added tool to scan folders and build detection entries
When ScummVM is built with the new ENABLE_AGS_SCANNER define,
trying to start any game will instead scan all the folders
starting from the current directory downwards, and output
text suitable for pasting in the detection tables.
2021-02-06 16:37:31 -08:00
Paul Gilbert
8ec4829dcb AGS: Added fallback detector 2021-02-06 16:37:31 -08:00
Paul Gilbert
f41fdec782 AGS: Implement GMM saving & loading 2021-02-06 16:37:31 -08:00
Paul Gilbert
be2206d879 AGS: Hook up loading savegames from launcher 2021-02-06 16:37:31 -08:00
Paul Gilbert
ecf601dbb3 AGS: Framework for specifying a specific plugin version a game needs
Black Cauldron uses the AGSCreditz 1.1 plugin, but in the 2.0
version I was given the source for, there are differences in the
method declarations. So this new framework allows me to explicitly
specify that the game needs 1.1
2021-02-06 16:37:31 -08:00
Paul Gilbert
911c54c7e2 AGS: Match the 32-bit PixelFormat to decoded bitmaps
The 32-bit bitmap resources encoded by AGS had ARGB rather
than RGBA (or is it the other way around?). Anyway, this
was what was causing the KQ2 title screen to be all red.
2021-02-06 16:37:31 -08:00
Paul Gilbert
ec02e1a118 AGS: Move debugger globals to Globals 2021-02-06 16:37:31 -08:00
Paul Gilbert
f432dc29c2 AGS: Move quit globals into Globals 2021-02-06 16:37:31 -08:00
Paul Gilbert
e2469a8cfa AGS: Move globals from ags.cpp to Globals 2021-02-06 16:37:31 -08:00
Paul Gilbert
cf9bbb2bb2 AGS: Beginnings of new Globals class 2021-02-06 16:37:31 -08:00
Paul Gilbert
3d84af6aeb AGS: Fix more unreachable code warnings 2021-02-06 16:37:31 -08:00
Paul Gilbert
7097d33268 AGS: Fix some overflow warnings 2021-02-06 16:37:31 -08:00
Paul Gilbert
cf99f28036 AGS: Show fatal errors in a GUI message dialog 2021-02-06 16:37:31 -08:00
Paul Gilbert
02ddc563fd AGS: Added engine methods for load/save game 2021-02-06 16:37:31 -08:00
Paul Gilbert
3155da5ed4 AGS: Allow graceful exit after call to quit 2021-02-06 16:37:31 -08:00
Paul Gilbert
338d08a0cb AGS: Implemented ScummVM MIDI music player 2021-02-06 16:37:31 -08:00
Paul Gilbert
7089339362 AGS: Implemented keyboard/mouse event handlers 2021-02-06 16:37:31 -08:00
Paul Gilbert
8924e8819a AGS: Adding ScummVM graphics init code 2021-02-06 16:37:31 -08:00
Paul Gilbert
01967d483c AGS: Fix specifying game filename 2021-02-06 16:37:31 -08:00
Paul Gilbert
2aaf78cf52 AGS: Remove directory logic from startup 2021-02-06 16:37:31 -08:00
Paul Gilbert
1f78ef4eb7 AGS: Add tests as an optional sub-engine 2021-02-06 16:37:31 -08:00
Paul Gilbert
bb23db380f AGS: Get game filename from detection entry 2021-02-06 16:37:31 -08:00
Paul Gilbert
1192e1c353 AGS: Add overall main code 2021-02-06 16:37:31 -08:00