Eugene Sandulenko
fb178c0a62
Mark lsl3 as a workaround.
...
svn-id: r47347
2010-01-17 20:23:11 +00:00
Martin Kiewitz
35c2469c0b
SCI: speed throttler - hardcoded exception for room 290/lsl3, should fix pushup count later in the game
...
svn-id: r47346
2010-01-17 20:17:00 +00:00
Martin Kiewitz
3e44180e47
SCI: speed throttler changed, now gets triggered by kAnimate, removed initial no-delay, i'm still getting animation now in iceman and sq3, slow palette animation in longbow fixed
...
svn-id: r47343
2010-01-17 18:41:28 +00:00
Martin Kiewitz
cb1419ece9
SCI: another speed throttler, delays decrementing cycles/cycleCnt selectors, disabled code just for reference
...
svn-id: r47342
2010-01-17 18:27:57 +00:00
Martin Kiewitz
67f22f83d8
SCI: kDisposeWindow - use reanimate when argc == 1 (fixes iceman window removal)
...
svn-id: r47341
2010-01-17 13:07:50 +00:00
Filippos Karapetis
22e8b3ed02
The GM patches from Sierra's GM utility can now also be processed with their original names. Thus, the user can just extract the patches from Sierra's GM utility in the extras folder, and it's not necessary to rename each individual file to "4.pat" and place it inside the associated game (works with the games that Sierra's GM patch updates, i.e. LSL1, LSL5, Hoyle3, SQ1, SQ4, Eco1, Longbow and Fairy tales)
...
svn-id: r47318
2010-01-16 00:22:22 +00:00
Martin Kiewitz
0dddf869fb
SCI: changed scalesignal to scaleSignal - selector works now :)
...
svn-id: r47312
2010-01-15 21:26:02 +00:00
Martin Kiewitz
0d81207e68
SCI: adjust kNewWindow to support argc==15 (on mac according [md5])
...
svn-id: r47308
2010-01-15 15:37:40 +00:00
Filippos Karapetis
c4d02f5784
Updated kernel function check for kGetEvent in Mac versions and adjusted the comments for kGetSaveDir
...
svn-id: r47307
2010-01-15 15:30:40 +00:00
Martin Kiewitz
0338198876
SCI: adding scalesignal selector
...
svn-id: r47306
2010-01-15 13:33:26 +00:00
Martin Kiewitz
69c1de90e4
SCI: another change to reanimate behaviour of kDisposeWindow
...
svn-id: r47300
2010-01-14 20:56:46 +00:00
Martin Kiewitz
f1696ce7ef
SCI: change on reanimate kDisposeWindow behaviour, fixes sq5 window removal
...
svn-id: r47299
2010-01-14 20:53:37 +00:00
Martin Kiewitz
7db58ae29e
SCI: fix kernel signature for kDrawCel (fixes island of dr. brain), added debugging output for kernel_matches_signature
...
svn-id: r47288
2010-01-13 11:14:04 +00:00
Johannes Schickel
3578f8d091
Fix some memory leaks caused by never freeing the allocated memory, which is pointed at by KernelFuncWithSignature::signature.
...
svn-id: r47275
2010-01-12 20:19:45 +00:00
Filippos Karapetis
61e792319d
Don't update the screen twice while waiting
...
svn-id: r47254
2010-01-11 16:33:00 +00:00
Filippos Karapetis
33db6acd7f
Changed all kGraph calls which handle rectangles to use kGraphCreateRect(). Also, changed kGraphCreateRect() to return a rect, rather than update a rect pointer
...
svn-id: r47253
2010-01-11 16:28:46 +00:00
Filippos Karapetis
6d53dfe917
Some portrait-related changes, to be used when portrait loading/unloading is done. Also, added a comment on where the class is used
...
svn-id: r47251
2010-01-11 14:12:52 +00:00
Filippos Karapetis
6a07bbd5f4
Moved all the cache limits inside helpers.h and removed an obsolete TODO
...
svn-id: r47250
2010-01-11 12:23:04 +00:00
Filippos Karapetis
8c4e0de67d
Hide the mouse cursor while a video is being played
...
svn-id: r47240
2010-01-11 09:28:00 +00:00
Walter van Niftrik
403c2f31bb
SCI: Fix default optimization level in AvoidPath
...
svn-id: r47239
2010-01-10 23:55:15 +00:00
Filippos Karapetis
a637f50862
Silenced warnings ("this" isn't defined on object instantiation, and commented out some unused variables)
...
svn-id: r47237
2010-01-10 21:13:38 +00:00
Martin Kiewitz
d2d740af2a
SCI: fixed typo when getting resourceId on kPortrait call - fixes resource not found in kq6 within pawn shop
...
svn-id: r47223
2010-01-10 11:33:10 +00:00
Martin Kiewitz
231e122c63
SCI: updateBox now also supports hires mode
...
svn-id: r47219
2010-01-10 09:42:55 +00:00
Martin Kiewitz
da09ee6732
SCI: switching to hires kDrawCel when 8th parameter is passed, fixed kDrawCel port adjust - fixes kq6 hires inventory
...
svn-id: r47217
2010-01-10 08:55:19 +00:00
Martin Kiewitz
cd654b9616
SCI: call gui-init right after loading a saved game, fixes weird gui issue that occurs only when loading a save through ctrl-f5 menu "too early" in the game (where you couldnt load through original interpreter)
...
svn-id: r47151
2010-01-08 11:17:29 +00:00
Martin Kiewitz
140b22a374
SCI: implement crazy hack that fixes coordinates of some cel placements. I'm not sure if thats what sierra sci actually does or if we get coordinates 0,0 due some error somewhere. Fixes portrait window placement in kq6 - strangely they are still not at the correct height perhaps related to not adjusting "correctly" (whatever this means in this ugly mess that hires was implemented) inside BitsSave()
...
svn-id: r47140
2010-01-07 20:29:48 +00:00
Martin Kiewitz
9577a45cdd
SCI: fixed save/restorebits within screen class for displayscreen case, fixes kq6 menu bar
...
svn-id: r47125
2010-01-07 15:50:58 +00:00
Martin Kiewitz
7f358e3bbd
SCI: changed kernel signature for kDrawCel, enabled upscaled hires savebox code ("crashed" before because afterwards kDrawCel will get the handle from the savebox call)
...
svn-id: r47121
2010-01-07 15:25:03 +00:00
Martin Kiewitz
edc7fcf121
SCI: sync displayScreen with framebuffer after successful video playback (fixes background vanishing in mainmenu of gk1demo)
...
svn-id: r47089
2010-01-06 18:59:39 +00:00
Filippos Karapetis
254850aa23
- Some work on kLocalToGlobal and kGlobalToLocal for SCI2+
...
- Removed the custom types MemoryHandle, LoopNo, CelNo (cause we ended up having code like LoopNo loopNo = ...)
- Improved the sanity checks in frameOut()
svn-id: r47087
2010-01-06 17:25:54 +00:00
Filippos Karapetis
027fe079c9
The error inside execute_method() has been restored, it's only a warning for SCI2+ games for now, till we figure out what's wrong
...
svn-id: r47079
2010-01-06 14:04:56 +00:00
Martin Kiewitz
7d7d23ce2b
SCI: making most of the variables in screen class private (some of it was needed for old gui)
...
svn-id: r47075
2010-01-06 13:05:14 +00:00
Filippos Karapetis
bcf7535c97
Removed all hardcoded screen sizes
...
svn-id: r47072
2010-01-06 12:17:03 +00:00
Filippos Karapetis
3e911cd6e8
Changed an error to a warning in execute_method(), so that Torin's Passage scripts continue running (and crash at some later point)
...
svn-id: r47044
2010-01-05 21:05:32 +00:00
Matthew Hoops
5fbbd5b8d9
Zero the array before using it. You can go talk to Grace now, DrMcCoy.
...
svn-id: r47017
2010-01-05 04:00:13 +00:00
Matthew Hoops
e87cc86665
Fix walking in SCI32. Gabriel now will walk and DrMcCoy can now hear his precious 'Gabriel is a lout' line :P
...
svn-id: r47011
2010-01-05 01:51:09 +00:00
Filippos Karapetis
d99aa0f126
More renaming
...
svn-id: r47009
2010-01-05 01:37:57 +00:00
Filippos Karapetis
84cd8d2dc7
Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purpose
...
svn-id: r47007
2010-01-05 01:22:16 +00:00
Filippos Karapetis
f66d5a7f53
SCI: Removed the old graphics code
...
svn-id: r47005
2010-01-05 00:54:53 +00:00
Martin Kiewitz
575bc45301
SCI: adjusting cel drawing according to left/top of plane
...
svn-id: r47002
2010-01-05 00:12:31 +00:00
Martin Kiewitz
3767d3a718
SCI: now filtering screenItems against planes
...
svn-id: r46996
2010-01-04 23:09:57 +00:00
Martin Kiewitz
a6aaeb70e6
SCI: fix crash due accessing invalid object (implemented deleteScreenitem)
...
svn-id: r46993
2010-01-04 22:23:45 +00:00
Martin Kiewitz
05a16d7cba
SCI: surprise for this DrMcCoy guy
...
svn-id: r46992
2010-01-04 22:14:34 +00:00
Walter van Niftrik
184090cb46
SCI: Add support for SCI2 to AvoidPath.
...
svn-id: r46986
2010-01-04 20:52:25 +00:00
Martin Kiewitz
01eb329be2
SCI: kPalette / animate adjustments to behave more like sierra sci, also doesnt crash in island of brain anymore
...
svn-id: r46975
2010-01-04 16:44:58 +00:00
Filippos Karapetis
8cc690935a
Updated comment
...
svn-id: r46974
2010-01-04 16:18:35 +00:00
Filippos Karapetis
5560f93c2a
SCI/new sound code: update sound cues when kGetEvent() is called, instead of kAnimate(), fixes music fading in LSL3
...
svn-id: r46973
2010-01-04 16:16:58 +00:00
Filippos Karapetis
60ece55fb9
Fallback detector:
...
- Added detection for SCI2 games (GK1, PQ4, QFG4)
- Rewrote the way demos are detected
- Games are no longer distinguished from the existence of certain files
svn-id: r46970
2010-01-04 13:50:43 +00:00
Filippos Karapetis
c0aad0508c
Renamed SCI_VERSION_AUTODETECT to SCI_VERSION_NONE to signify its actual purpose
...
svn-id: r46959
2010-01-03 22:50:39 +00:00
Filippos Karapetis
b92a744a04
sane_nodep() and sane_listp() should not be dummy functions when DISABLE_VALIDATIONS is set, so that the engine doesn't try and refer to null pointer objects (and subsequently crash)
...
svn-id: r46956
2010-01-03 21:53:34 +00:00