aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie
AgeCommit message (Collapse)Author
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-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-25GROOVIE: fix for bug #3093310spookypeanut
Instead of crashing if the save game isn't writable, popup a gui message and then skip
2011-04-19GROOVIE: Replace TODO about YUV data with a comment.Johannes Schickel
Since the surfaces in question are never used outside the ROQ code it is fine to use a faked RGB pixel format even when they are actually YUV data.
2011-04-17GROOVIE: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2011-04-17GROOVIE: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth. Groovie seems to use Graphics::Surface also to store YUV data, I used a fake PixelFormat setup there and added a TODO about it.
2011-04-15GROOVIE: Implement resource search-by-name for v2 gamesScott Thomas
2011-04-15GROOVIE: Use uint32 when searching for a video id by nameScott Thomas
This brings ResMan::getRef into line with the rest of the engine.
2011-04-14ALL: centre -> centerMax Horn
2011-04-14ALL: colour -> colorMax Horn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
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-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