aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/graphics.cpp
AgeCommit message (Collapse)Author
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-09-16- Fixed centerText() to print text at the correct heightFilippos Karapetis
- Removed some duplicate code svn-id: r34569
2008-09-15Fixed compiler warningsMax Horn
svn-id: r34567
2008-09-15Remove a workaround in textFitsCentered(). The blind man's dialog is a bit ↵Filippos Karapetis
better placed now svn-id: r34560
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-14Slight cleanup of centerText()Filippos Karapetis
svn-id: r34531
2008-09-14Fix for bug #2110375 - "DRASCULA: Mouse visible in screen saver", a ↵Filippos Karapetis
regression from moving mouse handling to OSystem svn-id: r34526
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- 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-11Code optimizations from FingolfinFilippos Karapetis
svn-id: r34491
2008-09-11CleanupFilippos Karapetis
svn-id: r34490
2008-09-11Fixed the hotspot for the crosshair cursorFilippos Karapetis
svn-id: r34489
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-09Cleanup. Simplified converse()Filippos Karapetis
svn-id: r34460
2008-08-26Removed some unneeded sanity checks that have been introduced with the ↵Filippos Karapetis
latest cleanups svn-id: r34183
2008-08-26Simplified several calls to copyBackground()Filippos Karapetis
svn-id: r34181
2008-08-17Patch #2045543: Possible fix for Drascula's decodeRLE()Eugene Sandulenko
svn-id: r33973
2008-06-17Removed duplicate codeFilippos Karapetis
svn-id: r32727
2008-06-10drawSurface1 -> bgSurfaceFilippos Karapetis
svn-id: r32644
2008-06-09endianess fixesFilippos Karapetis
svn-id: r32639
2008-06-08Restore apostrophe hack.Eugene Sandulenko
svn-id: r32623
2008-06-08Removed the MiVideoSSN buffer, using screenSurface instead. Added a FIXME ↵Filippos Karapetis
for decodeOffset (as it can incorrectly write beyond 64000 bytes, up to 64256) svn-id: r32619
2008-06-08pointer -> memPtrFilippos Karapetis
Des_RLE -> decodeRLE Des_OFF -> decodeOffset Lenght -> length Removed duplicate code for RLE decoding svn-id: r32617
2008-06-08Use mixVideo() in showFrame() and some capitalization fixesFilippos Karapetis
svn-id: r32616
2008-06-08- Removed the AuxBuffOrg and AuxBuffDes buffersFilippos Karapetis
- Renamed loadPCX -> showFrame - Removed WaitForNext() - Cleaned up the PCX frame loading code svn-id: r32615
2008-06-08Removed the useless pcxBuffer buffer and auxPun pointer and fixed an ↵Filippos Karapetis
off-by-one error in the PCX decoding routine svn-id: r32613
2008-06-08CleanupFilippos Karapetis
svn-id: r32609
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