Commit Graph

475 Commits

Author SHA1 Message Date
Paul Gilbert
f596612344 Partially disassembly of the pathfinding code and miscellaneous support methods
svn-id: r21418
2006-03-23 21:26:13 +00:00
Travis Howell
140c0d9a3c Minor changes for FF and cleanup
svn-id: r21417
2006-03-23 04:49:03 +00:00
Travis Howell
ddc1a7a52f Add opcode 161 difference in FF, fixes some glitches in 2nd room
svn-id: r21416
2006-03-23 04:41:06 +00:00
Eugene Sandulenko
bc8f634834 Match game speed with original
svn-id: r21415
2006-03-23 03:55:00 +00:00
Eugene Sandulenko
0b35672f78 uint8 -> byte
svn-id: r21414
2006-03-23 03:45:52 +00:00
Eugene Sandulenko
6faa76d287 Made mouse more responsive
svn-id: r21413
2006-03-23 03:40:23 +00:00
Eugene Sandulenko
fced8df162 Got rid of ASSERT and ASSERT_PTR defines
svn-id: r21412
2006-03-23 03:17:47 +00:00
Eugene Sandulenko
36302c0921 Make copy protection in OS and FW turnable. Still buggy
svn-id: r21411
2006-03-23 03:15:39 +00:00
Won Star
aad9a340be Fix compile without ZLIB support (GP32).
svn-id: r21408
2006-03-23 02:48:53 +00:00
Travis Howell
a8c0079924 Code for inverted rect when scaling images of FF no longer required. Minor cleanup
svn-id: r21407
2006-03-22 23:38:16 +00:00
Travis Howell
3110c11ea1 Rename draw buffers correctly
svn-id: r21406
2006-03-22 13:54:26 +00:00
Travis Howell
6227f38cba Small correction to scaling code in FF
svn-id: r21405
2006-03-22 11:57:46 +00:00
Torbjörn Andersson
e4664606f7 Preliminary (weasel-word for "probably buggy") implementation of the remaining
parts of scaleClip(). I do see a scaled image of Feeble, but it's very glitchy.
On the other hand, I get the same kindof glitches when drawing him unscaled, so
maybe there is garbage left in the scale buffer from previous frames.

svn-id: r21404
2006-03-22 10:32:32 +00:00
Travis Howell
60732d70f5 Whitespace changes
svn-id: r21403
2006-03-22 10:04:01 +00:00
Travis Howell
857cf7189a Fix regression in 2nd room of FF
svn-id: r21402
2006-03-22 09:14:28 +00:00
Travis Howell
00d44af2c1 Skip columns isn't used for overlayed or scaled images in FF
svn-id: r21401
2006-03-22 08:56:10 +00:00
Travis Howell
c0198b4464 Fix sound regression in FF, caused by last commit
svn-id: r21400
2006-03-22 08:27:41 +00:00
Travis Howell
5a8a32e350 Add initial support for Amiga and Macintosh versions of The Feeble Files
svn-id: r21399
2006-03-22 06:21:17 +00:00
Eugene Sandulenko
e0cf2743c9 Support for Russian FOTAQ
svn-id: r21398
2006-03-22 00:24:10 +00:00
Torbjörn Andersson
0c0c41d495 Implemented "sound triggers" so that the music does not stop shortly after
entering the castle. I hope this is a fair approximation of how the original
worked. Of course, this led to a couple of more renamings:

_unk5              -> _soundTrigger
updateCallback54() -> update_setSoundTrigger()
snd_setUnk5()      -> snd_getSoundTrigger()      (yes, "get")

At the moment, the only known sound triggers are the ones in the castle. If an
unknown trigger is set, the debugging messages will be really, really noisy. I
don't know if I should consider this a bug or an extremely annoying feature.

