Filippos Karapetis
a6e9fe69c3
SCI: Set the printLang and parseLang selectors again when restarting, if necessary.
...
This sets the language again correctly to the language selected in the launcher when
restarting multilingual games.
svn-id: r55561
2011-01-27 10:49:11 +00:00
Willem Jan Palenstijn
190bd60505
SCI: Make SCI3 propertyId endianness hack a bit cleaner
...
svn-id: r55542
2011-01-26 16:51:18 +00:00
Max Horn
fec516e2b0
SCI: cleanup
...
svn-id: r55539
2011-01-25 20:21:57 +00:00
Lars Skovlund
e1a9c866bf
SCI3: Fix script abort during startup on Big Endian platforms
...
svn-id: r55525
2011-01-25 10:21:44 +00:00
Lars Skovlund
aa5e8e6c2b
SCI/Robot: Simplify ::setPalette()
...
svn-id: r55498
2011-01-24 11:17:47 +00:00
Lars Skovlund
3b61cb57d4
SCI/Robot: Fix typo
...
svn-id: r55497
2011-01-24 10:57:19 +00:00
David Turner
a7f7b90aee
SCI: Fixed possible use of uninitialized variable in SCI Script Debugger.
...
svn-id: r55487
2011-01-23 23:25:34 +00:00
Eugene Sandulenko
caa6684752
VIDEO: Move video classes to Video:: namespace
...
svn-id: r55479
2011-01-23 19:08:09 +00:00
Eugene Sandulenko
806ccf5d25
GRAPHICS: Move graphics/video/ to video/. Step 1/2
...
svn-id: r55473
2011-01-23 17:14:43 +00:00
Lars Skovlund
bcf62fa8b9
SCI/Robot:Don't ifdef out ::playAudio, since it is only used for debugging
...
svn-id: r55449
2011-01-22 21:58:33 +00:00
Filippos Karapetis
7dd28c024a
SCI: Moved the robot audio playing test code inside GfxRobot::playAudio()
...
svn-id: r55428
2011-01-22 14:58:17 +00:00
Lars Skovlund
8a44af63af
SCI/robot: Correct detection of null preload
...
svn-id: r55427
2011-01-22 14:32:39 +00:00
Lars Skovlund
dc27a22026
SCI: Added stub for playing robot audio from the console
...
svn-id: r55424
2011-01-22 13:12:01 +00:00
Filippos Karapetis
89087b18c7
SCI21: Allow the game scripts to sync robot videos, like in SSCI. Also, references of the SciEngine class to itself via g_sci have been removed
...
svn-id: r55422
2011-01-22 13:01:10 +00:00
Filippos Karapetis
8928dc3cf5
SCI: Changed the expensive and inaccurate floating-point divisions to integer divisions. Fixes asserting of 90.rbt in Phantasmagoria (the game's logo video)
...
svn-id: r55405
2011-01-22 03:28:14 +00:00
Filippos Karapetis
84a04d6876
SCI: Code formatting
...
svn-id: r55404
2011-01-22 02:51:39 +00:00
Lars Skovlund
9f1904d661
SCI: Fix robot palette activation
...
svn-id: r55397
2011-01-21 22:50:30 +00:00
Lars Skovlund
4818b2ae08
SCI: Add comment for GK1 workaround.
...
svn-id: r55391
2011-01-21 19:56:23 +00:00
Lars Skovlund
cd62c3ae42
SCI: Fix robot memory leak
...
svn-id: r55390
2011-01-21 19:52:52 +00:00
Lars Skovlund
74f8462a7b
SCI: Fix GK1 breaking into the debugger when watching the intro
...
svn-id: r55386
2011-01-21 19:33:36 +00:00
Lars Skovlund
0e33dd9164
SCI: Partial robot support, currently disabled since it does not run
...
asynchronously as it should.
svn-id: r55382
2011-01-21 18:53:35 +00:00
Matthew Hoops
476eeb69e6
COMMON: Move SCI's DCL decompression code to common
...
svn-id: r55367
2011-01-21 01:55:44 +00:00
Filippos Karapetis
0309f36552
SCI: Plugged 2 memory leaks, reported by digitall
...
- Plugged 2 memory leaks in the SCI0 menu code (the lists of menu and submenu entries)
- Got rid of the _listCount variable
svn-id: r55254
2011-01-15 23:55:35 +00:00
Filippos Karapetis
f680e24146
SCI: Added a hack to fix bug #3122075 - "LB1: Game play freezes when taking shower"
...
This is a regression from the new kInitBresen/kDoBresen functions, enabled in r52467.
Many thanks to waltervn for his work in bisecting this. The actual bug should be
found, but since only this death scene has an issue, it's not really worth the
effort. The old functions are based on observations, so there are many differences in
the way that they behave. If another test case is found, then this shall be examined
further. Until then, this simple and unobtrusive hack will do.
svn-id: r55251
2011-01-15 18:25:10 +00:00
Filippos Karapetis
0f9c33e02f
SCI: cleaned up checkSelectorBreakpoint()
...
svn-id: r55250
2011-01-15 12:18:13 +00:00
Filippos Karapetis
c8b3200dd3
SCI: Extended the bpk debug command so that it can also disable a breakpoint on a kernel function
...
svn-id: r55249
2011-01-15 11:54:20 +00:00
Filippos Karapetis
47d109a093
SCI: Bugfix for r55246: Don't send init commands when resuming a sound
...
svn-id: r55247
2011-01-15 09:28:42 +00:00
Filippos Karapetis
cd108d3a81
SCI: Fixed bug #3034974 - "SCI: Music out of tune after loading a save"
...
svn-id: r55246
2011-01-15 00:29:02 +00:00
Filippos Karapetis
bb3fd747d4
SCI: Fixed bug #3155550 - "SQ4 Russian: Script error in Scate-o-rama"
...
svn-id: r55218
2011-01-12 23:53:14 +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
d8682a74a5
SCI: Simplified the kMoveCursor code
...
svn-id: r55216
2011-01-12 23:30:59 +00:00
Johannes Schickel
645ba4c379
SOUND: Get rid of unused forward declarations in mixer.h.
...
svn-id: r55197
2011-01-10 22:20:51 +00:00
Filippos Karapetis
bbd2cd460f
SCI2.1: Some further work on robot files
...
svn-id: r55190
2011-01-09 18:18:16 +00:00
Filippos Karapetis
db11b626c7
SCI2: Implemented proper text splitting
...
svn-id: r55184
2011-01-09 13:28:34 +00:00
Filippos Karapetis
6b6e7fcfb3
SCI2: Some documentation/stubs
...
- Fully documented the parameters of kSetShowStyle
- Added another subop stub for kCreateTextBitmap
svn-id: r55183
2011-01-09 13:27:00 +00:00
Filippos Karapetis
5d7729be32
SCI: Cleanup
...
svn-id: r55182
2011-01-09 13:21:19 +00:00
Filippos Karapetis
cf94a99bb7
SCI: Changed the bShow parameter of GfxText16:Box() into a bool
...
svn-id: r55179
2011-01-09 00:32:26 +00:00
Filippos Karapetis
505e1888e5
SCI: Some function renaming
...
Draw_Status -> DrawStatus
Draw_String -> DrawString
svn-id: r55178
2011-01-08 23:16:44 +00:00
Filippos Karapetis
8c554a8ec2
SCI2: Updated comments
...
svn-id: r55177
2011-01-08 23:15:10 +00:00
Filippos Karapetis
da52b3a267
SCI2.1: Added a comment with the SCI2.1 games using a SCI2 kernel
...
svn-id: r55176
2011-01-08 23:14:11 +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
87a3fcaf03
SCI: Fixed a typo
...
svn-id: r55159
2011-01-08 10:25:12 +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
2b87eebdb0
SCI: Moved the handling of the op_line debug opcode inside readPMachineInstruction()
...
The handling has been moved inside readPMachineInstruction(), instead of run_vm(), as a
lot of parts of the code depend on this function handling all opcodes correctly (e.g. the
script dissassembler, the features class, find_callk etc)
svn-id: r55154
2011-01-07 20:24:49 +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
Filippos Karapetis
6b250f8c9b
SCI2/2.1: Improvements to the find_callk debug function, and some kernel function updates
...
- Improved the find_callk function to properly find the end of script objects, by
monitoring jump calls
- Added three extra special calls to find_callk: find kernel function calls to dummy,
unused and unmapped kernel functions
- Updated several kernel function calls because of the above functionality
- The above functionality has also uncovered a VM bug in some SCI2/2.1 opcode - added
a FIXME for it
svn-id: r55151
2011-01-07 18:25:38 +00:00
Filippos Karapetis
576efc526b
SCI: The SCI2.1 SVGA version of MUMG is named "Mixed-Up Mother Goose Deluxe"
...
svn-id: r55139
2011-01-07 00:19:54 +00:00