Strangerke
e3ed8d5ff3
DRASCULA: Reduce some variable scope in Animation
2014-06-16 07:19:45 +02:00
Johannes Schickel
cf91cebb9d
DRASCULA: Make GPL headers consistent in themselves.
2014-02-18 02:39:34 +01:00
Eugene Sandulenko
9854911932
DRASCULA: Give hint about unused return value. CID 1003863
2013-10-17 13:47:16 +03:00
Filippos Karapetis
d531484350
DRASCULA: Some renaming. Also, get rid of some extraneous globals
...
This removes the superfluous talkHeight, talkWidth and timeDiff
variables. It also changes _loadedDifferentChapter to be a boolean
2013-08-19 03:08:58 +03:00
Willem Jan Palenstijn
2d1fd3b554
ALL: Fix typo (existant->existent)
2013-02-23 22:07:32 +01:00
Filippos Karapetis
89bbc9c292
DRASCULA: Fix shadowing warnings (thanks LordHoto), and rename some variables
2013-01-06 21:54:40 +02:00
Filippos Karapetis
00c0986562
DRASCULA: More animation cleanup. Separate subfunction of animation_12_5()
2013-01-04 23:06:19 +02:00
Filippos Karapetis
c1b0c80cce
DRASCULA: Merge some animation functions and document all animations
2013-01-04 19:31:25 +02:00
Torbjörn Andersson
069f1079d8
DRASCULA: Respond quicker to aborting the von Braun song
...
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.)
2013-01-04 14:21:34 +01:00
D G Turner
4a59c954fd
DRASCULA: Replace usage of 'goto'.
2011-12-08 14:54:18 +00:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
David Turner
96174d6842
DRASCULA: Fixed Code to allow Quit/RTL Function and avoid Memory Leakage.
...
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
2011-01-28 08:07:50 +00:00
Torbjörn Andersson
b7911ef0f4
DRASCULA: Play the English "von Braun" track
...
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-09-23 20:01:08 +00:00
Eugene Sandulenko
02a76b2e91
Drascula: add even more responsiveness
...
svn-id: r49718
2010-06-15 10:23:17 +00:00
Eugene Sandulenko
ba25faaf42
Drascula: more responsiveness.
...
svn-id: r49717
2010-06-15 10:22:56 +00:00
Eugene Sandulenko
a9b9da5d72
Drascula: Fix bug #2826610 .
...
Bug #2826610 : "DRASCULA: Graveyard GFX error". Actually it was fixed
by previous commit. Added more responsiveness for this animation.
svn-id: r49710
2010-06-15 10:20:44 +00:00
Eugene Sandulenko
6d4ad23b55
Drascula: Fix bug #2854303 .
...
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-15 10:18:51 +00:00
Eugene Sandulenko
b78663f6fb
Drascula: Added animation-related debug output.
...
svn-id: r49701
2010-06-15 10:17:51 +00:00
Eugene Sandulenko
afd909d69e
Fix bug #2827172 : DRASCULA: Cursor appears ontop of ending and credits
...
svn-id: r49194
2010-05-24 16:59:06 +00:00
Eugene Sandulenko
17a68490be
Replace verb numbers with constants in selectVerb() call
...
svn-id: r40476
2009-05-12 10:02:18 +00:00
Filippos Karapetis
ad3ee36805
Got rid of updateAnim2()
...
svn-id: r35747
2009-01-05 20:17:33 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis
3bffca569f
Fixed some glitches in the last part of Von Braun's story
...
svn-id: r34575
2008-09-16 10:53:57 +00:00
Filippos Karapetis
d95e0059a2
Cleaned up and fixed the cutscene with Von Braun's story. Fixes bugs #2111804 - "DRASCULA: Cut scene bugs" and #2059648 - "DRASCULA: VonBraun's song"
...
svn-id: r34574
2008-09-16 10:44:07 +00:00
Filippos Karapetis
8a9dd3345e
Fixed the phrase told by the protagonist when he talks to the blind man the second time
...
svn-id: r34559
2008-09-15 13:45:10 +00:00
Filippos Karapetis
cbf561a0a0
- Moved more animation data inside drascula.dat
...
- 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-12 12:54:16 +00:00
Filippos Karapetis
6fd2cb99db
Cleanup
...
svn-id: r34494
2008-09-11 15:35:56 +00:00
Filippos Karapetis
a12e2b8037
- Merged openDoor() and closeDoor()
...
- Cleaned up updateDoor()
- Bugfixes to exitRoom() and gotoObject()
- Moved cursor-related functions to interface.cpp
- alapuertakeva -> roomExits
svn-id: r34493
2008-09-11 14:49:04 +00:00
Filippos Karapetis
fa3d3e3643
- The game's cursor is now handled via ScummVM's cursor manager, instead of 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-11 09:31:45 +00:00
Filippos Karapetis
f5fecc864f
Merged all the methods to assign and set default palettes
...
svn-id: r34479
2008-09-10 12:03:42 +00:00
Filippos Karapetis
3202ef4dd1
Reduced game memory usage by about 400KB by only loading the current language strings, not all strings
...
svn-id: r34472
2008-09-10 08:25:12 +00:00
Filippos Karapetis
932399481a
- Cleanup and simplification
...
- 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-09 15:59:06 +00:00
Filippos Karapetis
dc304dbde2
Cleanup. Simplified converse()
...
svn-id: r34460
2008-09-09 11:20:34 +00:00
Filippos Karapetis
de64aa9c4a
Document some animations
...
svn-id: r34190
2008-08-27 10:00:32 +00:00
Filippos Karapetis
dbbfaa4c83
talk_dr_grande -> talk_drascula_big
...
talk_baul -> talk_trunk
svn-id: r34182
2008-08-26 08:35:02 +00:00
Filippos Karapetis
0a2a468d83
Simplified several calls to copyBackground()
...
svn-id: r34181
2008-08-26 08:21:21 +00:00
Filippos Karapetis
3b0aba1c38
Merged talk_vonBraun and talk_vonBraunpuerta
...
svn-id: r34180
2008-08-26 08:05:36 +00:00
Filippos Karapetis
4abc98dfdf
Fix for bug #2062024 - "DRASCULA: Error talking with blind man"
...
svn-id: r34154
2008-08-25 15:07:05 +00:00
Filippos Karapetis
ef07d7e8a7
Added patch from bug report #2001189 - "DRASCULA: Wrong intro music in Spanish version"
...
svn-id: r32783
2008-06-25 12:02:34 +00:00
Filippos Karapetis
8541fb5148
Possible fix for bug #1979086 - "DRASCULA: Wrong language detection(?) and crash"
...
svn-id: r32728
2008-06-17 21:52:58 +00:00
Filippos Karapetis
930ba6d02d
drawSurface1 -> bgSurface
...
svn-id: r32644
2008-06-10 18:54:32 +00:00
Filippos Karapetis
6c5d005edc
Cleanup
...
svn-id: r32609
2008-06-08 03:09:21 +00:00
Eugene Sandulenko
e14f81391c
Shuffled around more code. Now the files look more manageable.
...
svn-id: r32599
2008-06-07 19:40:43 +00:00
Filippos Karapetis
b28b0fe6d7
Cleanup
...
estanteria -> bookcase
svn-id: r32591
2008-06-07 14:15:56 +00:00
Filippos Karapetis
67765c6559
Simplified talk_hacker
...
svn-id: r32588
2008-06-07 10:10:40 +00:00
Eugene Sandulenko
58dd060ebc
Slighly modified patch #1985341 : "DRASCULA: Hopefully my last batch of english updates"
...
svn-id: r32585
2008-06-06 20:12:51 +00:00
Eugene Sandulenko
c6f72c52df
Partially reverted r32580. That surface is used by Spanish version.
...
svn-id: r32581
2008-06-06 19:17:21 +00:00
Filippos Karapetis
31bb8c01c7
Removed the useless textSurface buffer
...
frame_x -> frameX
candleX, candleY, pianistX and drunkX are used in more than one place
svn-id: r32580
2008-06-06 18:28:50 +00:00
Filippos Karapetis
7c4e375b39
- Cleaned up the code that makes the in-game screensaver pop up
...
- 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-06 14:50:19 +00:00
Filippos Karapetis
5f573fea11
Added enums for all items up to chapter 3 and some of chapter 4
...
svn-id: r32556
2008-06-05 15:03:48 +00:00