Commit Graph

1408 Commits

Author SHA1 Message Date
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
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
2f6453100b AGOS: Split detection code & adapt to new plugins.
- Move AGOSGameDescription -> detection.h
- Move obsoleteGameIDsTable -> obsolete.h
- Both the above points are because the detection needs them, as well as the engine.
- By moving to headers in this pattern, we avoid many unnecessary inclusions and keep everything clean.
2020-10-03 14:56:36 +02:00
aryanrawlani28
5850987077 AGOS: Move some common detection related enums from intern.h -> intern_detection.h
- Include it in intern.h, so everything functions normally.
- However, now we can include detection-related things from intern.h in other files, without including unnecessary things.
2020-10-03 14:56:36 +02:00
aryanrawlani28
76cb0351e0 AGOS: Move common enum from agos.h to new header file 2020-10-03 14:56:36 +02:00
aryanrawlani28
bc8ead4a7c AGOS: GUI: U32: Remove redundant code 2020-08-30 14:43:41 +02:00
aryanrawlani28
7a19c7ffee I18N: Update POTFILES
In the previous commit, some new places where translations could be used were found. This commit adds the relevant files to POTFILES.
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
a9bfe35216 GUI: U32: More issue fixes and general improvements
- Use the fake constructor for message dialog less often
- solve errors regarding comparision between string and u32string in midi
- solve errors in testbed/speech related to ttsMan->say
- fix unsigned comparision warning in tab.cpp
- fix issue with static strings and translations in sdl-graphics
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
Donovan Watteau
3c3d35dafe AGOS: Fix compatibility with strict-alignment architectures
Make sure that alignTableMem() always aligns to an 8 byte boundary
on 64-bit architectures where this is the usual size of pointers.

Also make sure that loadTextIntoMem() always calls alignTableMem().

This has been tested on OpenBSD/loongson (a mips64el architecture which requires
strict alignment), with clang++ 8.0.1 and simon2-cd-fr.

Fixes bug #6220.
2020-08-01 14:16:40 +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
acf81a79c1 AGOS: Use PauseToken in pause function 2020-05-10 23:39:31 +02:00
Paul Gilbert
644a71440b AGOS: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
1624da8c99 AGOS: Add override keywords 2020-02-09 12:43:14 +01:00
Eugene Sandulenko
14d7e5ac4d AGOS: Added override keywords 2020-02-05 14:37:42 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Eugene Sandulenko
205da837b4 AGOS: Added override keywords 2020-01-31 12:49:29 +01:00
D G Turner
d194243be4 AGOS: Use Advanced Detector LISTEND Macro in Detection Entries
Also fix indent formatting of detection entries.
2019-12-04 05:49:44 +00:00
D G Turner
95ed614f5f AGOS: Fix Missing Default Switch Cases when AGOS2 is enabled
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-11 21:47:17 +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
9406baeac9 AGOS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-14 14:25:16 +01:00
Torbjörn Andersson
b5b136b177 AGOS: Silence GCC memset() warnings
Recent GCC versions complain if you memset() a class or struct that
contain non-POD data types. Get around that by either initializing
the object when created, or by adding a reset() method.
2019-07-14 14:58:18 +03:00
D G Turner
3a0ed17e66 AGOS: Fix Accolade MIDI Driver Compilation Breakage
These were broken by the last PR merge which included a cpp file in a
way which will not build reliably. This splits the Accolade MIDI driver
structure definitions into headers allowing these to be included
instead.

