44171 Commits

Author SHA1 Message Date
Matthew Hoops
c66233f83e GRAPHICS: Split the NE cursor code from the NEResources class
Now the code lies in Graphics and all cursors are not cached upon opening an exe. The engine is now in charge of caching which cursors it wants.
2011-03-04 23:17:57 -05:00
Matthew Hoops
550cff84f8 GRAPHICS: Add support for PE FON files
This hopefully will work out of the box, but requires testing
2011-02-23 14:43:18 -05:00
Matthew Hoops
e053373dd3 COMMON: Add a key color field to NECursor 2011-02-22 20:11:50 -05:00
Matthew Hoops
a2a0b13de2 COMMON: Begin to merge some NE/PE code
The ID classes are now common to both. The files have been renamed to better illustrate their purpose.
2011-02-22 20:03:18 -05:00
Matthew Hoops
3a3fd9f009 SCUMM: Use the new PEResources class for HE cursors
Putt-Putt Saves the Zoo HE72 still works fine for me
2011-02-22 12:33:45 -05:00
Matthew Hoops
3995610ce3 COMMON: Add a convenience function to ignore the language field 2011-02-22 12:33:41 -05:00
Matthew Hoops
d5c494a239 COMMON: Add default Windows PE types 2011-02-22 02:02:00 -05:00
Matthew Hoops
91287b2e18 COMMON: Add basic PE EXE parser
Much thanks to fuzzie for her assistance
2011-02-22 01:47:11 -05:00
Matthew Hoops
0ec91de76d SCI: Spell 'canister' correctly 2011-02-21 17:09:45 -05:00
md5
4766774b3d SCI: Fixed script bug #3040722 in QFG3 2011-02-21 20:43:54 +02:00
md5
8a52e4bf00 SCI: Throw a warning instead of an error if there ever is a modulus calculation
with negative numbers in SCI0 games older than 0.000.685
2011-02-21 06:37:03 +02:00
md5
969a96622d SCI: SCI1.1 script also compare pointers with integers (e.g. QFG3, room 440) 2011-02-21 05:22:08 +02:00
md5
601e8c0de1 SCI: Added a custom modulo reg_t operator
This version only handles signed integers. The modulo operator was changed in
SCI0 late (Iceman, and perhaps all SCI0 0.000.685 and later) so that it handles
negative numbers as well. We need to see if there really is a need to keep two
different modulo operators (which will only be necessary if any SCI0 game asks
for the modulo of a negative number by mistake, or a number larger than 32767).
Thus, error out in such a case for SCI0, so that this can be investigated
properly
2011-02-21 05:18:21 +02:00
Johannes Schickel
9afc89e67c GRAPHICS: Let PNG::getPalette take an uint16 for the palette entry count.
This is in analogy to r55742 / 2f08dcb.

