612 Commits

Author SHA1 Message Date
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Torbjörn Andersson
68907449b7 Use #include "file" instead of #include <file> for consistency.
svn-id: r18443
2005-06-23 20:20:27 +00:00
Eugene Sandulenko
4564f0d3bf Fix gcc4 warnings
svn-id: r18429
2005-06-21 21:59:24 +00:00
Torbjörn Andersson
d38a41e532 When a key is pressed, go back to repeat phase 0 again. This is so that we
won't continue a fast repeat with the new key. (Annoying example: It could
be tricky to type upper-case letters because if you didn't type the letter
fast enough "Shift" would begin to repeat, and then whatever letter you
typed would start repeating immediately.)

svn-id: r18423
2005-06-21 15:41:35 +00:00
Torbjörn Andersson
ee28783c74 Fixed crash when talking to the money changer about the Orb of Storms. The
sound resources were being substituted with animation resources. Now the
substitutions are identified by a resource number *and* a file name.

Could someone verify that ite.rsc is the correct file for all of them?

svn-id: r18422
2005-06-21 13:55:18 +00:00
Eugene Sandulenko
75d868743c sfShowControls implementation is NOP
svn-id: r18417
2005-06-20 12:17:22 +00:00
Andrew Kurushin
c613eaab88 fix animation bug at rats
svn-id: r18416
2005-06-20 11:46:34 +00:00
Eugene Sandulenko
2c9d2ffc97 Support for mouse wheel in Options dialog and in Converse panel
svn-id: r18414
2005-06-19 23:41:40 +00:00
Eugene Sandulenko
ecf8da7230 Implement sfPlayLoopedSound, sfFadeMusic and sfPlayVoice.
sfPlayVoice is untested. Please, inform me where you encounter it.

svn-id: r18412
2005-06-19 21:18:00 +00:00
Andrew Kurushin
97337c4623 implemented sfGetNumber
now use MagicHat (be carefull not to exceed overall scene number)

svn-id: r18410
2005-06-19 14:06:20 +00:00
Andrew Kurushin
37f90ff1fc fix screwdriver bug
svn-id: r18403
2005-06-17 14:09:06 +00:00
Andrew Kurushin
b16a3634bf placard workaround
svn-id: r18402
2005-06-16 16:46:50 +00:00
Andrew Kurushin
7539169c1d fix trothy -> oil lamp
svn-id: r18401
2005-06-16 15:33:44 +00:00
Torbjörn Andersson
b5b4d3d997 Don't access the thread after sfScriptGotoScene. As the comment points out,
the thread has been destroyed. This fixes a crash when leaving the ferret
guild lodge, and probably other places as well.

svn-id: r18399
2005-06-15 20:07:56 +00:00
Andrew Kurushin
1e2131d0ee some renames#2
svn-id: r18398
2005-06-15 19:30:11 +00:00
Andrew Kurushin
e0d9d4eb4a some renames
svn-id: r18397
2005-06-15 19:26:32 +00:00
Andrew Kurushin
c72e77885e fix animation loop
svn-id: r18396
2005-06-15 19:14:19 +00:00
Torbjörn Andersson
1386108adb Corrected error message.
svn-id: r18395
2005-06-15 14:42:40 +00:00
Eugene Sandulenko
01cf8f20ae Fix dock bug
svn-id: r18384
2005-06-14 00:31:54 +00:00
Eugene Sandulenko
4f2cfd5feb Fix crash on chasm.
svn-id: r18383
2005-06-13 13:40:28 +00:00
Andrew Kurushin
dcbd777596 fixed scene entrance
implemented sfEraseDelta, sfSetActorZ, sfGetActorX, sfGetActorY

svn-id: r18380
2005-06-12 21:21:14 +00:00
Andrew Kurushin
802780619a fix Hooneyfoot bug
svn-id: r18379
2005-06-12 15:58:37 +00:00
Andrew Kurushin
d9a38f6f55 rewritten animation loading
removed animation warnings during game process

svn-id: r18377
2005-06-11 17:24:06 +00:00
Torbjörn Andersson
20ba16b09c When setting a new verb, clear the "pointer object", i.e. the variable that
keeps track of whatever object the pointer is hovering over. This way, the
pointer object will be updated but with the new verb applied to it. I was
getting tired of having to move the cursor off and on the object whenever I
changed verb.

This isn't exactly how the original engine did it, but it appears to work.

svn-id: r18373
2005-06-10 13:56:51 +00:00
Torbjörn Andersson
7b8c800482 Whitespace
svn-id: r18372
2005-06-10 13:49:43 +00:00
Torbjörn Andersson
ef552c8a8f Whitespace changes I made while looking for the sourberry sprite bug.
svn-id: r18371
2005-06-10 12:09:01 +00:00
Torbjörn Andersson
eb99ba925b Fixed sourberry sprite, and probably a couple of others. (The frame number
in the original is based on OBJ_EBERRIES, not OBJ_BERRIES.)