Also, minor cleanup by removal of unused header includes.
2019-06-03 19:35:48 +01:00
Fedor Antokhin
b1bd75a083 AGOS: Mute fix for ADLIB Accolade 2019-06-03 17:06:00 +01:00
Cameron Cawley
bcef809e61 WINCE: Fix compilation 2019-04-15 08:06:39 +03:00
Torbjörn Andersson
04585b60ec AGOS: Silence GCC 8 warning
Since 'filename' is 'baseName', plus a file extension, make the
'filename' buffer larger than the 'baseName' buffer. Even though
this almost certainly means that the 'filename' buffer is now
quite a bit larger than it needs to be, I don't think there's any
reason to quibble about it.
2018-07-21 09:23:06 +02:00
Bastien Bouclet
61f9398b04
Merge pull request #1187 from bgK/detection-refactor-unknown
ENGINES: Return unknown game variants with the list of detected games
2018-05-28 18:43:15 +02:00
Adrian Frühwirth
c7f3416daa JANITORIAL: Remove trailing whitespace 2018-05-20 23:40:20 +02:00
Eugene Sandulenko
5b604e42e2 AGOS: Mark 25th Anniversary releases as MT-32 hack, not a fix 2018-05-10 16:59:53 +02:00
Eugene Sandulenko
9729b09919 AGOS: Added detection and support for Simon2 25th Anniversary Edition 2018-05-10 12:22:47 +02:00
Bastien Bouclet
8fb149e3c7 ENGINES: Change MetaEngine::findGame to return a plain game descriptor 2018-05-10 09:04:23 +02:00
Adrian Frühwirth
49116b4ae7 ALL: Use CLIP to clip volumes 2018-05-05 17:57:31 +02:00
Colin Snover
432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Colin Snover
58105982ad AGOS: Fix value truncation in AGOSEngine::animateSprites
In commit f0581bab4a the index value
for the array was changed from a constant to a variable, but uint8
is too small to contain 293, so this value was ending up as 37.
2017-09-11 08:14:55 +02:00
Ben Castricum
6f38c1e55d ALL: game state => saved game 2016-11-29 20:15:20 +01:00
Kirben
0a03c986a2 AGOS: Add missing subtitle delay for Simon the Sorcerer 1 (Hebrew DOS CD). 2016-10-25 09:12:09 +11:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Alexander Tkachev
b665fc933d ALL: Make simpleSaveNames() a MetaEngineFeature
Added it into hasFeature() of all engines which returned `true` in
simpleSaveNames() before.

As mentioned in #788, SCI is not always using simple names, so it
doesn't have such feature now.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
ab1d160ec8 ALL: Add MetaEngine::simpleSaveNames()
Engines with "simple" savenames would support "Run in background" in
save/load dialog and gradual save slots unlocking. Other engines
save/load feature would be locked until save sync is over.
2016-08-24 16:07:55 +06:00
Sven Hesse
8546ecab04 AGOS: Fix wrongly indented debugC() statement
GCC 6's -Wmisleading-indentation warns about the debugC() statement
being wrongly indented, as if belonging into the else's branch, which
it clearly doesn't.
2016-07-20 18:39:42 +02:00
Strangerke
93e0f8f03b AGOS: Fix uninitialized variables 2016-05-24 19:49:38 +02:00
Kirben
e5ffd75330 AGOS: Fix potential buffer overflow. 2016-05-17 15:30:18 +10:00
Eugene Sandulenko
ba8c9271cf AGOS: Safer string manipulation 2016-05-12 14:29:53 +02:00
Eugene Sandulenko
d633a54526 AGOS: Added Russian Simon2 Talkie. Submitted by Dimouse 2016-04-16 23:39:38 +02:00
Ori Avtalion
5e49800901 AGOS: Reduce audio header dependencies 2016-04-14 16:48:02 +03:00
Ori Avtalion
253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Matthew Hoops
aa6ff44440 BACKENDS: Only expose one set of functions for AudioCDManager
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13 13:57:19 +01:00
Matthew Hoops
ec5df573cb AGOS: Mark the audio CD playback as emulate only 2016-03-13 13:53:26 +01:00
Johannes Schickel
0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Eugene Sandulenko
23d74fddb4 CONFIGURE: Introduced new engine dependency: highres
Some backends like GCW0 do no support graphics >320x240 due to
the hardware limitation (downscaling is possible but it will ruin
the pixel hunting which is often part of the gameplay).

Instead of manually updating the list of engines, we now introduce
a new dependency.

I marked all relevant engines, but some, like tinsel, require more
work with putting their relevant high-res games under USE_HIGHRES
define.
2016-03-05 14:25:56 +01:00
Johannes Schickel
99c59cdeb2 AGOS: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Alexandre Detiste
6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Johannes Schickel
37ec3978d6 AGOS: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Kirben
11c7d38e09 AGOS: Fix music looping in disk version of Simon1, a regression from svn 22907. 2015-07-24 20:34:52 +10:00
Johannes Schickel
757077fecc AGOS: Add simple volume control when Simon1 AdLib output is used. 2015-07-23 22:33:57 +02:00
Johannes Schickel
cf42dc0a35 AGOS: Slight cleanup in Simon1 AdLib output initialization code. 2015-07-23 22:33:56 +02:00
Johannes Schickel
33c57c632c Revert "AGOS: Add updated patch for #647 - Simon 1 DOS Adlib instrument bank"
This reverts commit 06addfc404.

