Max Horn
b37463fe59
SCUMM: Move class ResourceManager to its own header
2011-05-13 11:47:08 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
0ce2ca4e00
COMMON: Replace MKID_BE by MKTAG
...
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
Max Horn
3534cff8ef
ALL: Fix indention (whitespaces -> tabs)
...
svn-id: r53738
2010-10-23 15:46:50 +00:00
Johannes Schickel
0ace80fed4
Fix for bug #2995282 "FT: Cavefish Hideout Chase (Failure Cutscene) Crash".
...
The bug itself is actually a regression from r43577, the merge
of the gsoc2009-16bit branch.
svn-id: r48987
2010-05-09 20:17:30 +00:00
Max Horn
adaf3ec8b4
SCUMM: Rename _bitDepth to _bytesPerPixel
...
svn-id: r44336
2009-09-25 09:13:33 +00:00
Travis Howell
09845556e0
Revert revision 43410, and add alternative fix.
...
svn-id: r43416
2009-08-16 00:20:23 +00:00
Matthew Hoops
8e417b0884
Fix compile when compiling with --disable-he
...
svn-id: r43410
2009-08-15 14:50:21 +00:00
Travis Howell
9911c1bf59
Fix endian issue, the palette must be in little endian.
...
svn-id: r41184
2009-06-05 00:33:25 +00:00
Travis Howell
fdbc49ab5f
Fix the color of Poodles Galore's finger nails in Spy Fox 3.
...
svn-id: r41162
2009-06-04 11:03:45 +00:00
Travis Howell
a45b902716
Ooops, re-enable codec32 code.
...
svn-id: r41161
2009-06-04 09:49:06 +00:00
Travis Howell
3a64d35dfd
Add 16bit color support for later HE games.
...
svn-id: r41153
2009-06-04 01:05:47 +00:00
Travis Howell
2bf567d988
Fix possible regression in HE games re-releases.
...
svn-id: r39830
2009-04-04 06:03:09 +00:00
Max Horn
6f4b567124
SCUMM: Split intern.h into multiple headers
...
svn-id: r39567
2009-03-20 16:33:58 +00:00
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Travis Howell
5bf899709c
Switch assert to an error message, stating the exact unknown code.
...
svn-id: r35796
2009-01-09 12:08:06 +00:00
Travis Howell
7ec0a13949
Fix assert triggered when sorting out meals in Blue's 123 Time Activies.
...
svn-id: r35715
2009-01-04 05:19:52 +00:00
Travis Howell
4670e37a78
Use slow palette color match, for 16bit color HE games for now.
...
svn-id: r35713
2009-01-04 00:58:45 +00:00
Max Horn
1537e162f6
SCUMM: Moved more stuf from class Actor to ActorHE
...
svn-id: r34648
2008-09-25 10:11:06 +00:00
Max Horn
8d16a42c93
SCUMM: Added a new ActorHE class, as well as a virtual Actor::prepareDrawActorCostume() method
...
svn-id: r34646
2008-09-25 08:06:18 +00:00
Jordi Vilalta Prat
38a8aa516e
Allow static and dynamic plugins to be used at the same time
...
svn-id: r31888
2008-05-06 03:00:26 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
0cccbb29d6
Some cleanup (yay for whomever had the brilliant idea to let SVN work over HTTPS and hence through proxies&firewalls :)
...
svn-id: r28877
2007-09-08 11:15:27 +00:00
Chris Apers
500481c4ec
Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
...
svn-id: r28803
2007-09-01 19:13:04 +00:00
Max Horn
e1bcd70436
Re-added __attribute__(packed)
...
svn-id: r27830
2007-07-01 18:18:43 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
bb91c3a3ad
SCUMM: some more AKOS cleanup & added comments
...
svn-id: r26054
2007-03-10 13:26:39 +00:00
Max Horn
fc9af6a307
SCUMM: Must reset useBompPalette in the AKOS renderer
...
svn-id: r26052
2007-03-10 13:05:26 +00:00
Max Horn
aba0cd04d6
SCUMM: got rid of the _bompActorPalettePtr member var (which was only used as a hidden param to drawBomp); turned drawBomp into a regular function (used to be a ScummEngine member method)
...
svn-id: r26045
2007-03-10 00:34:20 +00:00
Gregory Montoir
bb3e575e21
don't test akosScaleYTable if actor has no vertical scale factor ; this is consistent with the code in costume.cpp and fixes bug #1329232 .
...
svn-id: r25332
2007-02-01 23:27:16 +00:00
Gregory Montoir
51fd5c8c4b
templatified some Wiz decoding functions
...
svn-id: r25209
2007-01-26 22:03:41 +00:00
Torbjörn Andersson
863bed3fd0
Change masking condition for codec1_genericDecode(), proc3() and proc3_ami() so
...
that X coordinates outside the designated area are explicitly masked. While the
functions are written to terminate when X moves outside, bug #1508942 ("FOA:
Glitch dring balloon flight") demonstrates that X may *start* outside. That's
the case we want to mask.
Note that proc3_ami() already masked these pixels (in a different way), so
there the change is purely cosmetical.
svn-id: r24104
2006-10-04 05:11:58 +00:00
Max Horn
51017cf1b2
Renamed ScummEngine::res to _res and allocate the ResourceManager on the heap (i.e. _res is a pointer now)
...
svn-id: r23922
2006-09-17 20:36:48 +00:00
Max Horn
b860f002b2
Replaced checkRange by assertRange, which has (a) an (IMO) more logical order of parameters, and (b) removes lots of useless duplicate information in error messages
...
svn-id: r23885
2006-09-16 13:38:43 +00:00
Torbjörn Andersson
c32076e5d0
Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
...
for consistency with other #includes.
svn-id: r23585
2006-07-23 16:13:26 +00:00
Max Horn
2859b64702
Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
...
svn-id: r23569
2006-07-22 17:28:48 +00:00
Max Horn
f59cf1fcdc
Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
...
svn-id: r23547
2006-07-21 21:25:17 +00:00
Max Horn
f35f4a4d1c
Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
...
svn-id: r23458
2006-07-09 13:01:15 +00:00
Travis Howell
f4d7226334
Adjust akos code to only draw within bounds in HE games. Fixes many graphical glitches in HE games.
...
svn-id: r23143
2006-06-16 11:30:23 +00:00
Travis Howell
e5b5361e75
Remove error for default case of active case 6/8 in akos_increaseAnim(), a default case is normal in original games. Fixes bug #1506017 - HE Pajama Sam 1: ERROR while tralking to snotty trees.
...
svn-id: r23125
2006-06-15 10:18:23 +00:00
Travis Howell
6fe3d3214d
Fix the shadow glitches in HE98 version of puttrace, the shadow mode isn't reset in HE90-98 games.
...
svn-id: r23104
2006-06-14 12:22:24 +00:00
Max Horn
aeef84c961
Moved AKOS stuff to class ScummEngine_v6
...
svn-id: r22229
2006-04-29 16:51:29 +00:00
Gregory Montoir
575c831684
fixed wrong computation of decflag in AkosRenderer::drawLimb (HE specific, bug #1416186 ).
...
svn-id: r21454
2006-03-25 20:15:41 +00:00
Travis Howell
9ecd855c2b
Fix endian issue in akos costume code
...
svn-id: r21343
2006-03-17 01:55:43 +00:00
Travis Howell
a908cbed32
Fix endian issues in akos costume code
...
svn-id: r21342
2006-03-17 01:46:36 +00:00
Max Horn
d9a9fac937
Fixed tons of format string warnings for debug/error calls (including several errors where the format string didn't match the number of arguments to the call)
...
svn-id: r21141
2006-03-08 11:37:25 +00:00
Max Horn
14f1337c60
Use %p to print pointers portably (even on 64bit systems). Note: this will add a 0x prefix automatically
...
svn-id: r21140
2006-03-08 10:07:02 +00:00
Max Horn
6914121f61
Replaced MKID by MID_BE in most places in the SCUMM engine
...
svn-id: r20862
2006-02-25 02:12:58 +00:00
Max Horn
81e8a2860e
Moved iMUSE code to the new directory engines/scumm/imuse/
...
svn-id: r20801
2006-02-20 20:57:26 +00:00
Max Horn
e389bcf497
Replaced _gameId, _version, _heversion, _features, _midi, _platform with a simple ScummGameSettings instance: _game
...
svn-id: r20795
2006-02-20 16:51:30 +00:00