svn-id: r18370
2005-06-10 11:56:01 +00:00
Eugene Sandulenko
6e68d8927e Fix bug #1216439 "SAGA: run-length slice typo in online source". Actually
I just zapped custom line drawing routine and use that one from OSystem.

svn-id: r18368
2005-06-09 00:42:16 +00:00
Andrew Kurushin
411fd102b6 fix animation free bug
svn-id: r18367
2005-06-08 19:01:19 +00:00
Torbjörn Andersson
8c82d94c40 Allow part of the IHNM intro to run again. I haven't verified that these
resource numbers are correct.

svn-id: r18366
2005-06-08 14:41:57 +00:00
Torbjörn Andersson
064bfed378 Added IHNM "main strings" resource. It's trial-and-error, so it may be the
wrong one, but it does contain the verb strings. Unlike IHNM, it does not
contain the object names. We'll need to do something about that eventually.

svn-id: r18365
2005-06-08 13:49:56 +00:00
Andrew Kurushin
6128bb05e3 implements sfScriptClimb, sfThrowActor, sfChangeActorScene
so tunnel may be passed now

svn-id: r18358
2005-06-05 16:53:53 +00:00
Eugene Sandulenko
e1aec42c63 Proper error calls.
svn-id: r18355
2005-06-05 11:32:11 +00:00
Eugene Sandulenko
0042ad12b7 Hide debug output
svn-id: r18354
2005-06-05 09:28:40 +00:00
Eugene Sandulenko
5ee308e48f Fix long-standing bug with applying one object to another.
svn-id: r18353
2005-06-05 09:26:41 +00:00
Andrew Kurushin
697124a1b9 fixed dog's castle bug
svn-id: r18344
2005-06-04 17:52:37 +00:00
Torbjörn Andersson
83f9ebc373 Fixed warning.
svn-id: r18342
2005-06-04 15:50:23 +00:00
Andrew Kurushin
d3587c3a1e fixed lense creation bug ( fade in/out now has separate flag)
svn-id: r18340
2005-06-04 15:02:17 +00:00
Eugene Sandulenko
2a3227911b Fix bug reported by Marticus with situation when Rif left scene with
converse panel on.

svn-id: r18339
2005-06-04 14:37:52 +00:00
Torbjörn Andersson
5d84b5afe3 There were cases when an ITE intro credits line could appear in both
English and German at the same time. I've simplified the handling a bit by
splitting the line flags into language and... not-language? platform? since
this was easier than adding another combined flag. Easier to read, anyway.

I've also fixed some other minor things, e.g. "Edward" was shortened to
"Ed" in the WyrmKeep version. Of course, there may be regressions. And
there are some cases where English texts could appear in German versions,
but I don't know if it ever happens for any existing versin of the game.

svn-id: r18334
2005-06-04 12:34:38 +00:00
Torbjörn Andersson
c312db302c My Linux ITE CD developed read errors, so Joe sent me a replacement, for
which I'm very grateful.

This latest CD version turned out to be one that ScummVM didn't support. It
has - I believe - the same data files as the Linux version (with digitized
music), except for the voice file which appears to be the same as the one
from the Mac version.

In other words, it has one big-endian data file, and a couple of little-
endian ones. The technical term for this is "bloody awkward".

It should work now, though.

svn-id: r18333
2005-06-04 12:25:25 +00:00
Andrew Kurushin
b58348494e fixed doorkeeper's nonstop speech
svn-id: r18327
2005-06-03 19:04:21 +00:00
Eugene Sandulenko
bf928a5520 oops
svn-id: r18314
2005-06-02 22:34:55 +00:00
Eugene Sandulenko
8a835899fb Implement game load with '-x' comman-line parameter.
Fix couple valgrind and compiler warnings.

svn-id: r18313
2005-06-02 22:14:57 +00:00
Andrew Kurushin
ae36a54c92 fix - 'holes' in save slot filenames
svn-id: r18312
2005-06-02 16:18:44 +00:00
Torbjörn Andersson
9be6764c47 Removed unused variables.
svn-id: r18309
2005-06-01 06:24:24 +00:00
Eugene Sandulenko
f8f9ed18a8 Allow entry of space and some letters such as 'r' and 'p' as parts of
save names.

svn-id: r18305
2005-05-31 23:41:27 +00:00
Andrew Kurushin
d1ffc9df2d multiple files save-load implementation
svn-id: r18303
2005-05-31 20:08:46 +00:00
Eugene Sandulenko
0eb4e94116 Almost complete implementation of Puzzle. Now it is possible to solve it
successfully.

Things to do:
 o non-actors speech, it just doesn't get displayed, though generated
 o support for CD voices

svn-id: r18301
2005-05-31 01:03:13 +00:00
Andrew Kurushin
e5ab68c0db fix start clipping issue
svn-id: r18300
2005-05-30 16:40:50 +00:00