Commit Graph

25830 Commits

Author SHA1 Message Date
Eugene Sandulenko
3d072b4402 Another English fix from sanguineh
svn-id: r32586
2008-06-06 20:21:06 +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
fbf319dbfb Partially reverted the changes to for loops in my last commit. It's not wise to call strlen() on each loop iteration...
svn-id: r32584
2008-06-06 19:52:09 +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
3b1e4fc15f Move more room code into roomActions[].
svn-id: r32582
2008-06-06 19:29:59 +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
7a05f382c2 Initialize roomNumber correctly
svn-id: r32579
2008-06-06 17:58:08 +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
Johannes Schickel
0ee152fbb9 - Fixed a valgrind waring
- Formatting
- Removed an assert

svn-id: r32575
2008-06-06 13:34:34 +00:00
Filippos Karapetis
266cf3b760 Cleanup
svn-id: r32574
2008-06-06 10:01:14 +00:00
Filippos Karapetis
fa8981e1e2 Simplified the room preupdaters and updaters
svn-id: r32573
2008-06-06 09:53:33 +00:00
Eugene Sandulenko
a478ef04ae Fix regressions introduced in r32571
svn-id: r32572
2008-06-06 09:18:49 +00:00
Filippos Karapetis
547e25667b Removed the empty specialized parsers for rooms 19, 44, 61 and 63
svn-id: r32571
2008-06-06 07:48:00 +00:00
Filippos Karapetis
bc76980ae6 Added the rest of the rooms to the room parser
svn-id: r32570
2008-06-06 07:42:00 +00:00
Torbjörn Andersson
5d46aa2b7f Removed left-over debugging.
svn-id: r32569
2008-06-06 06:59:44 +00:00
Torbjörn Andersson
fe8ec2ef10 Only try to play a sound file if the file could be found. (Otherwise, it looks
like it will try to use the most recently opened file, which is probably not a
sound at all.)

svn-id: r32568
2008-06-06 06:58:37 +00:00
Eugene Sandulenko
095c1544db Further unification of room code.
svn-id: r32567
2008-06-06 06:35:25 +00:00
Andre Heider
7eae38454a recreated icon.png from scummvm_logo.svg
svn-id: r32565
2008-06-05 21:39:44 +00:00
Andre Heider
c0a75930c7 disable more more compiler warnings
svn-id: r32564
2008-06-05 21:34:45 +00:00
Filippos Karapetis
3c7e0f5f8d Fixed regression: rooms 0, 56 and 60 are not called by the default room parser (13 and 21 too, but there are no default actions associated with them)
svn-id: r32562
2008-06-05 21:12:02 +00:00
Eugene Sandulenko
b7ac2f99f6 Optimize a bit roomParse, though ideal would be a binary search, but I am
too lazy for that.

svn-id: r32561
2008-06-05 20:35:45 +00:00
Eugene Sandulenko
35cdc7aae4 Converted most of checkAction() to pseudorooms 200 and 201, putting
them into roomActions.

svn-id: r32560
2008-06-05 20:28:50 +00:00
Eugene Sandulenko
9cbf46a7a4 Merged all roomXXActions into single array. Thus simplified room parsers.
svn-id: r32559
2008-06-05 19:29:30 +00:00
Eugene Sandulenko
a921549370 Pendulum room is room #102
svn-id: r32558
2008-06-05 19:04:58 +00:00
Filippos Karapetis
b9516aa80e escoba -> runCurrentChapter
svn-id: r32557
2008-06-05 15:15:20 +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
Max Horn
dd4a0efe02 Fix compiler warning (to clear a C-string, do not abuse sprintf like that)
svn-id: r32555
2008-06-05 14:02:49 +00:00
Filippos Karapetis
bfd4fc910e - Rewrote the way room updaters, preupdaters and room parsers are called and 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 13:23:57 +00:00
Filippos Karapetis
cae527c703 Forgot the separator
svn-id: r32553
2008-06-05 12:41:04 +00:00
Filippos Karapetis
fe2fcbf2d5 - Removed the unused hay_sb variable (originally, it was meant to check if 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-05 08:25:29 +00:00
Eugene Sandulenko
5acc34fb77 Slighlty modified patch #1984858: "DRASCULA: more english grammar/spelling fixes"
svn-id: r32551
2008-06-05 05:59:56 +00:00
Andre Heider
16209c1306 Add missing runtime data
svn-id: r32550
2008-06-04 21:44:12 +00:00
Eugene Sandulenko
7f1353f39e Add dhewg to the team
svn-id: r32548
2008-06-04 20:33:45 +00:00
Eugene Sandulenko
5e666ef774 Patch #1971285: "Nintendo Wii port"
svn-id: r32547
2008-06-04 20:28:20 +00:00
Filippos Karapetis
1869141f04 saves -> saveLoadScreen
svn-id: r32546
2008-06-04 19:27:14 +00:00
Filippos Karapetis
f44d39494d Clear "select" when the save/load screen pops up, to avoid having garbage shown in the selected game slot
svn-id: r32545
2008-06-04 19:24:50 +00:00
Filippos Karapetis
8d4cf05ccc Reduced the delays in Drascula's save/load screen to make it more responsive (since delay() waits for double the time internally)
svn-id: r32544
2008-06-04 19:21:17 +00:00
Eugene Sandulenko
4ee6f4d01a Fix memory overwrite
svn-id: r32543
2008-06-04 18:27:58 +00:00
Filippos Karapetis
b0eb20b4b8 Fixed the animation where the window is broken by the spear outside the church
svn-id: r32542
2008-06-04 18:08:19 +00:00
Filippos Karapetis
f21a15cbbb Removed decompressPic() and fixed the animation of Von Braun and his glass cage
svn-id: r32541
2008-06-04 17:41:40 +00:00
Johannes Schickel
73da6ab51e - Removed -Wconversion from compiler options for g++ 4.3, it's behavior has fundamently changed in g++ 4.3
- Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though)
- Fixed some warnings for g++ 4.3 (only for the engines I'm using)

svn-id: r32540
2008-06-04 17:20:25 +00:00
Filippos Karapetis
0931f926d4 Fixed typo in the initialization of the _textd1 array, which is now set correctly. Fixes bug #1982111 - "DRASCULA: Crash when buying sickle"
svn-id: r32539
2008-06-04 17:02:25 +00:00
Filippos Karapetis
659d2bb234 Fixed regression from commit #32536
svn-id: r32538
2008-06-04 16:39:56 +00:00
Filippos Karapetis
735463de44 Fixed the misuse of ARRAYSIZE
svn-id: r32537
2008-06-04 16:15:08 +00:00
Filippos Karapetis
bea79f2d31 Rewrote some more room logic. Added a FIXME about the usage of ARRAYSIZE in this case
svn-id: r32536
2008-06-04 14:42:27 +00:00
Filippos Karapetis
518d705c93 lleva_vb -> placeVB
c_mirar -> curExcuseLook
c_poder -> curExcuseAction
sentido -> trackCharacter
mirar_t -> lookExcuses
poder_t -> actionExcuses

svn-id: r32535
2008-06-04 10:48:18 +00:00
Filippos Karapetis
a8d8f23f69 Simplified some more calls to loadPic()
svn-id: r32534
2008-06-04 10:29:28 +00:00
Filippos Karapetis
052d6f6bff releaseGame() -> quitGame()
nivel_osc -> palLevel
Simplified calls to loadPic()

svn-id: r32533
2008-06-04 10:27:10 +00:00
Filippos Karapetis
7e2e283a0e Fixed regression from commit #32507
svn-id: r32532
2008-06-04 09:56:41 +00:00