aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/drascula.cpp
AgeCommit message (Collapse)Author
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
2008-06-08The pendulumSurface pointer is only used in update_102()Filippos Karapetis
svn-id: r32614
2008-06-08Use _system->quit() instead of exit(0).Torbjörn Andersson
svn-id: r32611
2008-06-08Initialize _charMap to avoid crash when drascula.dat doesn't existFilippos Karapetis
svn-id: r32607
2008-06-07Add stubs for .dat file loadingEugene Sandulenko
svn-id: r32605
2008-06-07WIP of drascula.dat loading. Eugene Sandulenko
DISCLAIMER: this is too far from finished. From now drascula.dat is required to run the game, but in the meantime you have to make it by yourself. Do not update DRASCULA_DAT_VER as I want it to be version 1 once all loading will be implemented, but that may lead to some changes similar to r32602. svn-id: r32603
2008-06-07Shuffled around more code. Now the files look more manageable.Eugene Sandulenko
svn-id: r32599
2008-06-07Patch #1986992: "DRASCULA: correcting errors"Eugene Sandulenko
svn-id: r32592
2008-06-06Fix apostrophe rendering in conversation texts.Eugene Sandulenko
svn-id: r32587
2008-06-06Slighly modified patch #1985341: "DRASCULA: Hopefully my last batch of ↵Eugene Sandulenko
english updates" svn-id: r32585
2008-06-06Partially reverted the changes to for loops in my last commit. It's not wise ↵Filippos Karapetis
to call strlen() on each loop iteration... svn-id: r32584
2008-06-06- CleanupFilippos Karapetis
- Removed the unneeded AuxBuffLast buffer (this one is really not necessary :) ) - Simplified some more room actions svn-id: r32583
2008-06-06Partially reverted r32580. That surface is used by Spanish version.Eugene Sandulenko
svn-id: r32581
2008-06-06Removed the useless textSurface bufferFilippos Karapetis
frame_x -> frameX candleX, candleY, pianistX and drunkX are used in more than one place svn-id: r32580
2008-06-06Initialize roomNumber correctlyFilippos Karapetis
svn-id: r32579
2008-06-06- Cleaned up the code that makes the in-game screensaver pop upFilippos Karapetis
- Grouped all the frame_* variables - Removed the unused mouseY_ant variable Renamed: x_dr/y_dr -> drasculaX/drasculaY x_bj/y_bj -> bjX/bjY vb -> VonBraun wolf -> werewolf pos_cabina -> cabinPos dir_lectura -> pal plt -> colorCount palNegra -> blackPalette cont_sv -> framesWithoutAction svn-id: r32577
2008-06-06Removed left-over debugging.Torbjörn Andersson
svn-id: r32569
2008-06-06Only try to play a sound file if the file could be found. (Otherwise, it looksTorbjörn Andersson
like it will try to use the most recently opened file, which is probably not a sound at all.) svn-id: r32568
2008-06-05escoba -> runCurrentChapterFilippos Karapetis
svn-id: r32557