Commit Graph
113 Commits
Author SHA1 Message Date
Filippos Karapetis d58c5b89b5 SCI: Fix script bug #3615120 - "SCI: Crazy Nick Laura Bow - kReadNumber signature mismatch" 2013-10-30 08:47:46 +02:00
Filippos Karapetis 182f342a01 SCI: Add 2 workarounds for script bugs in QFG4 2013-01-11 02:24:17 +02:00
Filippos Karapetis 1286710248 SCI: Fix bug #3578335 - "SCI: Mixed-Up Mother Goose EGA - crash upon choosing kid"
In several SCI0 games, the parameter to kDoSoundFade can be null.
We handle that case, instead of adding individual workarounds per game
2012-10-22 12:47:28 +03:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Filippos Karapetis 61e8fdbf1d SCI: Separate the early SCI11 version of kRemapColors from the SCI32 one 2012-07-24 00:18:31 +03:00
Filippos Karapetis fb215929ef SCI: Some updates to SCI32 kernel graphics functions
- Added a stub for kSetScroll, which sets the target picture immediately
for now
- Added an initial stub of kPalCycle (doesn't work correctly yet)
- Adjusted the signatures of kUpdateLine and kDeleteLine for LSL6
- Unmapped kSetHotRectangles again, with updated information on how it
is used in Phantasmagoria
2012-07-05 13:58:41 +03:00
Filippos Karapetis d61c5ae529 SCI: make g_base_opcode_formats and SciOpcodes a bit more readable 2012-07-04 11:57:40 +03:00
Filippos Karapetis d74d211479 SCI: Mark the SetScroll and SetHotRectangles kernel functions as unused 2012-07-04 02:21:08 +03:00
Filippos Karapetis a0ad504059 SCI: Update some kernel table related comments 2012-07-04 01:06:58 +03:00
Filippos Karapetis 43224076e7 SCI: Handle the autosave call of Torin's Passage 2012-07-04 01:02:19 +03:00
Filippos Karapetis e0a3cfd21c SCI: FileIO subop 19 checks for directory validity
This is used in Torin's Passage and LSL7 when autosaving
2012-07-04 01:02:17 +03:00
Filippos Karapetis 72c59baf24 SCI: Merge and simplify the code that sets the kernel functions 2012-07-04 01:02:15 +03:00
Filippos Karapetis 694f0f534a SCI: Only include kSave_subops if ENABLE_SCI32 is defined 2012-06-13 12:26:58 +03:00
Filippos Karapetis 098f162ecc SCI: Use the later SCI file functions for the SCI0 ones
They are essentially the same (with the exception of the return values),
so unifying them reduces code duplication
2012-06-13 12:26:57 +03:00
Filippos Karapetis 944a774e6a SCI: Change kSave() to be a kernel function with subops 2012-06-13 12:26:55 +03:00
Filippos Karapetis dc11d223cd SCI: Initial implementation of AddLine, UpdateLine, DeleteLine 2012-06-09 15:36:36 +03:00
Filippos Karapetis de3f6a19ed SCI: Initial implementation of kScrollWindow, used in some SCI21 games
This is used in LSL6 hires and SQ6. This initial implementation is hackish
and only works in SQ6 (nothing is shown in LSL6)
2012-06-07 11:27:59 +03:00
Filippos Karapetis f15582b190 SCI: Map another missing kFileIO call
This is used to change directories in the save/load dialog (unused by us)
2012-05-26 16:42:38 +03:00
Filippos Karapetis 5af1ccbac6 SCI: Implement kGetConfig and kGetSierraProfileInt
This fixes the sluggish game speed in Phantasmagoria (DOS/Windows)
2012-05-26 16:41:11 +03:00
Filippos Karapetis beef27fc10 SCI: Map the rarely used VibrateMouse kernel function to be an empty call
This is a function used to implement vibration in the floppy version of
QFG4 for exotic force feedback mice, such as the Logitech Cyberman
2012-05-24 01:44:25 +03:00
Filippos Karapetis 6b38731d39 SCI: Implement savegame deletion functionality in SCI32
This is based on two kernel functions, kMakeSaveCatName and
kMakeSaveFileName
2012-05-14 11:04:58 +03:00
Filippos Karapetis df0528e786 SCI: Blacklist more unused/debug SCI2.1 kernel functions 2012-01-13 22:55:09 +02:00
Willem Jan Palenstijn 0192d2f2de SCI: Fix restarting SCI engine with different SCI version 2011-11-29 18:34:34 +01:00
Filippos Karapetis 4ac2940bc5 SCI: Added skeleton code for kEditText (still not working) 2011-10-28 22:20:33 +03:00
Filippos Karapetis 85af217a5b SCI: Implemented kObjectIntersect() 2011-10-19 20:29:02 +03:00
Filippos Karapetis 021b09d35c SCI: Initial implementation of kPlayDuck for Phantasmagoria 2 2011-10-18 02:38:26 +03:00
Filippos Karapetis 497c3e75b4 SCI: Marked functions that have been changed into dummy ones in SCI3 2011-10-12 12:49:38 +03:00
Filippos Karapetis 96ce226967 SCI: Proper implementation of text drawing for SCI2+ 2011-10-11 01:25:08 +03:00
Filippos Karapetis 32b4ef8199 SCI: SCI32 kernel functions kRepaintPlane and kInputText are unused 2011-10-10 12:18:12 +03:00
Filippos Karapetis 26140afaed SCI32: Marked/updated several unused/still not needed kernel functions 2011-10-09 19:16:06 +03:00
Filippos Karapetis 19cac9bb11 SCI21: Some initial work on kBitmap 2011-10-07 02:52:30 +03:00
Filippos Karapetis 632df09761 SCI21: Marked kNewRoom as a debug function 2011-09-23 18:55:29 +03:00
Johannes Schickel 5443ef943f SCI: Made some static data const. 2011-09-08 00:35:12 +02:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Matthew Hoops 0b9e6675ef SCI: Add workaround for a QFG1 VGA Mac kFormat bug
Also, fix the kernel signature for kFormat to require two parameters
2011-03-13 22:01:41 -04:00
md5 fa10ee66e4 SCI: Added proper fix for bug #3048054 - "LONGBOW: crash when opening hand code"
This was caused by a buggy script, most probably the result of an
incorrect copy/paste while processing the original script. Fixed with a
script patch.
2011-03-12 23:48:56 +02:00
md5 bca82642a7 SCI: kPurge is the SCI2+ version of kFlushResources 2011-03-10 22:42:58 +02:00
md5 72f65b3946 SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLY
This renaming allows us to better distinguish that this version is for games
that only had an EGA version, and avoid confusion with newer SCI1 game releases
with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2,
a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-27 16:48:53 +02:00
Matthew Hoops be1f62af23 SCI: Add a stub for kFont which calls kSetFontRes as a subop
svn-id: r55755
2011-02-03 18:07:47 +00:00
Matthew Hoops 4d088332a2 SCI: Add support for GK1 Mac high-res fonts
svn-id: r55754
2011-02-03 15:51:51 +00:00
Matthew Hoops 47b2611f50 SCI: Add comment about GK1 Mac using kSetFontRes
svn-id: r55719
2011-02-02 14:52:02 +00:00
Filippos Karapetis c215d85c33 SCI: Added a workaround for script bug #3156472 - "King's Quest 5 cdrom version crash on escape"
svn-id: r55217
2011-01-12 23:33:30 +00:00
Filippos Karapetis 8c554a8ec2 SCI2: Updated comments
svn-id: r55177
2011-01-08 23:15:10 +00:00
Filippos Karapetis dd6fd0ef27 SCI2.1: Added some information about kSetPalStyleRange, kNewRoom and kMorphOn
svn-id: r55165
2011-01-08 12:44:11 +00:00
Filippos Karapetis 12b44f2fc0 SCI2.1: Some stubs used by SQ6
- Added a stub and some info about the (large) kScrollWindow kernel call
- Added info about kMovePlaneItems

svn-id: r55163
2011-01-08 12:28:47 +00:00
Filippos Karapetis c2acabd710 SCI2.1: Some functionality for Phantasmagoria 1 and MUMG Deluxe
- Added a stub for kSetLanguage, used in MUMG Deluxe - this needs support at the resource
manager level
- Made kGetSierraProfileInt a stub function (it's used in the Windows version of
Phantasmagoria 1 to override the video speed setting obtained from kGetConfig)

svn-id: r55161
2011-01-08 11:19:20 +00:00
Filippos Karapetis dd026268aa SCI: Fixed typo
svn-id: r55160
2011-01-08 10:34:04 +00:00
Filippos Karapetis fc83afc5f2 SCI2.1: Added/documented some functionality used by Shivers 1
- Added kFileIO subop 17 (create save slot)
- Added information about a (probably debug) kernel function used in a puzzle, kCelInfo
- Added some information on two kSave subops
- Added 2 workarounds for uninitialized variables

svn-id: r55158
2011-01-08 10:23:27 +00:00
Filippos Karapetis 59d00fca17 SCI: Removed leftover end markers from the opcode formats array
svn-id: r55153
2011-01-07 19:31:19 +00:00