aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/drascula.cpp
AgeCommit message (Collapse)Author
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-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-03-19DRASACULA: Init volume levels on startupdhewg
2011-03-08DRASCULA: Fix a style related warning for WinCE specific code.Johannes Schickel
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
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: 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-11-08COMMON: Push #include audiocd.h in system.h out to .cpp filesMax Horn
svn-id: r54148
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-06-15Drascula: improve responsivity during pauses and palette updates.Eugene Sandulenko
svn-id: r49722
2010-06-15Drascula: Fix bug #2011470.Eugene Sandulenko
Bug #2011470: "DRASCULA: slowdown when you hold mouse buttons" fixed by changing right mouse semantic. Now the items menu showed on button up instead mouse down like earlier. svn-id: r49721
2010-06-15Drascula: Move more cursor-related blits to cursorSurface.Eugene Sandulenko
svn-id: r49715
2010-06-15Drascula: Plug memory leakEugene Sandulenko
svn-id: r49714
2010-06-15Drascula: Fixed bug #2826608.Eugene Sandulenko
Bug #2826608: "DRASCULA: Cursor GFX error" fixed by introducing separate buffer for cursors. This also fixes the root cause of the problem. svn-id: r49713
2010-06-15Drascula: Added debug console. Implemented a (buggy) room comand.Eugene Sandulenko
svn-id: r49703
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-05-24Fix crash when there is no drascula.dat fileEugene Sandulenko
svn-id: r49193
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-03-09DRASCULA: Simplify playFLI and its subroutinesMax Horn
svn-id: r48217
2010-03-09DRASCULA: Simplified some code, cleanupMax Horn
svn-id: r48216
2010-03-09DRASCULA: Some cleanup; turn some global C++ objects into members of ↵Max Horn
DrasculaEngine svn-id: r48215
2010-02-09Moved text parsing to a new class.Nicola Mettifogo
svn-id: r48013
2010-02-08Let ArjFile return a SeekableReadStream instead of implementingNicola Mettifogo
the same interface itself. The caller is now responsible for deleting the returned streams. svn-id: r47994
2010-02-08Pass the input stream to text parser functions.Nicola Mettifogo
svn-id: r47992
2009-08-18Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD ↵Johannes Schickel
audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files) svn-id: r43512
2009-08-04CleanupFilippos Karapetis
svn-id: r43056
2009-08-04Removed the superfluous VGA buffer, replacing it with direct writes to the ↵Filippos Karapetis
video buffer svn-id: r43048
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-05-13Normalized types for several variables. FormattingEugene Sandulenko
svn-id: r40521
2009-05-12Replace verb numbers with constants in selectVerb() callEugene Sandulenko
svn-id: r40476
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-03Applied wjpalenstijn's patch to fix bug #2111826 - "DRASCULA: Inserting save ↵Filippos Karapetis
game names lags" svn-id: r35221
2008-11-16Fixed various g++ warnings ("format not a string literal and no format ↵Johannes Schickel
arguments"). svn-id: r35096
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-09-28- Renamed withVoices to _subtitlesDisabled as it reflect the true meaning.Eugene Sandulenko
- Allowed to disable subtitles from options dialogs including RTL. svn-id: r34675
2008-09-28Fix bug #2043489: DRASCULA: Cannot disable speechEugene Sandulenko
svn-id: r34674
2008-09-16- Moved some includes away from drascula.hFilippos Karapetis
- Moved grr() to talk.cpp - Removed the unnecessary parameter length from isTalkFinished() svn-id: r34577
2008-09-16Assign _lang to the appropriate enum valuesFilippos Karapetis
svn-id: r34572
2008-09-14Big patch changing semantics of ReadStream::eos():Willem Jan Palenstijn
eos() now only returns true _after_ trying to read past the end of the stream. This has a large potential for regressions. Please test! svn-id: r34549
2008-09-13Indentation.Torbjörn Andersson
svn-id: r34513
2008-09-12- Moved more animation data inside drascula.datFilippos Karapetis
- Merged copyRect and copyRectClip - Added enums for all the possible character directions and removed duplicate directions - Extended the talk sequence commands a bit - Removed unnecessary buffer faceBuffer and the unneeded casts between byte * and char * that were used svn-id: r34503
2008-09-11- The game's cursor is now handled via ScummVM's cursor manager, instead of ↵Filippos Karapetis
the game itself (this means that there might be regressions where the cursor is visible when it shouldn't be) - Removed the textSurface pointer, which was used in the Spanish version. Non-Spanish versions of the game hold the font data in the tableSurface buffer (which contains picture 96). The font data for Spanish versions is in picture 974. Now both versions load their font data from the tableSurface buffer - hay_que_load -> loadedDifferentChapter - Merged withoutVerb() and selectVerb() This is a big change, it might lead to regressions! svn-id: r34488
2008-09-10Removed the unused variable changeColorFilippos Karapetis
svn-id: r34480