aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/animation.cpp
AgeCommit message (Collapse)Author
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-02-23ALL: Fix typo (existant->existent)Willem Jan Palenstijn
2013-01-06DRASCULA: Fix shadowing warnings (thanks LordHoto), and rename some variablesFilippos Karapetis
2013-01-04DRASCULA: More animation cleanup. Separate subfunction of animation_12_5()Filippos Karapetis
2013-01-04DRASCULA: Merge some animation functions and document all animationsFilippos Karapetis
2013-01-04DRASCULA: Respond quicker to aborting the von Braun songTorbjörn Andersson
This also fixes a palette glitch when trying to interrupt during a fade. (The old image would flash before the room changed. It's possible other such glitches still exist here, but if so they're much less obvious than that one was.)
2011-12-08DRASCULA: Replace usage of 'goto'.D G Turner
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-01-28DRASCULA: Fixed Code to allow Quit/RTL Function and avoid Memory Leakage.David Turner
A memory leakage was traced down to a failure to call the engine destructor. This was due to the engine directly calling OSystem quit() i.e. _system->quit(), rather than just allowing engine::run() to return. Have removed this code and implemented the changes required to allow graceful Quit/RTL to occur. svn-id: r55583
2010-09-23DRASCULA: Play the English "von Braun" trackTorbjörn Andersson
The workaround is no longer needed since we provide the previously missing track. It shouldn't break the game if you play from the CD either, as the timing appears to be hardwired rather than keyed to the music. svn-id: r52866
2010-06-15Drascula: add even more responsivenessEugene Sandulenko
svn-id: r49718
2010-06-15Drascula: more responsiveness.Eugene Sandulenko
svn-id: r49717
2010-06-15Drascula: Fix bug #2826610.Eugene Sandulenko
Bug #2826610: "DRASCULA: Graveyard GFX error". Actually it was fixed by previous commit. Added more responsiveness for this animation. svn-id: r49710
2010-06-15Drascula: Fix bug #2854303.Eugene Sandulenko
Bug #2854303: "DRASCULA: Glitch when using cross on vampire guard". Apparently during refactoring of animation-related code duplication the conversion was incorrect. Rewrote relevant function. svn-id: r49704
2010-06-15Drascula: Added animation-related debug output.Eugene Sandulenko
svn-id: r49701
2010-05-24Fix bug #2827172: DRASCULA: Cursor appears ontop of ending and creditsEugene Sandulenko
svn-id: r49194
2009-05-12Replace verb numbers with constants in selectVerb() callEugene Sandulenko
svn-id: r40476
2009-01-05Got rid of updateAnim2()Filippos Karapetis
svn-id: r35747
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-09-16Fixed some glitches in the last part of Von Braun's storyFilippos Karapetis
svn-id: r34575
2008-09-16Cleaned up and fixed the cutscene with Von Braun's story. Fixes bugs ↵Filippos Karapetis
#2111804 - "DRASCULA: Cut scene bugs" and #2059648 - "DRASCULA: VonBraun's song" svn-id: r34574
2008-09-15Fixed the phrase told by the protagonist when he talks to the blind man the ↵Filippos Karapetis
second time svn-id: r34559
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-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-27Document some animationsFilippos Karapetis
svn-id: r34190
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-08-25Fix for bug #2062024 - "DRASCULA: Error talking with blind man"Filippos Karapetis
svn-id: r34154
2008-06-25Added patch from bug report #2001189 - "DRASCULA: Wrong intro music in ↵Filippos Karapetis
Spanish version" svn-id: r32783
2008-06-17Possible fix for bug #1979086 - "DRASCULA: Wrong language detection(?) and ↵Filippos Karapetis
crash" svn-id: r32728
2008-06-10drawSurface1 -> bgSurfaceFilippos Karapetis
svn-id: r32644
2008-06-08CleanupFilippos Karapetis
svn-id: r32609
2008-06-07Shuffled around more code. Now the files look more manageable.Eugene Sandulenko
svn-id: r32599
2008-06-07CleanupFilippos Karapetis
estanteria -> bookcase svn-id: r32591
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-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-05Added enums for all items up to chapter 3 and some of chapter 4Filippos Karapetis
svn-id: r32556
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-04Fixed the animation where the window is broken by the spear outside the churchFilippos Karapetis
svn-id: r32542