aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
AgeCommit message (Collapse)Author
2011-11-25DRASCULA: Add fix for crash/OOB memory accesses in bug #3440895D G Turner
This bug is "DRASCULA-IT: Crash/graphic glitch at castle towers". The crash was due to width and height values being passed to copyBackground() being invalid due to out of bounds read from the factor_red array. This adds debugging statements and fixes the crash by clipping accesses to the maximum index of factor_red. This doesn't however fix the observed GFX glitch, but stops it being a segfault.
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-11-16DRASCULA: Further cleanup of the sound playing codeFilippos Karapetis
2011-11-13DRASCULA: Simplify speech mute handling.Johannes Schickel
This also adds two TODOs to playFile, which are related to how the sound data size is calculated.
2011-11-13DRASCULA: Improve confirm quit screen.Johannes Schickel
Now the confirm quit screen still updates the room and allows mouse movement. For me that removes the feeling that ScummVM locked up when I pressed escape.
2011-11-13DRASCULA: Allow faster quit when in the mid of a conversation.Johannes Schickel
This allows quitting ScummVM in only a minimal time when a converstion is running instead of waiting for it to finish. It is still not instant but much better.
2011-11-09DRASCULA: Don't go straight to inventory after close volume settings.Torbjörn Andersson
2011-11-02DRASCULA: Fix warningsEugene Sandulenko
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-10-09DRASCULA: Remove unecessary VOC header dependency.D G Turner
Also, remove two engines not using VOC from voc.h header.
2011-08-24DRASCULA: Separated the save name syncing code, and added a TODOFilippos Karapetis
2011-08-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
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-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-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-10DRASCULA: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-06-02DRASCULA: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
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-05-05DRASCULA: Handle pitch in code using lockScreen()Marcus Comstedt
The surface returned by OSystem::lockScreen() can have a pitch which differs from w * bytesPerPixel, so modify the code to take this into account. Fixes FMV problems on Dreamcast.
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-24DRASCULA: Avoid crash in engine destructor after it failed to start.Thierry Crozat
This happens for example if the drascula.dat file is not found.
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-19DRASACULA: Init volume levels on startupdhewg
2011-03-08DRASCULA: Fix a style related warning for WinCE specific code.Johannes Schickel
2011-02-19DRASCULA: Adapt to setPalette 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-01-31DRASCULA: Fixed a warningFilippos Karapetis
svn-id: r55685
2011-01-28DRASCULA: Fixed Code to allow Quit/RTL Function and avoid Memory Leakage.David Turner
A memory leakage was traced down to a failure to call the engine destructor. This was due to the engine directly calling OSystem quit() i.e. _system->quit(), rather than just allowing engine::run() to return. Have removed this code and implemented the changes required to allow graceful Quit/RTL to occur. svn-id: r55583
2011-01-28DRASCULA: Remove unecessary destructor from ArchiveMan.David Turner
svn-id: r55581
2011-01-28DRASCULA: Fix for Duplicate Registering of Archive.David Turner
A warning occurs that the archive, Packet.001 has been added twice. This is due to a hack to get the detector priority listing correct. This fix prevents this causing a multiple add of the same archive. svn-id: r55580
2011-01-28DRASCULA: Fix minor cut and paste error in Console "room" command.David Turner
svn-id: r55579
2011-01-28DRASCULA: Fix uninitialized reads of mouse position variables.David Turner
svn-id: r55578
2011-01-27DRASCULA: Fix Memory Leak in drascula.dat Loading.David Turner
svn-id: r55566
2011-01-27DRASCULA: Fix Memory Leaks in Rooms Table.David Turner
Minor whitespace fixes as well. svn-id: r55560
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
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-07DRASCULA: Add GUIO_NOLAUNCHLOAD to the detection flags.Johannes Schickel
svn-id: r54125
2010-11-07DETECTOR: Get rid of ADGF_KEEPMATCHMax Horn
Also fix some typos, and minor tweaks svn-id: r54118
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-15DRASCULA: Fix some code analysis warnings (bug #3087830)Eugene Sandulenko
svn-id: r53473
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-10-05DRASCULA: Add MD5 for improved French version of the gameThierry Crozat
svn-id: r53034
2010-09-23DRASCULA: Play the English "von Braun" trackTorbjörn Andersson
The workaround is no longer needed since we provide the previously missing track. It shouldn't break the game if you play from the CD either, as the timing appears to be hardwired rather than keyed to the music. svn-id: r52866
2010-09-21DRASCULA: Keep keyboard buffer flushed while waiting for conversationTorbjörn Andersson
Otherwise buffered-up key presses can cause dialog to be skipped once the player finally picks a conversation option. svn-id: r52850