aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/agos.cpp
AgeCommit message (Collapse)Author
2016-04-14AGOS: Reduce audio header dependenciesOri Avtalion
2015-06-21AGOS: implement Accolade AdLib + MT32 music driversMartin Kiewitz
- 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
2014-05-15AGOS: Disable image_dump debug command.D G Turner
2014-05-12AGOS: Add image dumping to file enable by debugflag.D G Turner
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-11AGOS: Switch VGA script debug output to debug flag, rather than level 5.D G Turner
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-11AGOS: Change "script" debugflag to "subroutine" as more accurate.D G Turner
This flag is used to enable dumping of subroutine scripts at start.
2014-05-11AGOS: Switch script debugging to debug flag, rather than level 4.D G Turner
This is now set by --debugflags=script rather than -d 4, though it will still require a debug level greater than 0.
2014-05-11AGOS: Switch VGA opcode debugging to debug flag, rather than level 3.D G Turner
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-11AGOS: Switch opcode debugging to a debug flag, rather than level 2 hack.D G Turner
This is now set by --debugflags=opcode rather than -d 2, though it will still require a debug level greater than 0.
2014-05-10AGOS: Remove redundant "level" command from debugger.D G Turner
The base class "debuglevel" command now provides the same functionality.
2014-03-05AGOS: Correct typos in comments.Kirben
2014-03-02AGOS: Add initial support for mouse wheel.Kirben
2014-02-18AGOS: Make GPL headers consistent in themselves.Johannes Schickel
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2011-10-07AGOS: Fix dumping all images option.Travis Howell
2011-08-27Merge pull request #79 from clone2727/agos_cabEugene Sandulenko
AGOS: Add support for loading data from Windows (InstallShield) installer archives
2011-08-27AGOS: Integrate InstallShield support.Travis Howell
2011-08-21AGOS: Use delete instead of free on an C++ object.Johannes Schickel
This fixes some ugly valgrind warnings and some crashes when quitting AGOS games for me.
2011-08-07AGOS: Replace if-cascade by switch.Christoph Mallon
2011-08-06AGOS: Reduced header dependencyEugene Sandulenko
2011-05-17AGOS: cleanupMax Horn
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17AGOS: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵Johannes Schickel
depth.
2011-03-23ENGINES: Further simplify pseudo MidiDrivers; fix some regressionsMax Horn
The regression affected AGOS and maybe some others; specifically, the real MidiDriver would have been deleted twice -- I previously missed that the Engine instances takes care of freeing the real MidiDriver, not the MidiPlayer wrapping it. This commit should clarify the ownership of the real MidiDriver for most pseudo MidiDrivers.
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
Many engines follow the advice in audio/midiparser.h and create a "pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny subset of the MidiDriver capabilities, namely those found in MidiDriver_BASE. So we try to subclass from that whenever possible; this allows us to remove many stub methods, and enables further future simplifications.
2011-03-19AGOS: Cleanup syncSoundSettings()dhewg
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-01-27AGOS: Fix Memory Leaks in Feeble Files.David Turner
Found with Valgrind. svn-id: r55559
2011-01-27AGOS: Fix Memory Leaks when playing Simon 2 Win.David Turner
These were identified with Valgrind. svn-id: r55558
2010-11-08COMMON: Push #include audiocd.h in system.h out to .cpp filesMax Horn
svn-id: r54148
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-11-01ENGINES: Remove some 'using' statementsMax Horn
svn-id: r54001
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-09-26AGOS: Fix Valgrind warnings on exit.Torbjörn Andersson
svn-id: r52904
2010-09-15MIDI: Send a reset MIDI device signal on startup.Johannes Schickel
This is currently done in the engine code. I adapted AGI, AGOS, DRACI, GROOVIE, LURE, MADE, QUEEN, SAGA, SKY, TINSEL and TOUCHE to send a reset device on startup. The sound output still works fine (started up a game from every engine), so this should hopefully not introduce any regressions. As far as I can tell it seems that SCUMM does send a proper device reset, so I did not touch it. KYRA only sends a proper reset for MT-32 currently. I am not sure about SCI though. This fixes bug #3066826 "SIMON: MIDI notes off when using RTL after SCI". svn-id: r52736
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-21AGOS: Make the "m" hotkey respect the mute setting.Johannes Schickel
svn-id: r51102
2010-07-21AGOS: Make AGOS respect the mute setting.Johannes Schickel
svn-id: r51100
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-04Cleanup: Treat booleans as booleans, not integers. (I hope I didn't mess up,Torbjörn Andersson
because that would cause some nasty regressions...) svn-id: r50643
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-03-23Fix compiler warning.Travis Howell
svn-id: r48365