aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/drascula.h
AgeCommit message (Collapse)Author
2009-07-25Added word-wrapping to Drascula's conversation options. Fixes bug #2826607.Torbjörn Andersson
svn-id: r42755
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-03-01Merged Engine::go() and ::init() into a new run() method (currently ↵Max Horn
implemented by calling the existing init&go methods; to be cleaned up by engine authors svn-id: r39002
2009-01-05Got rid of updateAnim2()Filippos Karapetis
svn-id: r35747
2008-12-03Applied wjpalenstijn's patch to fix bug #2111826 - "DRASCULA: Inserting save ↵Filippos Karapetis
game names lags" svn-id: r35221
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-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-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-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. Simplified converse()Filippos Karapetis
svn-id: r34460
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-26Merged talk_vonBraun and talk_vonBraunpuertaFilippos Karapetis
svn-id: r34180
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-17Possible fix for bug #1979086 - "DRASCULA: Wrong language detection(?) and ↵Filippos Karapetis
crash" svn-id: r32728
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-10drawSurface1 -> bgSurfaceFilippos Karapetis
svn-id: r32644
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-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-08The pendulumSurface pointer is only used in update_102()Filippos Karapetis
svn-id: r32614
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-08Grouped all the different draw buffers/pointers togetherFilippos Karapetis
svn-id: r32612
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-07Fixed regression from last commitFilippos Karapetis
svn-id: r32590
2008-06-07Used enums for igor talker typesFilippos Karapetis
Merged a lot of code of talk_pianist, talk_drunk, talk_werewolf and talk_mus svn-id: r32589
2008-06-07Simplified talk_hackerFilippos Karapetis
svn-id: r32588
2008-06-06Slighly modified patch #1985341: "DRASCULA: Hopefully my last batch of ↵Eugene Sandulenko
english updates" svn-id: r32585
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-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-06Removed the empty specialized parsers for rooms 19, 44, 61 and 63Filippos Karapetis
svn-id: r32571