aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/drascula.cpp
AgeCommit message (Collapse)Author
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
2008-06-05Added enums for all items up to chapter 3 and some of chapter 4Filippos Karapetis
svn-id: r32556
2008-06-05Fix compiler warning (to clear a C-string, do not abuse sprintf like that)Max Horn
svn-id: r32555
2008-06-05- Rewrote the way room updaters, preupdaters and room parsers are called and ↵Filippos Karapetis
added debug output when they're called - Simplified calls to converse() - Removed the useless para_codificar buffers - Renamed checkFlag -> checkAction svn-id: r32554
2008-06-05- Removed the unused hay_sb variable (originally, it was meant to check if ↵Filippos Karapetis
the sound is active or not) - mesa -> volumeControls - Cleanup of volumeControls() - fliplay -> playFLI, and removed openSSN() and EndSSN() - Some translations: button_izq -> leftMouseButton button_dch -> rightMouseButton animation_rayo -> animation_ray hueso -> bone vuela -> fly svn-id: r32552
2008-06-04saves -> saveLoadScreenFilippos Karapetis
svn-id: r32546
2008-06-04Clear "select" when the save/load screen pops up, to avoid having garbage ↵Filippos Karapetis
shown in the selected game slot svn-id: r32545
2008-06-04Reduced the delays in Drascula's save/load screen to make it more responsive ↵Filippos Karapetis
(since delay() waits for double the time internally) svn-id: r32544
2008-06-04Removed decompressPic() and fixed the animation of Von Braun and his glass cageFilippos Karapetis
svn-id: r32541
2008-06-04lleva_vb -> placeVBFilippos Karapetis
c_mirar -> curExcuseLook c_poder -> curExcuseAction sentido -> trackCharacter mirar_t -> lookExcuses poder_t -> actionExcuses svn-id: r32535
2008-06-04Simplified some more calls to loadPic()Filippos Karapetis
svn-id: r32534
2008-06-04releaseGame() -> quitGame()Filippos Karapetis
nivel_osc -> palLevel Simplified calls to loadPic() svn-id: r32533
2008-06-04Fixed regression from commit #32507Filippos Karapetis
svn-id: r32532