Commit Graph
614 Commits
Author SHA1 Message Date
Filippos Karapetis 8bf6777163 SCI2: some very early work on kSetShowStyle
svn-id: r52764
2010-09-17 15:19:18 +00:00
Filippos Karapetis 6cf1a4d537 SCI: Some very early work on kRemapColors (just comments/observations for now)
svn-id: r52733
2010-09-15 15:21:59 +00:00
Martin Kiewitz a8afefd64b SCI: kIsOnMe is kOnMe, merge both into kIsOnMe
and map kOnMe for SCI2 to kIsOnMe, remove commented out hacks. fix signatures for those 2 functions, added TODO - someone should fix the SCI32 signatures

svn-id: r52664
2010-09-09 20:07:53 +00:00
Matthew Hoops 61adb401b2 SCI: Cleanup kWinHelp's dialog handling
Don't display the message twice and now we use the filename in the message.

svn-id: r52663
2010-09-09 18:34:27 +00:00
Filippos Karapetis 746a1c5614 SCI: Kernel table changes
- Added the kernel names for all unimplemented kernel debug functions, and mapped
them all to kDummy, so that the kernel tables are correct and all kernel
functions are mapped (useful for debugging)
- Added a stub for kWinHelp (normally opens an external Windows help file), with
an appropriate dialog
- Added a stub for kWinDLL, which currently errors out on purpose (this needs to
be investigated, as it loads and uses external Windows DLLs)
- Readded kListIndexOf in kList (the signature was wrong when the previous commit
was made)

svn-id: r52660
2010-09-09 15:09:26 +00:00
Filippos Karapetis c3c36cc59b SCI: SCI2/2.1 kernel table changes
- Mark several SCI2/2.1 kernel functions used for debugging as dummy
- Added an empty function for kSetWindowsOption, used for settings specific to
Windows versions (e.g. showing/hiding the title bar)
- Added a stub for kGetWindowsOption (currently returning 0 to a Windows related
option for Phantasmagoria)

svn-id: r52652
2010-09-09 11:40:46 +00:00
Martin Kiewitz 9c67db6b0d SCI: adding text code reference support
fixes glossary in pepper, bug #3040039

svn-id: r52651
2010-09-09 10:52:17 +00:00
Martin Kiewitz 47ad577a78 SCI: ability to change r_acc within DrawControl
preparation for returning rect array on |r| textcodes

svn-id: r52642
2010-09-08 20:11:11 +00:00
Martin Kiewitz f95a2ac499 SCI: removing non-sierra sci code in kDirLoop
svn-id: r52515
2010-09-04 09:20:38 +00:00
Martin Kiewitz e4c07925ec SCI: kDirLoop freshly reversed
svn-id: r52510
2010-09-03 22:15:08 +00:00
Martin Kiewitz ff7476d9f1 SCI: adding virtual lists for qfg-import rooms
now lists import files of all possible games, adds game title before that, removes game prefixes for all files