We implement the actual Simon1 DOS AdLib driver now, thus this code is
obsolete.
2015-07-23 22:33:56 +02:00
Johannes Schickel
979a885ef9 AGOS: Add initial version of Simon1 DOS AdLib output.
Testing so far has not really happened. Only the first part of the intro has
been tested.
2015-07-23 22:33:56 +02:00
Max Horn
856475067a MISC: Remove some unused private member variables 2015-07-19 17:13:18 +02:00
Matthew Hoops
bed9da8b9d AUDIO: Remove all AudioStream access to OPL 2015-07-07 20:19:47 -04:00
Matthew Hoops
0c5d40e94c AGOS: Use the built-in OPL timer 2015-07-07 20:19:45 -04:00
Matthew Hoops
2e8f9dcec9 AUDIO: Remove the sample rate configuration from the OPL code 2015-07-07 20:19:42 -04:00
Torbjörn Andersson
cc46c92a8e AGOS: Remove unused field
Should have been removed in a4b8c6e054
but wasn't.
2015-07-07 00:32:54 +02:00
Kirben
cf92118507 AGOS: Fix turning music on and off in Amiga versions. 2015-07-05 11:41:10 +10:00
Kirben
a7fe40d3b1 AGOS: The sound effects in Simon the Sorcerer 1 (Floppy) are only meant for Adlib. 2015-07-05 11:20:39 +10:00
Kirben
a4b8c6e054 AGOS: Revert 46d1c106ca:
AGOS: Give each MIDI track its own loop flag

Since the changes broke looping in Simon the Sorcerer 2.
2015-07-05 10:58:35 +10:00
Martin Kiewitz
96005c7da9 AUDIO: Miles Audio AdLib instrument stream support
- not using byte pointer + size and instead now a
  SeekableReadStream for factory
- adjusted ACCESS + AGOS engines accordingly
2015-07-04 12:55:49 +02:00
Martin Kiewitz
7753f2d516 AGOS: Simon 2: use common PKWARE data comp. lib
use PKWARE data compression library code from COMMON/
AdLib drivers will get changed to use streams too
2015-07-04 01:50:07 +02:00
Martin Kiewitz
870b33743f AGOS: Simon 2: extract MIDPAK.AD from SETUP.SHR
implements support for extracting MIDPAK.AD from SETUP.SHR
this way the user isn't required to install the game and can just
use the files copied from CD-ROM.
Files inside SETUP.SHR were compressed using PKWARE data compression
library.

PKWARE decompression code based on information released by
Ben Rudiak-Gould in comp.compression on 13.8.2001

