14320 Commits

Author SHA1 Message Date
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
Gregory Montoir
04eba089f6 fix compilation with DISABLE_SCUMM_7_8 defined
svn-id: r18409
2005-06-18 15:44:40 +00:00
Max Horn
b03de44db4 Handle newlines in blast text (fixes last remaining part of bug #902415)
svn-id: r18408
2005-06-17 20:23:12 +00:00
Gregory Montoir
e3b40b5c24 committed patch #1221592, smush_codec 21/44 should match the original interpreter behaviour now (this allows to cleanup a bit the code and get rid of some hacks).
svn-id: r18407
2005-06-17 18:10:51 +00:00
Gregory Montoir
db875d92e4 update derefActor() argument
svn-id: r18406
2005-06-17 17:11:30 +00:00
Gregory Montoir
ffeb4c99b2 update
svn-id: r18405
2005-06-17 17:11:19 +00:00
Gregory Montoir
c60400035a o6_setBlastObjectWindow can be safely ignored
svn-id: r18404
2005-06-17 17:10:54 +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
Travis Howell
18e5bf15f8 Update
svn-id: r18400
2005-06-16 00:47:45 +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
Torbjörn Andersson
620a8c5822 Appliced cyx's fix for bug #1220168, with a few modifications. Apparently
Sam & Max uses a different sorting method than (all?) other games.

svn-id: r18394
2005-06-15 06:58:27 +00:00
Lars Persson
82f5454246 Bug fix for inter_execPtr beeing a char*. Char is not the same defined typ on all targets. On symbian a char is unsigned char but Gob is assuming int in this case.
len = *(int8*)inter_execPtr++; // must be a signed char typ and char is not default signed on all platforms.

svn-id: r18393
2005-06-14 20:20:57 +00:00
Lars Persson
327ec439a5 Changed palanim datatype from char to byte
svn-id: r18392
2005-06-14 20:05:31 +00:00
Lars Persson
655fb934a8 Added struct packning to palette struct && added check for define __WINS__ for symbian build
svn-id: r18391
2005-06-14 20:04:26 +00:00
Lars Persson
1d9930e8d9 Added __WINS__ defintion check for the Symbian integration so the right function is used.
svn-id: r18390
2005-06-14 20:01:46 +00:00
Torbjörn Andersson
dc3372b580 Applied patch #1208299. A warning message about the "playing from CD under
Windows" bug is better than nothing, even if a proper bugfix - if one is
possible - would be preferable.

svn-id: r18389
2005-06-14 08:54:11 +00:00
Travis Howell
962e716a52 Update
svn-id: r18388
2005-06-14 07:14:21 +00:00
Travis Howell
bb9ad54e1d Update
svn-id: r18387
2005-06-14 07:11:56 +00:00
Travis Howell
bc4e3aefa4 Update
svn-id: r18386
2005-06-14 06:42:40 +00:00
Travis Howell
fc7d6c4e26 -Add more Backyard sports titles
-Add additional HE100 opcodes changes for basketball
-Fix baseball asserts in VAR_WIZ_TCOLOR

svn-id: r18385
2005-06-14 03:06:56 +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
Travis Howell
1dbf319b59 Add comments on smacker opcodes.
svn-id: r18382
2005-06-13 10:48:55 +00:00
Travis Howell
ae7f676667 Rename opcode/function
svn-id: r18381
2005-06-13 07:09:12 +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
Paweł Kołodziejski
001d14cf69 applied patch 1218705
svn-id: r18378
2005-06-12 04:49:18 +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
cf80e36831 This should fix playing the sound for the entering/exiting the old mine
road movies when using compressed SAN files. (The movies are started
through seekSan() rather than play().)

svn-id: r18376
2005-06-11 15:46:00 +00:00
Torbjörn Andersson
a2c90de0db Cleanup.
svn-id: r18375
2005-06-11 15:25:38 +00:00
Andrew Kurushin
234b79396a fix VS2005beta2 compilation
svn-id: r18374
2005-06-10 19:02:00 +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
Travis Howell
2f2bcd9144 Adjust for HE100
svn-id: r18369
2005-06-10 01:43:46 +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
Eugene Sandulenko
60806b90e8 Increase max number of timers to 8.
svn-id: r18364
2005-06-07 21:17:47 +00:00
Gregory Montoir
7503ff15fd Based (again) on indy4demo FMTowns, unkScreenEffect5(1) seems equivalent to dissolveEffect(1, virtscr[0].h)
svn-id: r18363
2005-06-07 20:45:29 +00:00
Gregory Montoir
2c31f4208e Based on indy4demo FMTowns, some minor changes to SO_ROOM_FADE
svn-id: r18362
2005-06-07 20:44:19 +00:00
Torbjörn Andersson
4b5ff5ba1f Be less prone to crash on really, really stupid output sample rates.
Added warning message if SDL_OpenAudio() fails. Might help diagnosing bug
reports like #1206314.

svn-id: r18361
2005-06-07 14:43:12 +00:00