aboutsummaryrefslogtreecommitdiff
path: root/engines/queen
AgeCommit message (Collapse)Author
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-02QUEEN: Replace snprintf() instance with Common::String::format()D G Turner
Safer and less portability issues.
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-25QUEEN: tyre -> tireMatthew Hoops
2011-05-25ALL: neighbour -> neighborMatthew Hoops
2011-05-22ENGINES: Further unify engine namesThierry Crozat
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-07QUEEN: Delete the parser before closing the driver.eriktorbjorn
Deleting the parser may fire off a series of events, so it's probably a good idea to keep the driver open for that. I have not seen this error anywhere else, except maybe in the unit tests.
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format more forward declarations to follow conventionOri Avtalion
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
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-25QUEEN: Remove leftover class forward declarationMax Horn
2011-03-24QUEEN: Rename some MidiMusic members to match Audio::MidiPlayerMax Horn
2011-03-24QUEEN: Fix incorrect 'all notes off' handlingMax 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-23ENGINES: Use Common::StackLock in more placesMax Horn
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-20QUEEN: Fix the journal's music volume sliderdhewg
Another regression from b5af1568
2011-03-20QUEEN: Reenable speech per defaultdhewg
Regression (typo) from b5af1568
2011-03-19QUEEN: Init volume levels on startupdhewg
And cleanup syncSoundSettings() Also, respect global mute settings
2011-02-19Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into ↵Johannes Schickel
master Conflicts: backends/platform/android/android.cpp engines/sci/graphics/screen.cpp engines/sci/graphics/transitions.cpp
2011-02-19QUEEN: fix #1858081 - Jetty: "sign" at wrong positionGregory Montoir
Off by one error in original object trigger ; since this is minor glitch, this patch only fixes new game state (ie. existing savegames are still affected).
2011-02-14QUEEN: Adapt to setPalette RGBA->RGB change.Johannes Schickel
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07QUEEN: Avoid hiding an overloaded virtual methodMax Horn
svn-id: r55819
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-11-21QUEEN: Correct uninitialised read in Queen Adlib driver found by Valgrind.David Turner
svn-id: r54410
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-01ENGINES: Replace many printfs by warning/debug/debugNMax Horn
svn-id: r54031
2010-11-01GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warningsMax Horn
svn-id: r54007
2010-10-15QUEEN: Fixed code analysis warning - bug #3087851Filippos Karapetis
svn-id: r53499
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
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-01QUEEN: fix for bug 3036170. File name test supports upper case for ↵Yotam Barnoy
transferring from Windows to other systems (e.g. PSP) svn-id: r51566
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
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-05-18Replace one instance of strncpy with Common::strlcpy.Johannes Schickel
svn-id: r49085
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-25get rid of global Box objects and remove obsoleted PALMOS_ARM defines.Gregory Montoir
svn-id: r48800
2010-04-12Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew ↵Ori Avtalion
language svn-id: r48645
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-24Stop the music before starting the next one, after discussing it with joostp.Torbjörn Andersson
This should fix bug #2961891 ("FOTAQ: Floda Alarm Tone Won't Stop"). It's probably too late to get this into the branch - at least before the release - since it's not a particularly serious bug. svn-id: r48381