Matthew Hoops
bc54fde8e1
SCI: Ignore setAttribute() on any non-existent menu items
...
This fixes two fan games: Al Pond 2 and Aquarius. The original interpreter did this as well.
svn-id: r51477
2010-07-29 19:08:07 +00:00
Martin Kiewitz
6b63c951eb
SCI: updating screen within kAnimate as well - fixes pseudo hang in eq1 credits (bug #3036154 )
...
svn-id: r51459
2010-07-29 10:48:54 +00:00
Matthew Hoops
b19433e6d3
SCI: Re-enable the throttle for kFrameout, I must have been asleep that day
...
svn-id: r51451
2010-07-29 01:05:11 +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
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
3c8a606e71
SCI: Added bug report numbers for all the recently fixed bugs
...
svn-id: r51407
2010-07-28 07:51:49 +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
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
c422e39bf8
SCI: implemented kPalette(save/restore)
...
svn-id: r51381
2010-07-27 17:51:44 +00:00
Martin Kiewitz
d013be51e5
SCI: reverting part of r51361
...
breaks qfg3 right after intro
svn-id: r51363
2010-07-27 11:18:51 +00:00
Martin Kiewitz
114f4dfb0a
SCI: adding scaling code in kBaseSetter
...
and fixing palVary timer crash when exiting engine during palVary processing
svn-id: r51361
2010-07-27 11:11:47 +00:00
Martin Kiewitz
4fb7b06570
SCI: translating nsRect back to actual plane coordinate
...
on scrollable planes
svn-id: r51350
2010-07-27 09:17:57 +00:00
Martin Kiewitz
a27f30fa15
SCI: fixing text fonts not working correctly
...
fixes sq5 and bug #3034766
svn-id: r51335
2010-07-26 22:58:06 +00:00
Martin Kiewitz
ea5f8049a2
SCI: fixing scroll transitions for kq6 hires
...
fixes bug #3034587
svn-id: r51334
2010-07-26 21:25:07 +00:00
Martin Kiewitz
57136cd86a
SCI: implement scaling for kDrawCel
...
fixes qfg4 demo properly (bug #3034506 , previous commit r51304)
svn-id: r51332
2010-07-26 19:25:56 +00:00
Martin Kiewitz
18a54f086f
SCI: fixing transition 9
...
fixes castle of dr. brain intro on amiga
svn-id: r51323
2010-07-26 16:49:04 +00:00
Martin Kiewitz
31828d093c
SCI: commenting out picture cel debug msg
...
svn-id: r51315
2010-07-26 14:44:28 +00:00
Martin Kiewitz
e3e2ae799e
SCI: adding scrollcapability to sci32
...
svn-id: r51313
2010-07-26 14:41:19 +00:00
Martin Kiewitz
c0d915b616
SCI: some scrolling support for sci32
...
not fully done yet
svn-id: r51308
2010-07-26 12:20:07 +00:00
Filippos Karapetis
9da4c3f883
SCI: Some cosmetic changes to the warning thrown when fixing invalid windows
...
svn-id: r51306
2010-07-26 09:18:04 +00:00
Filippos Karapetis
27ce375a95
SCI: Fixed bug #3034507 , "PQ2 Demo: Non-existant menu item"
...
svn-id: r51294
2010-07-26 05:49:00 +00:00
Martin Kiewitz
e3866046af
SCI: adding kAddPicAt dummy
...
svn-id: r51283
2010-07-25 20:41:23 +00:00
Martin Kiewitz
9b1d691594
SCI: blacking out planes that got deleted
...
svn-id: r51282
2010-07-25 19:56:44 +00:00
Martin Kiewitz
c721b4d612
SCI: some changes for kq7
...
- resetting negative plane left/top
- kSave(0) returns SIGNAL
svn-id: r51281
2010-07-25 19:47:12 +00:00
Martin Kiewitz
633d13faee
SCI: removing onControl from coordAdjuster32
...
svn-id: r51278
2010-07-25 17:01:54 +00:00
Martin Kiewitz
d5ced8ab9e
SCI: using coordadjuster in GfxView
...
svn-id: r51276
2010-07-25 16:37:36 +00:00
Martin Kiewitz
b3949cf4be
SCI: sci32 coord adjustment changes
...
- fixes lsl6hires inventory
svn-id: r51275
2010-07-25 16:31:46 +00:00
Martin Kiewitz
da5f1506e3
SCI: adjust z coordinate for views (sci32)
...
fixes gk1 newspaper
svn-id: r51272
2010-07-25 12:48:48 +00:00
Martin Kiewitz
3090ee6ee7
SCI: sci32 changes
...
- mouse position now gets adjusted inside kGetEvent
- priority is read out during kFrameout
- check planeRect
- check if plane picture resource actually exists
fixes sq6
svn-id: r51270
2010-07-25 04:45:28 +00:00
Martin Kiewitz
adf4195e0b
SCI: changing how insectRect gets applied
...
svn-id: r51259
2010-07-24 21:18:07 +00:00
Martin Kiewitz
f3f3f1d6db
SCI: adding kOnMe transparency support
...
and disabling speed throttler for poor clones computer :P
fixes some hotspots in gk1 only supposed to react on actual pixel clicks
svn-id: r51255
2010-07-24 19:38:13 +00:00
Martin Kiewitz
e515bc56d1
SCI: fix warning
...
svn-id: r51253
2010-07-24 18:35:39 +00:00
Martin Kiewitz
252e7736e5
SCI: honor given order of screen items in sci32
...
fixes gk1 game menu slider controls
svn-id: r51252
2010-07-24 18:06:49 +00:00
Martin Kiewitz
353b0d2993
SCI: support useInsetRect in kFrameout
...
svn-id: r51251
2010-07-24 17:43:56 +00:00
Martin Kiewitz
f0a2c10c92
SCI: enable speed throttler for sci32
...
svn-id: r51250
2010-07-24 16:52:08 +00:00
Martin Kiewitz
9bea286e49
SCI: cache Planes for sci32
...
svn-id: r51249
2010-07-24 16:47:12 +00:00
Martin Kiewitz
d643928d0d
SCI: delete hidden planes in kFrameout
...
svn-id: r51246
2010-07-24 15:25:29 +00:00
Martin Kiewitz
2047e75d2b
SCI: kCelWide/kCelHigh now adjust on hires views
...
somewhat fixes gk1 hires inventory issue
svn-id: r51245
2010-07-24 15:15:38 +00:00
Martin Kiewitz
63c945f93a
SCI: fix warning and remove duplicate code
...
svn-id: r51243
2010-07-24 11:59:40 +00:00
Martin Kiewitz
9672c757d6
SCI: adding 1 to planeRect bottom/right
...
svn-id: r51241
2010-07-24 10:12:56 +00:00
Martin Kiewitz
c8dc2e4b8b
SCI: locking picture resource
...
fixes sq6 crashing with resource data NULL pointer
svn-id: r51240
2010-07-24 08:20:54 +00:00
Martin Kiewitz
c8cde0735f
SCI: adding workaround for sq4 room 391
...
svn-id: r51238
2010-07-24 07:55:29 +00:00
Martin Kiewitz
20b1d80d59
SCI: adding table for kDisplay workarounds
...
and removing hardcoded checks, adding another workaround for kGraph(drawLine) in island of dr. brain (also gene explanation chart)
Moving trackOriginAndFindWorkaround() into workarounds.cpp
svn-id: r51209
2010-07-23 14:32:24 +00:00
Martin Kiewitz
0bcc3af422
SCI: adding workaround for sq4/room 391
...
kDisplay is called with an object as opcode, we simply skip over it
svn-id: r51208
2010-07-23 13:57:45 +00:00
Martin Kiewitz
32c81fa918
SCI: fixing kNewWindow (SCI1.1)
...
check differently for null restoreRect, fixes pq3 some windows not getting fully removed
calling showBits on actual dims and not on restoreRect, fixes lb2 about window issues (and possible qfg1vga window issues as well)
svn-id: r51204
2010-07-23 12:37:58 +00:00
Martin Kiewitz
8e04d25be6
SCI: support kSetCursorSci11(-2)
...
svn-id: r51202
2010-07-23 10:58:06 +00:00
Filippos Karapetis
3aa4f76ee4
SCI: Now saving the kPalVary state inside savegames
...
svn-id: r51194
2010-07-23 07:36:55 +00:00
Filippos Karapetis
a9414ebb08
SCI: Some slight work on robot files
...
svn-id: r51176
2010-07-22 22:04:40 +00:00
Matthew Hoops
9dcbff7259
SCI: Hopefully fix compilation when ENABLE_SCI32 is not defined
...
svn-id: r51164
2010-07-22 20:38:28 +00:00