aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
AgeCommit message (Collapse)Author
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri Avtalion
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning.
2011-06-23LURE: Allocate debug strings buffer on the heapJulien
2011-06-23ANALYSIS: Fix potential memory leak when using reallocJulien
When reallocation is unsuccessful, the passed buffer is not freed. In this case, assigning the result (NULL) will result in a leak of the original memory buffer. See http://msdn.microsoft.com/en-us/library/kkedhy7c.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-14LURE: Add a comment explaining why kADFlagUseExtraAsHint is usedMax Horn
For the records, this was introduced by Eugene in SVN revision 30106, corresponding to git commit b87b0f21
2011-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-10LURE: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-06-02LURE: Replace snprintf() usage 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-25ALL: favour/favourite -> favor/favoriteMatthew Hoops
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-22ENGINES: Further unify engine namesThierry Crozat
2011-05-17LURE: Rename method random() -> getRandom()Max Horn
Also get rid of a slight bias for 0 in the random numbers (it was selected twice as often as any other number).
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-16ENGINES: Unify engine namesThierry Crozat
This unifies the engine names in MetaEngine::getName() and the credits. In particular drop "Engine" or "engine" from the names when it was present and use expanded names in credits when the MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
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-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