Filippos Karapetis
d14f0ccfb5
Removed the superfluous VGA buffer, replacing it with direct writes to the video buffer
...
svn-id: r43048
2009-08-04 17:22:18 +00:00
Torbjörn Andersson
2e13d89233
Added word-wrapping to Drascula's conversation options. Fixes bug #2826607 .
...
svn-id: r42755
2009-07-25 13:07:50 +00:00
Eugene Sandulenko
d116a94e2b
Normalized types for several variables. Formatting
...
svn-id: r40521
2009-05-13 11:59:49 +00:00
Eugene Sandulenko
17a68490be
Replace verb numbers with constants in selectVerb() call
...
svn-id: r40476
2009-05-12 10:02:18 +00:00
Max Horn
dd98126423
Engines: Fused several init&go methods into a single run method
...
svn-id: r39003
2009-03-01 04:42:46 +00:00
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Filippos Karapetis
ad3ee36805
Got rid of updateAnim2()
...
svn-id: r35747
2009-01-05 20:17:33 +00:00
Filippos Karapetis
157e051280
Applied wjpalenstijn's patch to fix bug #2111826 - "DRASCULA: Inserting save game names lags"
...
svn-id: r35221
2008-12-03 17:35:37 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Eugene Sandulenko
294b953843
- Renamed withVoices to _subtitlesDisabled as it reflect the true meaning.
...
- Allowed to disable subtitles from options dialogs including RTL.
svn-id: r34675
2008-09-28 22:07:16 +00:00
Filippos Karapetis
6a4d96649e
- Moved some includes away from drascula.h
...
- Moved grr() to talk.cpp
- Removed the unnecessary parameter length from isTalkFinished()
svn-id: r34577
2008-09-16 11:49:40 +00:00
Filippos Karapetis
7cf7f4bbf6
Rewrote the very confusing centerText() function into something that makes 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-15 13:37:28 +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
77cd9d6230
Removed the unused variable changeColor
...
svn-id: r34480
2008-09-10 13:06:40 +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
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
9654ee4fa3
Possible fix for (for the drascula engine) for bug #2001583 - "WINCE: CRUISE and DRASCULA engines can not be compiled"
...
svn-id: r32777
2008-06-25 08:36:07 +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
b652c20114
Fixed regression in the pendulum room, preventing the player from selecting John's hands (new version of drascula.dat needed)
...
svn-id: r32657
2008-06-10 22:14:47 +00:00
Filippos Karapetis
930ba6d02d
drawSurface1 -> bgSurface
...
svn-id: r32644
2008-06-10 18:54:32 +00:00
Filippos Karapetis
9e9c38c689
Bugfix to read the first array element correctly by sev
...
svn-id: r32634
2008-06-09 14:23:04 +00:00
Filippos Karapetis
a353776f2f
- drascula.dat is now read completely
...
- 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-09 10:11:42 +00:00
Eugene Sandulenko
e20617966c
Load all texts from drascula.dat
...
svn-id: r32622
2008-06-08 21:59:12 +00:00
Filippos Karapetis
458c7185d9
quitGame() -> endChapter()
...
svn-id: r32620
2008-06-08 16:42:12 +00:00
Filippos Karapetis
069ffd4b70
Removed the MiVideoSSN buffer, using screenSurface instead. Added a FIXME for decodeOffset (as it can incorrectly write beyond 64000 bytes, up to 64256)
...
svn-id: r32619
2008-06-08 15:56:48 +00:00
Filippos Karapetis
c37c19a8cf
pointer -> memPtr
...
Des_RLE -> decodeRLE
Des_OFF -> decodeOffset
Lenght -> length
Removed duplicate code for RLE decoding
svn-id: r32617
2008-06-08 14:59:52 +00:00
Filippos Karapetis
f45939a90a
Use mixVideo() in showFrame() and some capitalization fixes
...
svn-id: r32616
2008-06-08 14:17:35 +00:00
Filippos Karapetis
1b233db851
- Removed the AuxBuffOrg and AuxBuffDes buffers
...
- Renamed loadPCX -> showFrame
- Removed WaitForNext()
- Cleaned up the PCX frame loading code
svn-id: r32615
2008-06-08 14:11:22 +00:00
Filippos Karapetis
dcde2f7a96
The pendulumSurface pointer is only used in update_102()
...
svn-id: r32614
2008-06-08 11:26:48 +00:00
Filippos Karapetis
5880defea4
Removed the useless pcxBuffer buffer and auxPun pointer and fixed an off-by-one error in the PCX decoding routine
...
svn-id: r32613
2008-06-08 11:10:00 +00:00
Filippos Karapetis
af74726420
Grouped all the different draw buffers/pointers together
...
svn-id: r32612
2008-06-08 10:56:44 +00:00
Eugene Sandulenko
8a0566de14
Add stubs for .dat file loading
...
svn-id: r32605
2008-06-07 21:02:03 +00:00
Eugene Sandulenko
09597d028c
WIP of drascula.dat loading.
...
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-07 20:47:52 +00:00
Filippos Karapetis
d3adb312c9
Fixed regression from last commit
...
svn-id: r32590
2008-06-07 11:43:54 +00:00
Filippos Karapetis
7192c88b19
Used enums for igor talker types
...
Merged a lot of code of talk_pianist, talk_drunk, talk_werewolf and talk_mus
svn-id: r32589
2008-06-07 11:31:40 +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
Filippos Karapetis
00dba1cebc
- Cleanup
...
- Removed the unneeded AuxBuffLast buffer (this one is really not necessary :) )
- Simplified some more room actions
svn-id: r32583
2008-06-06 19:37:36 +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
fa8981e1e2
Simplified the room preupdaters and updaters
...
svn-id: r32573
2008-06-06 09:53:33 +00:00