aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/rooms.cpp
AgeCommit message (Collapse)Author
2014-02-18DRASCULA: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-19DRASCULA: Some renaming. Also, get rid of some extraneous globalsFilippos Karapetis
This removes the superfluous talkHeight, talkWidth and timeDiff variables. It also changes _loadedDifferentChapter to be a boolean
2013-01-06DRASCULA: Fix shadowing warnings (thanks LordHoto), and rename some variablesFilippos Karapetis
2013-01-04DRASCULA: Merge some animation functions and document all animationsFilippos Karapetis
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
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-04-24DRASCULA: Avoid crash in engine destructor after it failed to start.Thierry Crozat
This happens for example if the drascula.dat file is not found.
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-01-27DRASCULA: Fix Memory Leaks in Rooms Table.David Turner
Minor whitespace fixes as well. svn-id: r55560
2010-10-15DRASCULA: Fix some code analysis warnings (bug #3087830)Eugene Sandulenko
svn-id: r53473
2010-06-15Drascula: hid room updater-related debug output to deeper levelEugene Sandulenko
svn-id: r49702
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-08Renamed ArjFile to ArchiveMan, and _arj to _archives.Nicola Mettifogo
svn-id: r48000
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
2010-02-08The text parser functions can create their temporary buffers on the stack.Nicola Mettifogo
svn-id: r47991
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-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-02-15- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.Johannes Schickel
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated). - Update all client code which relied on OSystem::clearScreen so far. svn-id: r38304
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
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 of exitRoom()Filippos Karapetis
svn-id: r34463
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-25Fix for original game bug with the wall plug in chapter 5.Filippos Karapetis
Fixes bug #2059621 - DRASCULA: Plug bug svn-id: r34160
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-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
2008-06-10Use the array sizes loaded from drascula.dat, instead of ARRAYSIZEFilippos Karapetis
svn-id: r32650
2008-06-10drawSurface1 -> bgSurfaceFilippos Karapetis
svn-id: r32644
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-08The pendulumSurface pointer is only used in update_102()Filippos Karapetis
svn-id: r32614
2008-06-07Shuffled around more code. Now the files look more manageable.Eugene Sandulenko
svn-id: r32599
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-06Move more room code into roomActions[].Eugene Sandulenko
svn-id: r32582
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-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-06Simplified the room preupdaters and updatersFilippos Karapetis
svn-id: r32573
2008-06-06Fix regressions introduced in r32571Eugene Sandulenko
svn-id: r32572