aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/actors.cpp
AgeCommit message (Collapse)Author
2017-11-11DRASCULA: Simplify the drawing code in BJ's roomFilippos Karapetis
2017-11-11DRASCULA: characterMoved and characterVisible are boolean variablesFilippos Karapetis
2016-10-09JANITORIAL: Remove trailing spacesEugene Sandulenko
2016-04-16DRASCULA: Swap extraSurface and tableSurface use in chapter 6 for Spanish ↵Thierry Crozat
version This simplifies the code and bring it closer to the original source code. This should help if we need to debug issues in the future.
2016-04-12DRASCULA: Fix wrong background for inventory in chapter 6Thierry Crozat
This was a regression from commit fa3d3e3 and this fixes part of bug #7113 DRASCULA: Serious sprite glitches. The original uses extraSurface to draw text in draw_abc() in the Spanish version while other languages use tableSurface. But in ScummVM this was changed to use tableSurface for all languages. However this caused an issue in chapter 6 when displaying the inventory has it is also using tableSurface, as it was for all languages in the original. While using the same surface works for other languages, in the Spanish version we get the wrong background in the inventory. Rather than revert to using extraSurface for drawing text which is a big change and impact all the chapters, I have opted to simply swap the usage of the tableSurface and extraSurface in chapter 6 for the Spanish version compared to the original engine. The changes therefore only impact chapter 6 and only the Spanish version. I played the chapter in full to check that it indeed works without causing adverse effects.
2016-04-11DRASCULA: Fix typo in variable nameThierry Crozat
2016-04-11DRASCULA: Rename variable to clarify its meaningThierry Crozat
2016-04-09DRASCULA: Fix character walking off screenThierry Crozat
There was an unhandled case in chapter 2 when the character is at the exact Y location and close to the X location to where we asked him to walk. The code started the walk but without properly setting the curDirection and trackProtagonist variables. This resulted in the walk never stopping. I checked what the original source code is doing for this case and implemented it in the same way: the character does not start walking. This fixes bug #7112: DRASCULA: protagonist walking off the screen
2015-03-01DRASCULA: comment "actors.cpp"norbertbajko
Explain #5903 DRASCULA-IT bug fix
2015-03-01DRASCULA: fix crash/graphic glitch at castle towersNorbert Bajkó
Fix bug #5903 DRASCULA-IT: Crash/graphic glitch at castle towers
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
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-07-14Changed abs() to ABS() in a few places.Torbjörn Andersson
svn-id: r50890
2010-06-15Drascula: add even more responsivenessEugene Sandulenko
svn-id: r49718
2010-06-15Drascula: Made actors animation more smooth.Eugene Sandulenko
svn-id: r49712
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-09CleanupFilippos Karapetis
svn-id: r34462
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-08CleanupFilippos Karapetis
svn-id: r32609
2008-06-07Shuffled around more code. Now the files look more manageable.Eugene Sandulenko
svn-id: r32599