Commit Graph

23 Commits

Author SHA1 Message Date
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
Eugene Sandulenko
10c7835cfc Moved all he-specific source files to engines/scumm/he/ subdirectory
svn-id: r20696
2006-02-15 00:57:50 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00