aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/agos.cpp
AgeCommit message (Collapse)Author
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
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-12-09Changed MidiDriver::createMidi to take a MidiDriverType instead of an intMax Horn
svn-id: r46316
2009-09-24Split the script opcode table for DIMP, since it doesn't match(ie timers) ↵Travis Howell
other Puzzle Pack games. svn-id: r44285
2009-09-23Got rid of Common::File::addDefaultDirectory, instead implemented the ↵Johannes Schickel
solution proposed in "Case agnostic handling for directories (and files)" on -devel. svn-id: r44266
2009-08-18Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD ↵Johannes Schickel
audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files) svn-id: r43512
2009-08-12Enable Personal Nightmare by default.Travis Howell
svn-id: r43304
2009-08-11Add option to disable later games (Feeble Files, Puzzle Pack) in AGOS game ↵Travis Howell
engine, which require higher resolution. svn-id: r43270
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-07-06Ooops, remove debug code.Travis Howell
svn-id: r42164
2009-07-06Use graphics surfaces for screen buffers, and always use correct pitch when ↵Travis Howell
writing to the frameBuffer. svn-id: r42163
2009-05-16Add initial support for DOS non-interactive demos of The Feeble Files.Travis Howell
svn-id: r40619
2009-04-24Fix pausing during video play back.Travis Howell
svn-id: r40098
2009-04-22Fix crash that occurs when OmniTV video is played completely, in The Feeble ↵Travis Howell
Files. svn-id: r40063
2009-03-09Cleanup.Travis Howell
svn-id: r39260
2009-03-09Minor cleanup.Travis Howell
svn-id: r39259
2009-03-09AGOS: Changed _leftButtonDown & _rightButtonDown from byte to intMax Horn
svn-id: r39256
2009-03-09Change Personal Nightmare support to optional, until setjmp/longjmp code is ↵Travis Howell
converted. svn-id: r39253
2009-03-08Cleanup.Travis Howell
svn-id: r39222
2009-03-08Clarify several errors messages.Travis Howell
svn-id: r39219
2009-03-08Add initial support for Personal Nightmare.Travis Howell
Thanks to dreammaster for file decompression and icon decoding code. NOTE: setjmp/longjmp code will require conversion for portability. svn-id: r39216
2009-03-01Add DOS demo of Elvira 1.Travis Howell
svn-id: r39026
2009-03-01Correctly fix position of icons in AtariST version of Elvira 2.Travis Howell
svn-id: r39011
2009-02-13Fix another memory leak, when exiting Waxworks.Travis Howell
svn-id: r36296
2009-02-13Fix memory leaks, when exiting Waxworks.Travis Howell
svn-id: r36294
2009-02-13Fix another memory leak, when exiting AGOS engine.Travis Howell
svn-id: r36293
2009-02-13Fix memory leak, when exiting AGOS engine.Travis Howell
svn-id: r36290