aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie
AgeCommit message (Collapse)Author
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-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances.
2011-03-19GROOVIE: Set global volume levelsdhewg
2011-03-04GROOVIE: Mark overwritten members as virtualdhewg
2011-02-16GROOVIE: Simplify the cursor palette reading.Jordi Vilalta Prat
2011-02-14GROOVIE: Adapt to setPalette/grabPalette RGBA->RGB change.Johannes Schickel
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-02-04GROOVIE: Disable other T7G Mac entries as they should no longer be neededMatthew Hoops
svn-id: r55765
2011-02-04COMMON: Only take the md5 of the resource fork data sectionMatthew Hoops
Since various apps can modify the type/creator of the files, we can't rely on the header of the resource fork to take the md5. I've therefore also recalculated all of the detector entries (all 5 of them) that use the Mac resource fork code. svn-id: r55764
2011-01-07GROOVIE: Fix a memory leak reported by cppcheck.Jordi Vilalta Prat
svn-id: r55150
2010-12-19GROOVIE: Add two new t7g detection entries, one from bug tracker, one from meHenry Bush
svn-id: r54961
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
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-07ENGINES: Do not include engines/savestate.h from engines/game.hMax Horn
svn-id: r54119
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-27GROOVIE: Fix bug #3095031 (regression in Russian T7G).Jordi Vilalta Prat
Additionally fixed some NEWS file punctuation. svn-id: r53874
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
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-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-09-08GROOVIE: Improve sound handling.Jordi Vilalta Prat
- Obey the mute setting. - Report the supported music types. svn-id: r52633
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-25Silenced false positive warning in MSVCFilippos Karapetis
svn-id: r51274
2010-07-23GROOVIE: Fix compilation.Jordi Vilalta Prat
svn-id: r51206
2010-07-23GROOVIE: Optimize the VDX player.Jordi Vilalta Prat
- Make some small optimizations to the VDX player. The changes aren't noticeable on desktop computers, but it showed changes on the profiler. Let's see if it helps limited platforms. - Clarify a few variable names and clean their usage. svn-id: r51205
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-05Cleanup and documentation.Alejandro Marzini
svn-id: r50667
2010-07-03Fixed "declared class seen before as struct" warning on MSVC.Alejandro Marzini
svn-id: r50611
2010-07-01Add support for the 'fallback' MIDI in T7G's intro when the CD track cannot ↵Matthew Hoops
be found. The intro music in the Mac version now plays. svn-id: r50564
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-22Fix uncompressed MIDI in T7G Mac.Matthew Hoops
svn-id: r50165
2010-06-22Groovie: Add support for the compressed MIDI files of T7G Mac.Jordi Vilalta Prat
svn-id: r50163
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-21Check against the signature of Groovie v2 cursors with MKID_BE, makes it ↵Matthew Hoops
easier to see what it's doing. svn-id: r50114
2010-06-17Fixed a few cppcheck errors.Torbjörn Andersson
svn-id: r49919
2010-06-15Surface is a struct, not a classFilippos Karapetis
svn-id: r49883
2010-06-15AdvancedDetector: Add new parameter directoryGlobs.Eugene Sandulenko
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678
2010-06-14Extended advancedDetector with depth parameter.Eugene Sandulenko
Now AD can search nested directories. By default it is turned off, but there is new parameter to ADParameters struct. Usually value of 2 is good enough for all purposes. svn-id: r49653
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-06-07Groovie:Jordi Vilalta Prat
- Rewritten T7G's font code to subclass Graphics::Font and make it cleaner. - Use theme fonts for the Mac version of T7G (which used ugly system fonts originally). With this the Mac version should be completable. - Cleanup include interdependencies. svn-id: r49487
2010-05-20Add initial support for T7G Mac MIDIs. Compressed MIDI is not yet supported.Matthew Hoops
svn-id: r49119
2010-05-20Groovie: Add support for MT-32 custom instrumentsJordi Vilalta Prat
svn-id: r49117
2010-05-20Groovie: Tweak a filename of the Mac version of T7GJordi Vilalta Prat
svn-id: r49112
2010-05-11Add support for loading T7G Mac resources using the MacResManager.Matthew Hoops
svn-id: r49005
2010-05-04Reduce indirect header dependencies furtherMax Horn
svn-id: r48936
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
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