622 Commits

Author SHA1 Message Date
Torbjörn Andersson
792ca1aec4 Clip actors and objects to the scene (which may be an inset), and only
allow interaction with actors and objects inside this same area. Other hit
zones may - indeed must - still exist outside the inset, and they are not
affected by this patch.

This fixes some glitches at the glass makers's house in ITE.

svn-id: r18493
2005-07-05 06:12:40 +00:00
Torbjörn Andersson
2e868658da Cleanup.
svn-id: r18491
2005-07-04 07:47:04 +00:00
Torbjörn Andersson
399bd16ab1 Apparently some masks are bigger than the image they are supposed to be
masking, and therefore need to be clipped. This fixes a slight glitch in the
ITE intro where an actor is drawn partly in the status text field.

svn-id: r18490
2005-07-04 07:46:48 +00:00
Torbjörn Andersson
caa614840d Fixed warning.
svn-id: r18489
2005-07-04 07:43:55 +00:00
Eugene Sandulenko
de14b2337f Implementation of sfShowMap. This was latest unimplemented script function :)
svn-id: r18487
2005-07-03 20:02:56 +00:00
Andrew Kurushin
1fd2c55051 fixed Elara bug
svn-id: r18486
2005-07-03 15:22:59 +00:00
Andrew Kurushin
13b1802a45 implemented sfPickClimbOutPos, sfTossRif
Komodo dragon now works

svn-id: r18480
2005-07-01 17:29:23 +00:00
Jonathan Gray
f4a72b7b58 Fix compilation. FALSE is not a valid value, false however is.
svn-id: r18477
2005-06-30 09:09:59 +00:00
Andrew Kurushin
0a29c11bc9 dragon wip1
svn-id: r18476
2005-06-29 20:00:44 +00:00
Andrew Kurushin
353e8586d4 fix animation timings (now Shiala scene not stucks)
svn-id: r18463
2005-06-25 15:55:43 +00:00
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