39874 Commits

Author SHA1 Message Date
Filippos Karapetis
c099127c3d SCI: Break out instead of continuing when an end point is contained in multiple polygons, while running the avoidpath algorithm (or we'll end up in an infinite loop). Fixes bug #3036299 - "LB2CD: Game Hangs at Speakeasy"
svn-id: r51450
2010-07-28 23:30:59 +00:00
Filippos Karapetis
b3230b26a1 SCI: Added forgotten bug number to the previous workaround
svn-id: r51448
2010-07-28 23:21:27 +00:00
Filippos Karapetis
09ae3b7ca4 SCI: Fixed bug #3036291, "LB2CD: Crash in Docks, actor animation"
svn-id: r51446
2010-07-28 23:09:42 +00:00
Filippos Karapetis
9e164f429d SCI: Changed another warning into debug output
svn-id: r51445
2010-07-28 23:01:28 +00:00
Filippos Karapetis
a2b6b84bfb SCI: Changed a warning into a debug message
svn-id: r51444
2010-07-28 22:41:03 +00:00
Filippos Karapetis
fb35d46c1d SCI: Extended the LB2 workaround for bug #3035068 to all rooms. Fixes bug #3036274, "LB2CD: Crash in Police Station, asking about Ziggy"
svn-id: r51443
2010-07-28 22:36:22 +00:00
Martin Kiewitz
021c5d11db SCI: changed kRandom signature
accepts 1-3 parameters now for all SCI versions (shouldnt hurt and argc 3 will error() out anyway)
changed comments a bit

svn-id: r51438
2010-07-28 21:55:40 +00:00
Martin Kiewitz
abf53f839a SCI: implement additional variants of kRandom
fixes pq1vga poker game (bug #3036125)

svn-id: r51435
2010-07-28 21:47:15 +00:00
Matthew Hoops
07b67fe44b SCI: Fix using the parser in SCI Fan Games
Get a pointer to the said spec instead of copying to a buffer. The fan games use a said spec with size < 64. Also, make said() take a const pointer as the spec cannot change. Thanks to waltervn and wjp.

svn-id: r51432
2010-07-28 19:03:49 +00:00
Martin Kiewitz
9a1afc5a24 SCI: fix typo in comment
svn-id: r51431
2010-07-28 18:37:13 +00:00
Matthew Hoops
78f0e4ce40 SCI: Add updated detection for al pond 2/new year's mystery (fan games)
svn-id: r51430
2010-07-28 18:23:43 +00:00
Matthew Hoops
515cc3c369 SCI: Set the LB2 floppy open selector so we don't have to have duplicate workaround entries
svn-id: r51429
2010-07-28 17:45:19 +00:00
Matthew Hoops
f302469a77 SCI: Add workaround for a KQ7 uninitialized temp
svn-id: r51428
2010-07-28 17:39:47 +00:00
Martin Kiewitz
cfb1f53d59 SCI: making a global eq1 workaround :P
svn-id: r51427
2010-07-28 16:58:34 +00:00
Martin Kiewitz
163f0cf7b5 SCI: eq1 workaround compression and new ones
svn-id: r51426
2010-07-28 16:18:03 +00:00
Matthew Hoops
3f5958af78 SCI: Fix compilation when DEBUG_PARSER is defined
svn-id: r51425
2010-07-28 16:00:13 +00:00
Martin Kiewitz
e85cf6bfbb SCI: adding eq1cd workaround
svn-id: r51424
2010-07-28 15:48:07 +00:00
Matthew Hoops
191d50171a SCI: Fix bug #3035737 - SCI Fan Games: Incorrect Version Detection
If we have a vocab 900 resource with the new decompressors, it can also be SCI0 late. If there is no parser vocab (with new decompressors), it is SCI1 early.

svn-id: r51423
2010-07-28 15:34:34 +00:00
Martin Kiewitz
8a843b6c21 SCI: adding support for middle mouse button
svn-id: r51422
2010-07-28 14:57:35 +00:00
Matthew Hoops
00ff92e9e0 SCI: Remove SCI01 vocab warning, this behavior is normal
svn-id: r51421
2010-07-28 14:34:32 +00:00
Martin Kiewitz
67f4784f32 SCI: adding workarounds for eq1cd
svn-id: r51420
2010-07-28 14:15:10 +00:00
Martin Kiewitz
15bff49979 SCI: adding workarounds for eq1cd
svn-id: r51419
2010-07-28 13:54:04 +00:00
Matthew Hoops
8b22fd921f SCI: Add detection entries for newer SCI fan games
svn-id: r51418
2010-07-28 13:35:24 +00:00
Martin Kiewitz
ebd3356e89 SCI: adding workaround for eq1
svn-id: r51417
2010-07-28 13:34:14 +00:00
Martin Kiewitz
df3decc14c SCI: adding workaround for eq1cd
svn-id: r51416
2010-07-28 13:16:36 +00:00
Martin Kiewitz
dc9c627681 SCI: adding header comments about sci1.1 pictures
also fixing some of the offsets (those are DWORD instead of just WORDs)

svn-id: r51415
2010-07-28 12:41:24 +00:00
Martin Kiewitz
0e47192346 SCI: priority handling for sci1.1 add-pictures
fixes battle cruiser mini game in sq5 (at least we get something displayed now)

svn-id: r51414
2010-07-28 12:28:35 +00:00
Filippos Karapetis
e0f6bb2e7a SCI: Adding the room number to some more errors
svn-id: r51413
2010-07-28 11:37:22 +00:00
Willem Jan Palenstijn
16f042270d SCI: Fix whitespace
svn-id: r51412
2010-07-28 11:31:13 +00:00
Martin Kiewitz
c0474c91c4 SCI: fixes for qfg2
adding workaround
changing signature for dummy kDoSound call

svn-id: r51411
2010-07-28 11:22:58 +00:00
Filippos Karapetis
eb1cdc2c49 SCI: Some workaround fixes
- Merged all of the different workarounds for 
the rats in the KQ6 maze in one, thus fixing 
bug #3035824 - "kq6-win: more crashes on rats 
in catacombs"
- Merged 4 different workarounds for LSL3 in one

svn-id: r51410
2010-07-28 09:34:31 +00:00
Filippos Karapetis
bae197c489 SCI: Changed a warning into debug output
svn-id: r51409
2010-07-28 09:21:58 +00:00
Filippos Karapetis
817170bbb6 SCI: Sorted workaround tables alphabetically by game ID
svn-id: r51408
2010-07-28 08:05:16 +00:00
Filippos Karapetis
3c8a606e71 SCI: Added bug report numbers for all the recently fixed bugs
svn-id: r51407
2010-07-28 07:51:49 +00:00
Filippos Karapetis
764b841990 Fixed bug #3035694 - "LB2: crash to console when selecting in-game load/save menu"
svn-id: r51406
2010-07-28 07:13:40 +00:00
Matthew Hoops
61b63d9e4d SCI: Add 'robots' subdirectory (PQSWAT demo stores them there)
svn-id: r51405
2010-07-28 06:03:52 +00:00
Matthew Hoops
558fc88cc6 SCI: Initialize _resourceData to 0 in GfxRobot. Fixes PQSWAT demo.
svn-id: r51404
2010-07-28 05:55:09 +00:00
Martin Kiewitz
ea2256c05b SCI: changing workarounds of r51401 to stillcall
svn-id: r51402
2010-07-28 05:03:23 +00:00
Matthew Hoops
50e493f3ef SCI: Fix bug #3035720 - SQ1SCI demo: Menu crash
kCelWide and kCelHigh are called with the second two parameters as objects instead of integers. We fake return the real width/height of the view in question to allow the quit menu to work. Values found by examining the view  passed as the first parameter.

svn-id: r51401
2010-07-28 03:54:14 +00:00
Martin Kiewitz
97b1cd34cf SCI: sci1.1 priority bands now changing in kDrawPic
fixes qfg3: right guard on top of the palace having wrong priority
fixes sq5 and all sorts of sci1.1 games: when loading wrong priority for some actors that fixed itself after one frame

svn-id: r51397
2010-07-27 23:20:43 +00:00
Martin Kiewitz
6e8b11867f SCI: fixing signature of kCheckFreeSpace
svn-id: r51394
2010-07-27 21:30:15 +00:00
Martin Kiewitz
11de85026d SCI: found out interpreter version of lsl5g
svn-id: r51393
2010-07-27 21:04:02 +00:00
Martin Kiewitz
7e545888fd SCI: moving some fileio warnings to debug level
svn-id: r51392
2010-07-27 20:46:12 +00:00
Matthew Hoops
2df946f837 SCI: Add an uninited workaround for the mothergoose demo
svn-id: r51389
2010-07-27 20:20:00 +00:00
Eugene Sandulenko
5787c8bb88 GUI: Rename Font cache to match new font naming scheme
svn-id: r51388
2010-07-27 20:17:29 +00:00
Matthew Hoops
b12424741c SCI: The mothergoose demo is really for Windows, so make that the platform
svn-id: r51387
2010-07-27 20:11:00 +00:00
Martin Kiewitz
20ced61f28 SCI: adding workaround for kq6 rats in catacombs
solves bug #3035495

svn-id: r51386
2010-07-27 19:35:18 +00:00
Martin Kiewitz
b873cf2ebf SCI: changes for mother goose sci2.1
changed signature for kSetCursor sci2.1
added workarounds
added separate gameid for mother goose sci2.1

svn-id: r51385
2010-07-27 19:09:57 +00:00
Matthew Hoops
828434456f SCI: Better fix for bug #3035058 - ECOQUEST demo: Missing subtitles
The demo really uses kGetMessage and not kMessage. We now detect which version of the message function is used. Thanks to Walter for pointing this out.

svn-id: r51384
2010-07-27 19:07:39 +00:00
Martin Kiewitz
3cae0f3452 SCI: kCheckFreeSpace support for sci1.1
and possible sci32

svn-id: r51383
2010-07-27 18:45:32 +00:00