aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/drascula.cpp
AgeCommit message (Collapse)Author
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
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-08-26Simplified several calls to copyBackground()Filippos Karapetis
svn-id: r34181
2008-08-26CleanupFilippos Karapetis
svn-id: r34179
2008-08-25Fix for original game bug with the wall plug in chapter 5.Filippos Karapetis
Fixes bug #2059621 - DRASCULA: Plug bug svn-id: r34160
2008-08-24Fix inventory.Eugene Sandulenko
svn-id: r34122
2008-08-19Fix for bug #2057664 - "DRASCULA: No GUI warning when playing from CD"Filippos Karapetis
svn-id: r34030
2008-08-19Fixed regression from commit #33576. Fixes bug #2056282 - "DRASCULA: can't ↵Filippos Karapetis
use inventory objects" svn-id: r34028
2008-08-10Fixed a bunch of Valgrind warnings (mostly uninitialised variables, but also anTorbjörn Andersson
invalid free()), so that I can start and quit the game without any unexpected warnings. (The obvious next step, of course, would be to actually *play* the game for a bit...) svn-id: r33766
2008-08-10address the ignored events and bad inventory screen handling 'features'Kostas Nakos
svn-id: r33758
2008-08-03Fix bug #2011470: "DRASCULA: slowdown when you hold mouse buttons"Eugene Sandulenko
svn-id: r33576
2008-08-02Fix crash when drascula.dat file is missingEugene Sandulenko
svn-id: r33537
2008-06-10The static arrays in drascula.dat contain signed integers as wellFilippos Karapetis
svn-id: r32651
2008-06-10Fixed character walking in room 14 (the bar, right after BJ is kidnapped). ↵Filippos Karapetis
This should fix the issues with the pianist in bug report #1979989 - "DRASCULA : Lip sync error when talking to pianist" svn-id: r32648
2008-06-10drawSurface1 -> bgSurfaceFilippos Karapetis
svn-id: r32644
2008-06-09Fixed regression from commit #32636, leading to a crashFilippos Karapetis
svn-id: r32638
2008-06-09Properly initialize and free memory for textsEugene Sandulenko
svn-id: r32636
2008-06-09Properly initialize and destroy the different arrays read from drascula.dat. ↵Filippos Karapetis
Also, fixed a crash that occurred from the last commit svn-id: r32635
2008-06-09Bugfix to read the first array element correctly by sevFilippos Karapetis
svn-id: r32634
2008-06-09- drascula.dat is now read completelyFilippos Karapetis
- Removed the rest of the game static data (staticdata.h) - Some naming convention fixes (added underscore to some shared variables) - Renamed objeto -> object svn-id: r32628
2008-06-08Load all texts from drascula.datEugene Sandulenko
svn-id: r32622
2008-06-08quitGame() -> endChapter()Filippos Karapetis
svn-id: r32620