aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
AgeCommit message (Collapse)Author
2011-04-19LURE: Enabled clickable menus for WebOS.Klaus Reimer
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-04-14ALL: colour -> colorMax Horn
2011-03-23ENGINES: Remove unused MIDI pass-through codeMax Horn
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-19LURE: Init volume levels on startupdhewg
And set global volume levels
2011-02-14LURE: Adapt to setPalette RGBA->RGB change.Johannes Schickel
This is currently done by converting the internal palette from RGBA(?) to RGB when setPalette is called.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
2010-12-03LURE : Fix for ID: 3030143 Unexpected game cursor behavior. Always refresh ↵Lars Persson
menu and screen when mouse is moved. svn-id: r54747
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-11-14LURE: Fix for Valgrind identified memory leaksPaul Gilbert
svn-id: r54236
2010-11-07LURE: Remove all uses of (f)printf; cleanupMax Horn
svn-id: r54106
2010-11-01ENGINES: Get rid of some (f)printfsMax Horn
svn-id: r54011
2010-11-01ENGINES: Remove some 'using' statementsMax Horn
svn-id: r54001
2010-10-24ALL: Fix various typos (patch #3093266)Max Horn
svn-id: r53762
2010-10-15LURE: Fix for #3087842 - Code analysis warningsPaul Gilbert
This is a somewhat cleaner version than my previous commit svn-id: r53516
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-15LURE: Fix for #3087842 - Code analysis warningsPaul Gilbert
Only the warning for res_struct.cpp is valid to be fixed svn-id: r53469
2010-10-13LURE: Bugfix for characters getting stuck in Abbey doorwayPaul Gilbert
svn-id: r53402
2010-10-06LURE: Fix for #3062794 - Diermot cannot leave room 7Paul Gilbert
svn-id: r53039
2010-10-05LURE: Bugfix for #3008511 - Goewin stuck at counterPaul Gilbert
svn-id: r53029
2010-10-05LURE: Bugfix for #3060480 - Ratpouch alternating between roomsPaul Gilbert
svn-id: r53026
2010-10-02LURE: Partial fix for #3008511 Goewin getting stuckPaul Gilbert
This workaround prevents the Weregate from closing whilst Goewin is still within it svn-id: r52971
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-08-25LURE: Workaround for bug #3047234 in English EGA versionPaul Gilbert
svn-id: r52378
2010-07-21LURE: Make LURE respect the mute settings.Johannes Schickel
svn-id: r51101
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-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-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-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-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
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-27Bugfix for making Goewin more smoothly follow player out of the cavesPaul Gilbert
svn-id: r48813
2010-04-27Minor bugfix for the shop-keeper sequence when you're viewing through the ↵Paul Gilbert
window - it was supposed to check whether Gwyn, rather than Goewin, is not in the room before sticking his fingers in his ears svn-id: r48812
2010-04-21Fixed GCC warning about 'hotspotId' shadowing a member of 'this'. Let's callTorbjörn Andersson
the variable 'charId' instead, like in the debug messages where it's used. svn-id: r48759
2010-04-20Corrected a debug statement that could use an object field after the object ↵Paul Gilbert
was destroyed svn-id: r48741
2010-04-19Bugfix for correctly returning follower to player when they're blocked from ↵Paul Gilbert
acting svn-id: r48709
2010-04-16Added code to de-activate town NPCs once the player makes it to the castle, ↵Paul Gilbert
since they're no longer needed svn-id: r48661
2010-04-14Added a default case for characters that don't have a message set, but try ↵Paul Gilbert
to display one svn-id: r48656
2010-04-09Remove unnecessary 'extern' keywordsOri Avtalion
svn-id: r48598
2010-04-05Corrected check to ensure return isn't issued if it's already in progressPaul Gilbert
svn-id: r48535
2010-04-05Bugfix for correctly getting a follower to return to player when blocked ↵Paul Gilbert
from exiting a room 5 times svn-id: r48533