Miles Audio support is still disabled atm
and has to be enabled manually
2015-07-03 21:02:13 +02:00
Martin Kiewitz
453a800754 AGOS: music: simplified music-mode code in open()
combined both Accolade + Miles Audio initial open() code
2015-07-03 01:09:36 +02:00
Martin Kiewitz
32c5c2f50f AGOS: disable Miles Audio for Simon 2
enabled it by accident in the last commit
2015-07-03 00:59:17 +02:00
Martin Kiewitz
a4d3ad396c AGOS: Accolade music driver: fix memory leak
in factory
2015-07-03 00:57:25 +02:00
Martin Kiewitz
bfa7d89500 AGOS: Accolade music: read driver data in factory
moved driver reading code into factory of both Accolade music drivers
2015-07-03 00:52:36 +02:00
Martin Kiewitz
710aeb380b AGOS: SIMON2: set nativeMT32, so mt32 tracks get
set _nativeMT32, so that the MT32 XMIDI track set is getting used
and not the general MIDI one for MT32 Miles Audio playback.
This should solve the MT32 music issues, although this needs
to get verified in detail.
2015-07-01 20:39:00 +02:00
Martin Kiewitz
b38c161c18 AGOS: add Miles Audio support for simon 2
currently not enabled by default, because there are some
issues.
2015-07-01 12:40:16 +02:00
Torbjörn Andersson
b57e9ae814 AGOS: Adjust indentation. 2015-06-30 18:54:10 +02:00
Kirben
d48ccd357d AGOS: Fix bug #5986 - AGOS: Simon1 Amiga CD32 Verb Area missing. 2015-06-30 20:43:10 +10:00
Kirben
927ff67ce6 AGOS: List Infocom versions of Simon the Sorcerer 1 during detections. 2015-06-30 13:49:01 +10:00
Martin Kiewitz
fe31e6a3f6 AGOS: Accolade AdLib: remove _ from reset-methods
remove "_" from reset-method-names
2015-06-27 19:05:59 +02:00
Martin Kiewitz
371d5e1d90 Merge branch 'master' of github.com:scummvm/scummvm 2015-06-21 11:20:01 +02:00
Martin Kiewitz
155d554183 AGOS: MidiParser_S1D: do proper skipping of SysEx
figured out the code that the original interpreters used to
skip over the header-SysEx
2015-06-21 11:19:28 +02:00
Kirben
2e8fd74548 AGOS: Allow digital sound effects file to be used in PC version of Elvira 2. 2015-06-21 19:14:54 +10:00
Martin Kiewitz
5f77bcc74c AGOS: Accolade MT32: General MIDI mapping
- renamed _MT32 to _nativeMT32
this name doesn't really make sense, because MUNT isn't a native
MT32, but the name is common to the other engines
- implement MT32 -> General MIDI mapping in case no MT32 is
available
- implement dialog screen, so that user is told about General MIDI
mapping and that it may sound awful
2015-06-21 10:06:12 +02:00
Martin Kiewitz
3f9c44c743 AGOS: Accolade AdLib/MT32 driver naming cleanup 2015-06-21 03:23:01 +02:00
Martin Kiewitz
01802eec5f AGOS: Accolade adlib driver: remove debug warning 2015-06-21 01:26:16 +02:00
Martin Kiewitz
ac505b5c71 AGOS: Elvira 2 MUSIC.DRV variant comment added 2015-06-21 01:22:57 +02:00
Martin Kiewitz
69436f6c41 AGOS: Elvira 2 seems to use MUSIC.DRV variant
- Kirben told me that Elvira 2 is shipped with MUSIC.DRV and
INSTR.DAT file. Using MUSIC.DRV file makes the music work properly
I couldn't check, b/c I own none of these games.