I also took the freedom to clarify that the PNG loader uses a RGBA palette
format.
2011-02-20 21:43:24 +01:00
Johannes Schickel
22489cbf8e TESTBED: Adapt documentation to the palette RGBA->RGB change. 2011-02-20 21:39:30 +01:00
Johannes Schickel
10c7c5327a CRUISE: Remove leftover RGBA reference. 2011-02-20 21:39:29 +01:00
Johannes Schickel
bb2daae936 AGI: Remove leftover RGBA reference in comments. 2011-02-20 21:39:29 +01:00
Johannes Schickel
75ee5af7c9 GRAPHICS: Remove leftover RGBA reference in PaletteManager documentation. 2011-02-20 21:38:40 +01:00
Johannes Schickel
16be240ab1 KYRA: Fix regression in Screen::setInterfacePalette.
This fixes an out of bounds write introduced with 9216c7e.
2011-02-20 21:37:39 +01:00
Matthew Hoops
0933325b7c SCI: Add support for enabling/disabling Mac icon bar images 2011-02-20 12:44:59 -05:00
Matthew Hoops
257bae431a SCI: Fix KQ6 Mac video positioning 2011-02-20 12:44:59 -05:00
Matthew Hoops
dceb1391cb SCI: Cache all icon bar images from the start 2011-02-20 12:44:59 -05:00
Matthew Hoops
fe250d2755 SCI: Don't error out when a Mac resource has size 0 2011-02-20 12:44:59 -05:00
Alyssa Milburn
0fe3ecd6d7 MOHAWK: Don't display LiveText phrases too early. 2011-02-20 13:46:13 +01:00
Alyssa Milburn
42ec234a1f MOHAWK: Make LBLiveTextItem call done() when finished. 2011-02-20 13:46:12 +01:00
Alyssa Milburn
00f85fb580 MOHAWK: Fix kLBAutoSync notifies. 2011-02-20 13:45:34 +01:00
Alyssa Milburn
9fa6b48e1a MOHAWK: A zero matchFrom matches everything. 2011-02-20 13:45:33 +01:00
dhewg
2f312e9e1a DS: Disable symbol garbage collection
Only applies when using loadable modules.
This requires a second compile run or black voodoo linker tricks.
Not implemented at this time. Disable it, so we get DS build failure
reports from buildbot (which are useful with all the DISABLE_EVERYTHING
defines).
The resulting binary might be too big to be usable.
2011-02-20 13:09:36 +01:00
Alyssa Milburn
805acaa81e MOHAWK: Ignore out-of-bounds LB words. 2011-02-20 12:45:15 +01:00
Alyssa Milburn
417dd6314b MOHAWK: Fix LB palettes which don't start at 0.
(Thanks to LordHoto for pointing out this was crazy.)
2011-02-20 12:36:21 +01:00
dhewg
adf6c8f09e SCUMM: More DISABLE_TOWNS_DUAL_LAYER_MODE mess
Uglify more code to fix compilation for DS
Only compile-tested
2011-02-20 12:09:58 +01:00
dhewg
9d7548b2a1 NEWS: Mention recent android fixes 2011-02-20 12:09:56 +01:00
dhewg
cc129d94ca NEWS: Mention Wii fix from 50129178 2011-02-20 12:09:51 +01:00
dhewg
33f3c1bc98 NEWS: Mention merged GSoC tasks 2011-02-20 12:09:45 +01:00
strangerke
98cd1b6e0c MOHAWK: Add detection strings for Harry and the Haunted House 2011-02-20 11:54:45 +01:00
strangerke
38f70f66f0 HUGO: Fix crash when Hugo.dat not found (or wrong version detected) 2011-02-20 11:33:17 +01:00
strangerke
93f25b73be HUGO/TOOLS: reorder things in HUGO.DAT, move from RGBA to RGB 2011-02-20 11:32:00 +01:00
md5
ae88f41596 SCI: Slight cleanup 2011-02-20 12:20:40 +02:00
strangerke
bb51d090a8 HUGO: Fix a bug in setCursorPal() introduced by recent palette modifications 2011-02-20 10:39:32 +01:00
strangerke
c9223b9b9b HUGO: Some more refactoring 2011-02-20 10:37:41 +01:00
D G Turner
a925286361 COMMON: Correct NE Resource Loader for Osystem RGBA->RGB Palette Change. 2011-02-20 06:12:21 +00:00
Matthew Hoops
5091f846a7 GRAPHICS: Switch PICT's palette from RGBA to RGB 2011-02-20 00:45:59 -05:00
Matthew Hoops
098581b3b5 GRAPHICS: Use the DirectBits size instead of the overall PICT dimensions
Fixes some Myst ME images
2011-02-20 00:43:18 -05:00
D G Turner
f8df58f957 MOHAWK: Fix Un-initialized Read In Myst Library Tower Rotation Control. 2011-02-20 04:47:54 +00:00
Johannes Schickel
e6c7544fe2 GRAPHICS: Fix cursor palette buffering after RGBA->RGB change.
Thanks to clone2727 for noticing this.
2011-02-20 05:43:04 +01:00
D G Turner
10e2cec6b9 M4: Updated for OSystem Palette RGBA->RGB Change. 2011-02-20 03:20:06 +00:00
Johannes Schickel
292f197142 GRAPHICS: Remove note about alpha channel removal in PaletteManager. 2011-02-19 23:45:03 +01:00
dhewg
90fa5087dc ANDROID: Fix cursor scaling 2011-02-19 23:25:05 +01:00
dhewg
6c123974c0 ANDROID: Fix cursor when hotspot coords > 0 2011-02-19 23:24:59 +01:00
md5
28dae010fb SAGA: Fixed palette setting inside Gfx::setPaletteColor() (thanks to LordHoto for noticing this) 2011-02-20 00:19:08 +02:00