svn-id: r21396
2006-03-21 17:17:24 +00:00
Johannes Schickel
9031b27349 Implements cmd_shakeScreen.
svn-id: r21394
2006-03-20 19:01:39 +00:00
Torbjörn Andersson
c506e452f1 Initialise _haveScrollButtons, since Valgrind complained about it.
svn-id: r21392
2006-03-20 17:33:08 +00:00
Travis Howell
6b56af989f The Hercules specific screen size check is no longer required
svn-id: r21390
2006-03-20 02:04:14 +00:00
Max Horn
5f800bb9da Fixed my fix regarding the encoding of some filenames: Provide both Windows and UTF-8 encoded versions of the German puttzoo
svn-id: r21388
2006-03-19 18:18:07 +00:00
Max Horn
bc5ac5eaf4 Fix encoding issue (see scummvm-devel)
svn-id: r21387
2006-03-19 17:26:11 +00:00
Max Horn
03734aa876 Moved filename substitution code from scumm.cpp to plugin.cpp
svn-id: r21386
2006-03-19 17:25:13 +00:00
Travis Howell
3f172bb3c2 Remove unused cases of getKeyState(), checked against scripts of FT, Dig and COMI.
svn-id: r21381
2006-03-19 11:10:24 +00:00
Travis Howell
f26dee7599 Closer match difficulty of insane in PC version of FT demo
svn-id: r21380
2006-03-19 10:34:02 +00:00
Oystein Eftevaag
3e9246331e Makes sure Brandon actually dies when he turns to stone in the kyragem room
svn-id: r21379
2006-03-19 08:35:43 +00:00
Oystein Eftevaag
d34d6b17df Fixes a potential problem in the pathfinder where an array could be accessed with a negative value in certain rooms
svn-id: r21378
2006-03-19 07:54:30 +00:00
Oystein Eftevaag
e636a25a33 Adds button press animations to the menu, and resets the cursor when the Dialog of Death pops up. Also, mouse clicks are now registered on button up instead of button down, as in the original
svn-id: r21377
2006-03-19 05:55:26 +00:00
Travis Howell
6632a4df53 Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStream
svn-id: r21376
2006-03-19 05:15:49 +00:00
Travis Howell
8ae4dd6caa Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStream
svn-id: r21375
2006-03-19 05:15:06 +00:00
Travis Howell
a441dafae5 Move the sound loop detection, so it is used by all HE70+ games
svn-id: r21374
2006-03-19 04:55:34 +00:00
Travis Howell
1b20b06822 Skip HSHD block by set size, since there are sound resources (ie Caiman in jungle) which have incorrect size in HSHD header
svn-id: r21373
2006-03-19 04:41:43 +00:00
Travis Howell
79bd731041 Add workaround for script bug in Loom (CD)
svn-id: r21371
2006-03-19 02:50:51 +00:00
Oystein Eftevaag
544abe3d12 Oops, forgot to change a variable declaration in the last commit
svn-id: r21367
2006-03-18 15:01:08 +00:00
Oystein Eftevaag
74aa771143 Changed 'amiga' keywords to 'isAmiga' in the resource handling code to avoid #define conflicts
svn-id: r21366
2006-03-18 14:55:29 +00:00
Johannes Schickel
f9f2cd2dbe - started to rework static resource loading
- made some function parameters const (to work with new static res code)

svn-id: r21365
2006-03-18 14:43:18 +00:00
Willem Jan Palenstijn
879b5e4064 workaround: manually add delay when showing image between levels in gob1 ega
svn-id: r21364
2006-03-18 13:44:57 +00:00
Oystein Eftevaag
0f21db8c8e Fixes the color of the quitting dialog text after drinking a potion
svn-id: r21358
2006-03-18 11:22:18 +00:00
Travis Howell
a379fe424c The camera position is always set by loadRoomWithEgo opcode in HE games, through cameraFollows. Fixes glitches when changing rooms in fbear and other early games.
svn-id: r21355
2006-03-18 10:30:47 +00:00
Oystein Eftevaag
05ee5cf2bd Extends seq_drinkPotionAnim() so that the color of the flask Brandon
drinks will be correct. Also fixes a bug where an animation
(Brandon ringing the bells) would play too quickly.

svn-id: r21354
2006-03-18 04:41:34 +00:00
Paul Gilbert
dcf029e947 Further work on disassembling player tick/movement handler
svn-id: r21349
2006-03-17 21:59:29 +00:00
Johannes Schickel
0ebebb1176 Fixes animations when brandon turns inivisible/visible.
svn-id: r21348
2006-03-17 20:49:12 +00:00
Johannes Schickel
41b4a6aa7c Fixes bug #1401337 ("KYRA: Platform with pegasi graphics glitch")
svn-id: r21347
2006-03-17 19:39:46 +00:00
Johannes Schickel
bbd1725598 - Fixes bug #1401432 ("KYRA: Brandon graphics glitch when exiting castle catacombs")
- Fixes some sprite redraw bugs introduced with my last commits
- Fixes wsa drawing bug in the cave too

svn-id: r21346
2006-03-17 14:19:18 +00:00
Torbjörn Andersson
4df16b71b8 Oops, I never meant to remove *that* line! Put it back again. (This fixes the
flute sound, and probably other regressions as well.)

svn-id: r21345
2006-03-17 13:13:31 +00:00
Torbjörn Andersson
e36edb1b35 The opcode functions are not allowed to modify their own channel.dataptr
directly. If they want a new data pointer, they have to use the dataptr
parameter. This fixes a subtle bug that would cause the wrong music to play
when getting the quill in Kyra 1.

svn-id: r21344
2006-03-17 12:03:24 +00:00
Travis Howell
9ecd855c2b Fix endian issue in akos costume code
svn-id: r21343
2006-03-17 01:55:43 +00:00