- also commented out implemented bug of INSTR.DAT/MUSIC.DRV
This bug only affected the adlib drivers, so I guess we should
rather fix it instead of implementing the same buggy behavior
2015-06-21 01:20:21 +02:00
Martin Kiewitz
d24c68c739 AGOS: implement Accolade AdLib + MT32 music drivers
- both known variants are supported (INSTR.DAT + MUSIC.DRV)
- INSTR.DAT/MUSIC.DRV holds channel mapping, instrument mapping, etc.
- fixed bug inside S1D MidiParser, that ruined some instrument changes
0xFC header was seen as 2 byte header, but it's 4 bytes in Elvira 2
and 5 bytes in Waxworks / Simon 1 demo
- dynamic channel allocation for the MUSIC.DRV adlib driver is not
implemented atm, simply because at least the demos of Waxworks and
Simon 1 do not use this feature
- sound effects of Waxworks are not implemented atm
- note: the game "Altered Destiny" uses Accolade INSTR.DAT variant too
2015-06-21 00:45:45 +02:00
Kirben
06addfc404 AGOS: Add updated patch for #647 - Simon 1 DOS Adlib instrument bank 2015-05-26 13:23:20 +10:00
Kirben
61f0d247aa AGOS: Add proper fix for regression when loading saved games in PC version of Waxworks. 2015-05-21 14:24:52 +10:00
Kirben
4a13462db2 AGOS: Fix regression when loading saved games in PC version of Waxworks. 2015-05-20 11:48:31 +10:00
Kirben
aba98e910c AGOS: Fix changing rooms in the PC version of Waxworks. 2015-05-19 20:23:21 +10:00
Kirben
1aa67cbc96 AGOS: Revert last change for PC version of Waxworks. 2015-05-18 17:12:08 +10:00
Kirben
08744f4ebf AGOS: Fix restoring room state, when changing rooms in PC version of Waxworks. 2015-05-18 16:09:44 +10:00
Kirben
5beeadfd76 Merge pull request #526 from eriktorbjorn/agos-midiloop
AGOS: Give each MIDI track its own loop flag (bug #6665)
2014-11-28 15:14:39 +11:00
Torbjörn Andersson
f94f48ae2b AGOS: Fix invisibility in Amiga CD32 Simon the Sorcerer 1 demo
This probably affects the full version as well, but I haven't
verified that. Either way, the old code was obviously wrong while
the new makes it look right to me.
2014-11-19 22:59:34 +01:00
Torbjörn Andersson
74509eb8ac AGOS: Added detection for Simon the Sorcerer 1 CD32 demo
I have verified that the demo is completable, though it doesn't
actually seems to end. You're just told that there is nothing more
for you to do.
2014-11-19 20:39:27 +01:00
Filippos Karapetis
2621d22cb7 AGOS: Remove trailing whitespace 2014-10-28 16:04:52 +02:00
Torbjörn Andersson
46d1c106ca AGOS: Give each MIDI track its own loop flag
This is needed because the MIDI resources have their own loop flag
that overrides the global one. This makes a difference for games
that use MIDI both for music and sound effects, such as (limited
to?) the floppy version of Simon the Sorcerer 1.
2014-08-18 13:45:20 +02:00
Kirben
cc1a570f96 AGOS: Revert my MIDI changes that caused bug #6664. 2014-06-29 23:36:11 +10:00
Johannes Schickel
30d64edac4 ALL: Make Debugger command function names conform to our guidelines. 2014-05-27 02:04:08 +02:00
Johannes Schickel
ae4ffe01f0 ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
Johannes Schickel
daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
D G Turner
f7b5c50064 AGOS: Disable image_dump debug command. 2014-05-15 11:34:26 +01:00
D G Turner
b32ca0aaae AGOS: Add image dumping to file enable by debugflag.
This previously required a code change and recompile to enable.
It can now be enabled or disabled at runtime using the "image_dump"
debug flag.
2014-05-12 00:44:13 +01:00
D G Turner
3d3a791085 AGOS: Switch VGA script debug output to debug flag, rather than level 5.
This is now set by --debugflags=vga_script rather than -d 5, though
it will still require a debug level greater than 0.
2014-05-11 15:26:58 +01:00
D G Turner
41da9a2df7 AGOS: Change "script" debugflag to "subroutine" as more accurate.
This flag is used to enable dumping of subroutine scripts at start.
2014-05-11 13:28:33 +01:00
D G Turner
55d8a46177 AGOS: Switch script debugging to debug flag, rather than level 4.
This is now set by --debugflags=script rather than -d 4, though
it will still require a debug level greater than 0.
2014-05-11 13:17:16 +01:00
D G Turner
0c9390fb27 AGOS: Remove leftover unused _debugMode variable. 2014-05-11 13:15:53 +01:00
D G Turner
be68682946 AGOS: Switch VGA opcode debugging to debug flag, rather than level 3.
This is now set by --debugflags=vga_opcode rather than -d 3, though it
will still require a debug level greater than 0.
2014-05-11 12:46:55 +01:00
D G Turner
6856b09d5a AGOS: Switch opcode debugging to a debug flag, rather than level 2 hack.
This is now set by --debugflags=opcode rather than -d 2, though it will
still require a debug level greater than 0.
2014-05-11 12:27:38 +01:00
D G Turner
1506b96bd0 AGOS: Remove redundant "level" command from debugger.
The base class "debuglevel" command now provides the same functionality.
2014-05-10 17:25:35 +01:00
Kirben
ac9182181d AGOS: Fix music looping when using Roland MT-32 music in Simon the Sorcerer 2. 2014-04-13 19:51:33 +10:00
Kirben
ac26163f4d AGOS: Fix scroll wheel glitch in Simon the Sorcerer 1. 2014-03-11 19:37:52 +11:00
Johannes Schickel
8a5ceb9768 AGOS: Fix sound offset table access for StS 2 Mac/Amiga.
This (hopefully) fixes bug #6549: "#6549 AGOS: Simon2 Amiga Datafiles crashes with assertion in Intro".
I don't have any copy of StS 2 Mac/Amiga thus I cannot test this.

This bug was caused by a regression in c82a75df69.
2014-03-09 18:27:49 +01:00
Kirben
5cccf1fa3a AGOS: Switch keyboard shortcuts for dumps, to help prevent future conflicts. 2014-03-06 15:38:45 +11:00
Kirben
a310feb8a5 AGOS: Fix error when dumping all VGA scripts. 2014-03-06 15:06:54 +11:00
Kirben
b53487fe38 AGOS: Update debug tables. 2014-03-05 14:27:48 +11:00
Kirben
41d46f07ef AGOS: Correct typos in comments. 2014-03-05 09:17:54 +11:00
Kirben
c049ab0ef0 AGOS: Fix quitting during Oracle text scroll in The Feeble Files. 2014-03-04 20:08:40 +11:00
Kirben
c10cda236b AGOS: Remove duplicate file opens, when counting saved games. 2014-03-04 20:01:36 +11:00
Kirben
32fdb194c7 AGOS: Fix scroll wheel glitch in The Feeble Files. 2014-03-04 17:10:11 +11:00
Torbjörn Andersson
d980584cc5 Merge pull request #441 from eriktorbjorn/feeble-loyalty
Possible fix for bug #6525, AGOS: FF - Loyalty Rating never changes in 4 CD version
2014-03-04 07:08:59 +01:00
Kirben
7cc8d4184a AGOS: Disable mouse scroll in Puzzle Pack games. 2014-03-04 17:04:03 +11:00
Kirben
ec0f420299 AGOS: Add mouse wheel support for The Feeble Files. 2014-03-04 11:20:01 +11:00
Kirben
83b32010b3 AGOS: Add initial support for mouse wheel. 2014-03-02 22:19:32 +11:00
Kirben
901eeea62e AGOS: Convert verb ids for Simon the Sorcerer 2. 2014-03-01 22:54:18 +11:00
Kirben
afd21ac388 AGOS: Enable verb display in Simon the Sorcerer 2. 2014-03-01 20:11:40 +11:00
Torbjörn Andersson
dcac9c1986 AGOS: Fix cut-and-paste error in setLoyaltyRating() 2014-03-01 10:06:52 +01:00
Torbjörn Andersson
b5259a65d8 AGOS: Modify setLoyaltyRating() on Kirben's suggestion 2014-03-01 09:48:22 +01:00
Torbjörn Andersson
d56d64c8ef AGOS: Move most off the loyalty rating workaround to off_b2Set()
Kirben pointed out that there were more loyalty rating events tied
to this opcode than to off_loadVideo(). I didn't notice this
myself since the video loading was so much easier to spot in the
script dump. It's a pity there doesn't seem to be any one opcode
that covers all of the cases.
2014-02-27 07:39:13 +01:00
Torbjörn Andersson
f8c3dcd8b8 AGOS: Add setLoyaltyRating() function 2014-02-27 07:31:17 +01:00
Torbjörn Andersson
93e7e72285 AGOS: Add missing loyalty rating to Feeble Files 4CD version
This attempts to restore the missing loyalty rating setting to the
4CD version of The Feeble Files. So far only for the English
version, since that's all I have, but it would not surprised me if
the other versions are similar.
2014-02-26 22:45:09 +01:00
Johannes Schickel
c4fc0cee96 AGOS: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Johannes Schickel
047df69407 AGOS: Use Common::File instead of SearchMan.
This makes sure the hack from Common::File for filenames with a trailing dot
is used as expected.
2014-01-22 00:53:21 +01:00
Johannes Schickel
1cee8439e7 AGOS: Get rid of ArchiveMan in favor of global SearchMan.
This in fact slightly changes the priority order of added archives. Formerly,
all archives in SearchMan were preferred to the customly added ones in
ArchiveMan. All standard paths (i.e. path and extrapath) will be still be
searched before the custom ones (which are all priority 0 right now) but system
specific paths will be searched after (due to their priority being -1). Since
system specific paths shouldn't contain any game data files this should
hopefully be harmless.

This wasn't tested for games with CAB archives.
2014-01-22 00:30:28 +01:00
Johannes Schickel
e560dca6b1 AGOS: Slightly clean up ArchiveMan code.
This removes the (always true) _fallBack flag which determined whether
SearchMan should be searched.
2014-01-22 00:14:26 +01:00
Kirben
43c2054fd0 AGOS: Add German Amiga OCS version of Simon the Sorcerer 1. 2013-12-24 13:16:45 +11:00
Johannes Schickel
0e017f007a Merge pull request #375 from digitall/engineAutoPlug
RFC: Pluggable Engines #2 (No Python, just evolution of current configure shell and make code)
2013-11-26 02:27:11 -08:00
Strangerke
b3356464e4 AGOS: Janitorial - Fix spacing errors 2013-11-24 19:18:20 +01:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00