aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/drascula.h
AgeCommit message (Collapse)Author
2011-08-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
2011-06-02DRASCULA: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
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-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: Remove unecessary destructor from ArchiveMan.David Turner
svn-id: r55581
2011-01-27DRASCULA: Fix Memory Leaks in Rooms Table.David Turner
Minor whitespace fixes as well. svn-id: r55560
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
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-04-28Committed my proposed fix for bug #2970211 ("DRASCULA: missing germanTorbjörn Andersson
translation"), after a brief discussion with Fingolfin to make sure I wasn't doing something silly. svn-id: r48833
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-03-09DRASCULA: Simplify playFLI and its subroutinesMax Horn
svn-id: r48217
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-08Reduce header interdependenciesMax Horn
svn-id: r48010
2010-02-08Renamed ArjFile to ArchiveMan, and _arj to _archives.Nicola Mettifogo
svn-id: r48000
2010-02-08Moved ArjFile to drascula.Nicola Mettifogo
svn-id: r47999
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-08Reduced references to _arj to the minimum. It is passed as aNicola Mettifogo
SeekableReadStream everywhere. svn-id: r47993
2010-02-08Pass the input stream to text parser functions.Nicola Mettifogo
svn-id: r47992
2009-11-24Added Doxygen comments for the various engine namespaces (currently mostly ↵Max Horn
without details; help filling these out is welcome) svn-id: r46128
2009-08-04Removed the superfluous VGA buffer, replacing it with direct writes to the ↵Filippos Karapetis
video buffer svn-id: r43048
2009-07-25Added word-wrapping to Drascula's conversation options. Fixes bug #2826607.Torbjörn Andersson
svn-id: r42755
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-03-01Merged Engine::go() and ::init() into a new run() method (currently ↵Max Horn
implemented by calling the existing init&go methods; to be cleaned up by engine authors svn-id: r39002
2009-01-05Got rid of updateAnim2()Filippos Karapetis
svn-id: r35747
2008-12-03Applied wjpalenstijn's patch to fix bug #2111826 - "DRASCULA: Inserting save ↵Filippos Karapetis
game names lags" svn-id: r35221
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-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-15Rewrote the very confusing centerText() function into something that makes ↵Filippos Karapetis
more sense, and matches the way that the original printed text on screen (in most cases) Fixes bugs #2102657 - "DRASCULA: Crash when talking to the piano player" and #2111820 - "DRASCULA: Dialog texts too long" svn-id: r34558
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-11CleanupFilippos Karapetis
svn-id: r34494
2008-09-11- Merged openDoor() and closeDoor()Filippos Karapetis
- Cleaned up updateDoor() - Bugfixes to exitRoom() and gotoObject() - Moved cursor-related functions to interface.cpp - alapuertakeva -> roomExits svn-id: r34493
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
2008-09-10Merged all the methods to assign and set default palettesFilippos Karapetis
svn-id: r34479
2008-09-10Reduced game memory usage by about 400KB by only loading the current ↵Filippos Karapetis
language strings, not all strings svn-id: r34472
2008-09-09- Cleanup and simplificationFilippos Karapetis
- Moved several simple animations out of animation.cpp - Moved some animations with talk sequences inside drascula.dat - A new version of drascula.dat is needed (will be uploaded shortly) svn-id: r34464
2008-09-09Cleanup. Simplified converse()Filippos Karapetis
svn-id: r34460
2008-08-26talk_dr_grande -> talk_drascula_bigFilippos Karapetis
talk_baul -> talk_trunk svn-id: r34182
2008-08-26Simplified several calls to copyBackground()Filippos Karapetis
svn-id: r34181
2008-08-26Merged talk_vonBraun and talk_vonBraunpuertaFilippos Karapetis
svn-id: r34180
2008-06-25Possible fix for (for the drascula engine) for bug #2001583 - "WINCE: CRUISE ↵Filippos Karapetis
and DRASCULA engines can not be compiled" svn-id: r32777
2008-06-17Possible fix for bug #1979086 - "DRASCULA: Wrong language detection(?) and ↵Filippos Karapetis
crash" svn-id: r32728
2008-06-10Fixed regression in the pendulum room, preventing the player from selecting ↵Filippos Karapetis
John's hands (new version of drascula.dat needed) svn-id: r32657