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
cd62c3ae42
SCI: Fix robot memory leak
...
svn-id: r55390
2011-01-21 19:52:52 +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
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
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
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
32d7e687ee
SCI: debugC calls no longer require a debug level of 2 to show output
...
svn-id: r55086
2011-01-01 12:48:12 +00:00
Filippos Karapetis
1528a3d904
SCI: A more efficient solution for bug #3037874 (SCI high CPU usage), which will hopefully
...
not clash with the speed throttler. This is a more proper fix for bug #3058865 , and a
partial fix for bug #3127824
svn-id: r55046
2010-12-26 15:28:02 +00:00
Filippos Karapetis
bc9442d6d8
SCI: Fixed bug #3059860 - "LB2CD: Glitch in Act 6 coroner answer buttons"
...
svn-id: r55034
2010-12-24 15:53:06 +00:00
Filippos Karapetis
401a8c355d
SCI: Some initial work on the sound of robot videos (doesn't work yet, seems to be a problem with the encoding of the customized SOL audio files in robot videos)
...
svn-id: r55023
2010-12-23 13:11:10 +00:00
Filippos Karapetis
166f3f2dfd
SCI2+: Set pictureCels to 0 after deleting them
...
svn-id: r55004
2010-12-22 13:52:25 +00:00
Filippos Karapetis
75649f8903
SCI: Reset the portrait bitmap to the "closed mouth" state, when skipping dialogs
...
in the Windows version of KQ6
svn-id: r54983
2010-12-21 07:53:34 +00:00
Filippos Karapetis
26dfb6affa
SCI: Fixed bug #3041153 - "SCI Fanmade Games: Message window glitch"
...
The left window dimension adjustment (rev #48772 ) has been moved from
GfxPorts::setOrigin() into GfxPorts::addWindow(), as the updated dimension is
later used when filling the contents of the window (apparent in some fan made
games)
svn-id: r54976
2010-12-20 15:30:31 +00:00
Filippos Karapetis
4b836d611f
SCI: Fixed bug #3037945 - "PQ3 : Graphical Glitch with White Mercedes on Freeway"
...
svn-id: r54975
2010-12-20 12:21:18 +00:00
Filippos Karapetis
d3340b0d0c
SCI: Commented out unused signal flags
...
svn-id: r54974
2010-12-20 12:19:28 +00:00
David Turner
58b7295193
SCI: Fixed View Cel RLE Decoding when RLE Code 0x40 is used (Corrects Bug #3135872 "LSL1VGA: "Pause Game" problem")
...
In the copy case, the runLength can be up to 127, not 64 i.e. the LSB of the RLE code forms part of the runLength.
svn-id: r54924
2010-12-15 22:36:55 +00:00
Matthew Hoops
c2ec6020e3
SCI: Fix uninitialized reads (and therefore, GK1)
...
svn-id: r54799
2010-12-06 19:37:19 +00:00
Filippos Karapetis
94801fcea3
SCI: Fixed bugs #3041044 , #3046543 and #3046513
...
svn-id: r54690
2010-12-01 00:40:52 +00:00
Filippos Karapetis
d3b14e1445
SCI: Implemented FR #3101338 : "King's Quest 6 Windows Mouse Icons"
...
Added an option to use the original Windows cursors in the Windows version of KQ6
Also, added an update on how the Mac cursors are handled (perhaps the handling is
the same)
svn-id: r54495
2010-11-26 12:37:24 +00:00
Filippos Karapetis
c8ef70ea1c
SCI: Some minor fixes for Phantasmagoria 2 (which doesn't work at all, since it has some differences in its views)
...
svn-id: r54390
2010-11-20 00:20:05 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
5a554e3dbe
SCI: Change 'colour' to 'color'
...
All other instances already were spelled 'color' in the SCI
engine (and also most other parts of ScummVM)
svn-id: r54285
2010-11-17 12:13:03 +00:00
Filippos Karapetis
8b14137c07
SCI: Some video related changes
...
- Now playVideo() is used when playing videos from the console (reducing
code duplication)
- Added support for 16bpp scaling in scale2x, so that the 16-bit color
Duck videos are scaled correctly
svn-id: r54210
2010-11-11 19:22:56 +00:00
Filippos Karapetis
8504e30dac
SCI2: Added some currently unused code for drawing text on a buffer
...
svn-id: r54143
2010-11-08 16:12:58 +00:00
Willem Jan Palenstijn
e065a8a797
SCI: Fix blend rounding, style
...
svn-id: r54093
2010-11-05 12:33:07 +00:00
Johannes Schickel
8c997e2608
SCI: Add a default case to a switch statement to silence some compiler warnings.
...
svn-id: r54078
2010-11-05 00:10:26 +00:00
Willem Jan Palenstijn
51f7c4c525
SCI: Fix precedence error in comment
...
svn-id: r54071
2010-11-04 19:45:38 +00:00
Willem Jan Palenstijn
7e6aa1b4a9
SCI: Use gamma 2.2 for blending undithered colours
...
svn-id: r54069
2010-11-04 19:17:44 +00:00
Martin Kiewitz
bb716c23fa
SCI: adding force to memorial area for SQ3/intro
...
makes the view getting fully undithered
svn-id: r54068
2010-11-04 18:37:03 +00:00
Max Horn
ba3e826872
SCI: Remove any use of printf
...
svn-id: r54037
2010-11-02 09:49:47 +00:00
Filippos Karapetis
3d431a215f
SCI: Fixed a silly bug when restoring port rectangles. This uncovered a bug with the recently added port save/restore code
...
svn-id: r54015
2010-11-01 19:42:00 +00:00
Martin Kiewitz
548e67f413
SCI: fixing lf
...
(stupid msvc)
svn-id: r54014
2010-11-01 16:42:54 +00:00
Martin Kiewitz
eefa151d70
SCI: saving/restoring script created windows now
...
fixes "GfxPorts::kernelSetActive" error
based on code by [md5]
svn-id: r54012
2010-11-01 16:09:33 +00:00
Filippos Karapetis
dca3c8d8bf
SCI: Play time related changes
...
- Added support for savegame play time
- Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime)
- Renamed some variables to camelCase
svn-id: r53974
2010-10-31 01:45:24 +00:00
Martin Kiewitz
bd7d9965e9
SCI: removing unneeded call
...
was a left-over from debugging
svn-id: r53857
2010-10-26 20:56:55 +00:00
Martin Kiewitz
d078a4d235
SCI: fix gfx issues when giving out cards hoyle4
...
bit 2 actually triggers special drawing of cels in sierra sci
svn-id: r53855
2010-10-26 20:19:17 +00:00
Martin Kiewitz
9af803f575
SCI: kAnimate bit 2 is hoyle 4 exclusive
...
adjusted comments about that and also renamed the bit, also added additional TODO, because hoyle 4 has special code that gets into action, when bit 0 is not set, but bit 2 is
svn-id: r53853
2010-10-26 16:21:00 +00:00
Martin Kiewitz
a877ba0026
SCI: little cleanup kAnimate
...
svn-id: r53852
2010-10-26 15:29:04 +00:00
Martin Kiewitz
f9cb635b58
SCI: fixing bug #3091767 by reverting r52820
...
interpreters should get checked for that hoyle 4 code, comment added
svn-id: r53851
2010-10-26 14:42:24 +00:00
Martin Kiewitz
adcab043a2
SCI: fix comment in kAddToPic
...
svn-id: r53828
2010-10-25 16:33:04 +00:00
Martin Kiewitz
b581a866a9
SCI: fixing obvious kAddToPic regression
...
caused by r53068, triggered bug #3092840 (SQ5 genetix lab scaled incorrectly when laying course) - thx to digitall for bisect
svn-id: r53775
2010-10-24 21:49:22 +00:00
Filippos Karapetis
6c47ca8253
SCI2/SCI2.1: Some changes to the screen drawing code.
...
- Implemented kernelUpdateScreenITem
- Changed the list of screen items to be a list of FrameoutEntry entries,
so that it doesn't get recreated on every frame
svn-id: r53744
2010-10-23 19:23:07 +00:00