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
Filippos Karapetis
77d20f6962
SCI: Fixed bug #3094235 - "SQ4CD: Crashes at Roger jr. in beam"
...
svn-id: r53776
2010-10-24 21:53:27 +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
Martin Kiewitz
ae6aa8a6b3
SCI: always allocate +1 byte in kMemory now
...
fixes multilingual lsl5 room 280 - names of airport ladies not shown correctly (bug #3093818 )
svn-id: r53746
2010-10-23 20:22:24 +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
Filippos Karapetis
bd14661fdf
SCI: Silence runtime warnings when editing kernel_tables.h with VS2010
...
svn-id: r53743
2010-10-23 19:19:06 +00:00
Filippos Karapetis
ebf4e736ba
SCI: Added the Spanish version of SQ5 from bug report #3090664
...
svn-id: r53742
2010-10-23 19:17:26 +00:00
Max Horn
3534cff8ef
ALL: Fix indention (whitespaces -> tabs)
...
svn-id: r53738
2010-10-23 15:46:50 +00:00
Filippos Karapetis
d251521f63
SCI: Added the ability to filter out results of the "class_table" command
...
svn-id: r53673
2010-10-21 13:13:56 +00:00
Martin Kiewitz
db55d81b08
SCI: removing "german" laura bow 1
...
the version released in Germany was/is 100% english-only
svn-id: r53657
2010-10-20 21:47:26 +00:00
Torbjörn Andersson
2a19d755de
SCI: Silence GCC warning
...
svn-id: r53649
2010-10-20 20:39:08 +00:00
Filippos Karapetis
2d1205f7a0
SCI: Changed some tabs to spaces
...
svn-id: r53648
2010-10-20 18:29:21 +00:00
Filippos Karapetis
ab362cfa53
SCI: Marked several unused SCI2/SCI2.1 kernel functions and updated comments about some others
...
svn-id: r53647
2010-10-20 18:10:36 +00:00
Filippos Karapetis
3d85d6804b
SCI: Added a new debug command, "find_callk"
...
This command can be used to find the object methods (including their
corresponding objects and owner scripts) that call a specific kernel
call. This shall aid us track all the spots where a particular kernel
function is called from, therefore it'll be a bit easier to find
examples where unimplemented kernel functions are called
svn-id: r53646
2010-10-20 17:31:29 +00:00
Martin Kiewitz
f8c7243938
SCI: fixing possible deadlock inside clearPlaylist
...
thx to ajax16384
svn-id: r53613
2010-10-19 14:53:39 +00:00
Filippos Karapetis
7706f90c71
SCI: Added comments for the unmapped SCI2/SCI2.1 kernel functions
...
svn-id: r53556
2010-10-17 22:56:11 +00:00
Matthew Hoops
bc5f10a55c
SCI: Add The Black Cauldron (fan game)
...
svn-id: r53547
2010-10-16 20:48:51 +00:00
Martin Kiewitz
ffbca0786d
SCI: fixing iceman undithering door close-up
...
room 9 (go up right at the start)
svn-id: r53522
2010-10-15 22:19:27 +00:00
Martin Kiewitz
9cc51096c0
SCI: updating comment for r53515
...
svn-id: r53517
2010-10-15 21:16:36 +00:00
Martin Kiewitz
41e9691e86
SCI: fixing view-undithering for laura bow 1
...
(cupboards in room 43, just in the room to the left from the start)
svn-id: r53515
2010-10-15 21:12:42 +00:00
Filippos Karapetis
7f43ed3f9d
SCI: Changed the check for vertex_min into an assert (thanks wjp)
...
svn-id: r53504
2010-10-15 15:40:36 +00:00
Filippos Karapetis
f3270f1957
SCI: Fixed access to dest in kTextSize() (thanks LordHoto)
...
svn-id: r53498
2010-10-15 14:33:57 +00:00
Max Horn
4ccce19876
ENGINES: Enhance namespace comments a bit
...
svn-id: r53484
2010-10-15 12:48:19 +00:00
Filippos Karapetis
7cdddd5ffb
SCI: Fixed code bugs from bug #3087872 - "SCI: Code analysis warnings"
...
svn-id: r53482
2010-10-15 12:40:24 +00:00
Johannes Schickel
75e8452b6e
OPENGL: Merged from trunk, from rev 52105 to 53396.
...
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.
Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.
svn-id: r53399
2010-10-13 03:57:44 +00:00
Matthew Hoops
07abe3d603
SCI: Add detection for Hoyle4 Mac
...
svn-id: r53397
2010-10-13 03:28:59 +00:00
Torbjörn Andersson
54b2a8c98d
JANITORIAL: Cleanup (mostly whitespace)
...
svn-id: r53161
2010-10-12 04:19:58 +00:00
Max Horn
7642cd002a
SCI: Fix warning about uninitialized variable
...
svn-id: r53140
2010-10-10 22:25:30 +00:00
Willem Jan Palenstijn
28ade1826a
SCI: Support kGetTime modes 2 and 3 in SCI 0_LATE
...
This fixes bug #3083879 in Iceman.
svn-id: r53077
2010-10-08 18:33:54 +00:00
Filippos Karapetis
744a1829ac
SCI: Added a check for magnifier cursor multipliers
...
Sierra SCI only allowed multipliers 1, 2 and 4, and errored out on unexpected
values, thus we do the same
svn-id: r53072
2010-10-08 13:33:54 +00:00
Martin Kiewitz
6dcf366b7d
SCI: fixing mag cursor as far as possible
...
added TODO for real proper implementation
at least the alignment and content shown is now correct
svn-id: r53071
2010-10-08 12:41:03 +00:00
Martin Kiewitz
6798b01569
SCI: add global scaling again to kAddToPic
...
fixes regression of r52887 - lb2 actors not scaled correctly bug #3083577
needs to get backported
svn-id: r53068
2010-10-08 10:35:25 +00:00
Filippos Karapetis
e1a5b5cda1
SCI: Fix for bug #3083151 - "QFG3: Long pause while loading specific savegame"
...
svn-id: r53060
2010-10-07 21:50:47 +00:00
Willem Jan Palenstijn
9fae823f61
SCI: Add one more workaround for end of QfG3 Awari
...
svn-id: r53058
2010-10-07 20:48:55 +00:00
Filippos Karapetis
cacfefa699
SCI: bugfix for magnifier cursors
...
When deleting the resources related to magnifier cursors, zero them out
as well. Fixes crash when exiting a game after using a magnifier cursor
svn-id: r53054
2010-10-07 20:00:32 +00:00
Filippos Karapetis
8fcd25bcce
SCI: Added a define to disable room transitions
...
This is only useful for development, for speedy runs of games, and should NOT be
used in general, as it may introduce graphics glitches
svn-id: r53049
2010-10-07 15:30:30 +00:00
Willem Jan Palenstijn
95118b172e
SCI: Still show warning for uninit. reads in release mode
...
svn-id: r53047
2010-10-07 14:57:59 +00:00
Martin Kiewitz
2879e19b6a
SCI: unknown valgrind cases->fake 0 when official
...
we will fake 0 instead of error()ing out in official releases, when an uninitialized temp is read
is supposed to get backported
svn-id: r53046
2010-10-07 14:40:11 +00:00
Martin Kiewitz
5ba3475f93
SCI: fixing kBaseSetter on scaled views
...
adding check, if view is scaleable
also just copying nsRect now instead of recalculating - fixes lb2 regression at the docks (calling taxi hangs the game, bug #3982289 ) - i noticed this difference before but copying nsRect didnt work back then (i guess because of other bugs), that's why i recalculated it
should get backported, but only after some more testing - maybe someone should play through lb2 again
svn-id: r53045
2010-10-07 11:25:09 +00:00
Filippos Karapetis
c8fd37c9f0
SCI: Some fixes for zoom cursors
...
- Now the cursor buffer is initialized outside the mouse movement code, thus saving
a memcpy there
- Plugged some memory leaks
- Removed an obsolete check
svn-id: r53028
2010-10-05 10:30:26 +00:00
Martin Kiewitz
04a8ff06a2
SCI: fixing crash in mag cursor code for pharkas
...
svn-id: r53014
2010-10-04 09:23:06 +00:00
Filippos Karapetis
165432ad19
SCI: Several corrections for magnifier cursors
...
svn-id: r53010
2010-10-04 06:05:34 +00:00
Willem Jan Palenstijn
d1fb1d5b26
SCI: Fix AltInput crash in non-parser games
...
svn-id: r53008
2010-10-03 23:56:17 +00:00
Filippos Karapetis
27745c2143
SCI: Added missing initialization of _zoomBitmap
...
svn-id: r53007
2010-10-03 23:55:28 +00:00
Filippos Karapetis
c9e3a93c04
SCI: Added detection entry for KQ5/PC-98 (bug report #3073583 )
...
svn-id: r53005
2010-10-03 23:10:45 +00:00
Filippos Karapetis
ce8a2fbbbc
SCI: Added support for SCI1.1+ magnifier cursors (bug #3034973 ).
...
These are special cursors which zoom parts of a view dynamically. Examples
are Freddy Pharkas, when reading the prescription with the whiskey and LB2,
when using the magnifying glass on the Rosetta Stone
svn-id: r53003
2010-10-03 22:41:35 +00:00