aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie
AgeCommit message (Collapse)Author
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-13Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: video/qt_decoder.cpp
2011-04-13GROOVIE: MPEG4 player should override unload so scripts can stop musicScott Thomas
2011-04-13GROOVIE: Use provided OCReMix song for T7G iOS creditsScott Thomas
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-04-11GROOVIE: T7G iOS isn't a CD game - don't check or prompt userScott Thomas
2011-04-11GROOVIE: T7G iOS patches in 7/11 soundtrack files during intro sequenceScott Thomas
2011-04-08GROOVIE: Determine correct MPEG4 resource to load for based on filerefScott Thomas
2011-04-08GROOVIE: Store resource name in ResInfo structScott Thomas
2011-04-07GROOVIE: Implement MusicPlayerMPEG4::updateVolume()Matthew Hoops
2011-04-07GROOVIE: Hook into the new QuickTimeAudioStream codeMatthew Hoops
2011-04-08GROOVIE: Add detection for T7G iOS based on m4a filesScott Thomas
2011-04-07GROOVIE: Add a stub MPEG4 music playerMatthew Hoops
2011-04-08GROOVIE: Fix brace formatting.Scott Thomas
2011-04-07GROOVIE: Add additional play-speed modes to T7G.Scott Thomas
These two speed modes enable faster movement throughout the mansion. iOS mode matches the behavior of the official iOS release while tweaked mode additionally uses original framerate for 'teeth' animations.
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