svn-id: r52441
2010-08-29 15:13:25 +00:00
Filippos Karapetis 542711cea7 SCI: Fixed bug #3048908 - "PQ3EGA: Wrong speech bubble background colors" and added a FIXME inside kGraphDrawLine
svn-id: r52291
2010-08-22 23:55:29 +00:00
Filippos Karapetis 68f3cc944c SCI: Reimplemented the kShow kernel command, used by the inbuilt SCI debugger. There is no real need to implement kernel debug commands, but since this one maps almost directly to our own "show" debug command, it has been reimplemented (was removed in rev #45310). Normally, there is no real need to implement kernel functions for debug functionality, since there are advanced tools for this purpose nowadays (plus, ScummVM's debugger). Fixes bug #3050616 - "QFG1 EGA: priority/control/view functions crash, debug mode"
svn-id: r52281
2010-08-22 16:30:33 +00:00
Filippos Karapetis 397df8f350 SCI: added a wrapper for GUI::MessageDialog
svn-id: r52171
2010-08-17 20:33:22 +00:00
Martin Kiewitz 0c7932cc7c SCI: fixing kGraphFillBoxAny implementation
working now like in sierra sci, when using priority/control - fixes pepper adventures in time - no failure screen - bug #3040185
cleanup of GfxPaint16::fillRect

svn-id: r51994
2010-08-11 18:19:58 +00:00
Martin Kiewitz 0f339921ed SCI: only display qfg-import information dialog once
per room usage

svn-id: r51664
2010-08-02 21:57:17 +00:00
Max Horn bcfb8a030a SCI: Rewrap overlong lines; improve dialog text slightly
svn-id: r51641
2010-08-02 17:13:09 +00:00
Martin Kiewitz b914ad3e84 SCI: fixing typo
svn-id: r51614
2010-08-02 12:48:28 +00:00
Martin Kiewitz e59db80dec SCI: qfg2/3 import
- change directory button disabled
- showing message where to put characters, if saved from original sci interpreter

svn-id: r51613
2010-08-02 12:39:01 +00:00
Matthew Hoops 79bf94c877 SCI: Move kernelShakeScreen to GfxScreen so it can be used in SCI32 (it's used in GK1)
svn-id: r51583
2010-08-01 17:54:48 +00:00
Martin Kiewitz c785645123 SCI: adding workaround for kSetCursor kq5cd
adding comments as well

svn-id: r51510
2010-07-30 15:26:30 +00:00
Martin Kiewitz 2fc1461f2b SCI: arguments of mag-kSetCursor documented
adding primitive support to just set the cursor to the required view resource, nothing else implemented yet

svn-id: r51501
2010-07-30 08:44:40 +00:00
Martin Kiewitz 034fb5343f SCI: cleaning up kSetCursor
showing warning about unsupported mag-cursor when argc = 10 is used
removing argc = 9 support, must have been a script bug somewhere

svn-id: r51500
2010-07-30 08:21:54 +00:00
Filippos Karapetis a9a0451b15 SCI: Updated some comments related to Freddy Pharkas and silenced warning for kDoAudio subop 13
svn-id: r51499
2010-07-30 07:11:57 +00:00
Filippos Karapetis c77eefad24 SCI: Added a case for 10 params inside kSetCursorSci11(), thus fixing the crash from bug #3034973 - "PHARKAS: Crash early in game'
svn-id: r51497
2010-07-30 06:18:28 +00:00
Martin Kiewitz c422e39bf8 SCI: implemented kPalette(save/restore)
svn-id: r51381
2010-07-27 17:51:44 +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 95c68f0291 SCI: changing CRLF to LF
svn-id: r51331
2010-07-26 18:45:32 +00:00
Martin Kiewitz 4940819df6 SCI: reverting r51304, broke kq6 hires
svn-id: r51329
2010-07-26 18:40:49 +00:00
Martin Kiewitz faf0d5c2e3 SCI: adding workaround for island of dr. brain
room 290 elevator puzzle, solves bug #3034485

svn-id: r51319
2010-07-26 15:40:12 +00:00
Filippos Karapetis d85e016406 SCI: Fixed bug #3034506, "QFG4 Demo: kPalette Subfunction Sig Mismatch", plus another sig mismatch on kDrawCel later on, when Dr. Cranium talks
svn-id: r51304
2010-07-26 08:21:43 +00:00
Martin Kiewitz e3866046af SCI: adding kAddPicAt dummy
svn-id: r51283
2010-07-25 20:41:23 +00:00
Martin Kiewitz 246a157d1e SCI: adding separate kCantBeHere32 (stub)
svn-id: r51273
2010-07-25 13:11:28 +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 97025ec7c1 SCI: removing sci32 gfx debug messages
svn-id: r51254
2010-07-24 19:19:09 +00:00
Martin Kiewitz 9bea286e49 SCI: cache Planes for sci32
svn-id: r51249
2010-07-24 16:47:12 +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 5a5f8387ad SCI: removing some debug stuff from sci32 gfx
svn-id: r51244
2010-07-24 12:03:30 +00:00
Martin Kiewitz 8e04d25be6 SCI: support kSetCursorSci11(-2)
svn-id: r51202
2010-07-23 10:58:06 +00:00
Martin Kiewitz 53893341fb SCI: kSetCursor works the same in sci16
(coordinates are not a regular Rect, but bottom/right is the last allowed coordinate)

svn-id: r51177
2010-07-22 22:13:25 +00:00
Filippos Karapetis a9414ebb08 SCI: Some slight work on robot files
svn-id: r51176
2010-07-22 22:04:40 +00:00
Martin Kiewitz d2ab37529e SCI: kSetCursor change for sci32
we use the movezone like any other rect, but sierra sci actually specifies bottom/right as being the last possible coordinates

svn-id: r51174
2010-07-22 21:55:45 +00:00
Martin Kiewitz ba47a427b2 SCI: sci2+ has a different kSetCursor order
fixes gk1 mouse cursor issue
thx to wjp

svn-id: r51168
2010-07-22 21:40:10 +00:00
Filippos Karapetis a1dab5f923 SCI: Moved all the video related functions in a separate file
svn-id: r51110
2010-07-21 21:37:30 +00:00
Filippos Karapetis 9862f3fe24 SCI: Moved the SCI32 kernel functions out of kernel32.cpp and into their respective files
svn-id: r51108
2010-07-21 21:18:21 +00:00
Martin Kiewitz 781aee909b SCI: r51104 adding #ifdef and check for hires
pq4cd is probably low-res, so adding check for hires and adding #ifdef as well

svn-id: r51106
2010-07-21 20:28:53 +00:00
Martin Kiewitz 0d1c44301a SCI: halfing kCelWide for sci2.1
fixes lsl6 inventory icon placement, ffs. see comments

svn-id: r51104
2010-07-21 20:22:24 +00:00
Martin Kiewitz 723f15c084 SCI: removing kSetPort 4 argument support from r44938, which was wrong - adding workaround for lsl6 ending - fixes lsl6 ending
svn-id: r50967
2010-07-17 19:52:19 +00:00
Martin Kiewitz d78eba3d18 SCI: solved lsl1 casino door, lsl6 tram disappearing and qfg1 vga gate issue - i hope this won't cause regressions, but calling the method in collision case is definitely wrong
svn-id: r50921
2010-07-15 21:10:50 +00:00
Martin Kiewitz 6e5b537aaf SCI: r50919 had some temporary test code in it, removing that so it really returns the actual "problem"
svn-id: r50920
2010-07-15 19:39:43 +00:00