122 Commits

Author SHA1 Message Date
Jonathan Gray
86af05599b this still needs to be sorted out properly but it seems the majority of cases use 0 not 255 need to distinguish which in future...
svn-id: r14014
2004-06-23 10:18:19 +00:00
Jonathan Gray
3744c9f772 fbear always uses a transparency colour of 5 in codec 16
svn-id: r14013
2004-06-23 10:08:20 +00:00
Jonathan Gray
c7f06142a0 use the correct transparency colour for akos codec 16 with hev7
svn-id: r14009
2004-06-23 07:45:28 +00:00
Paweł Kołodziejski
908e80060d forgot that
svn-id: r13544
2004-04-11 18:07:03 +00:00
Max Horn
cc954a70ae Fix for bug #929724 (MI2: Intro regression) -> since _outheight can be negative, negative y values aren't filtered out automatically anymore, so we have to explicitly check for them
svn-id: r13478
2004-04-06 01:06:54 +00:00
Max Horn
21b81b9ef4 Fix signedness issue (lead to incorred address computations on 64 bit machines)
svn-id: r13465
2004-04-04 22:43:54 +00:00
Max Horn
4de4353c39 My recent change to _draw_bottom caused a regression in The Dig (and maybe elsewhere). Ah well, probably better to draw one line more than one line less anyway
svn-id: r13462
2004-04-04 19:41:02 +00:00
Max Horn
e3e9ba99ee Fix for bug #885466 (FT: Text gets drawn under moving bits), by making AKOS codec 16 honor the charset mask
svn-id: r13455
2004-04-04 01:11:27 +00:00
Max Horn
3f2fc3e8be cleanup
svn-id: r13450
2004-04-03 22:52:36 +00:00
Max Horn
90dd9af577 fixed hypothetical off-by-one error when computing _draw_bottom (a semantical problem: _draw_bottom is supposed to be the bottom most pixel which is actually drawn; in the other case, it's top+height, i.e. one pixel *below* that last drawn pixel row. In addition, some cleanup
svn-id: r13449
2004-04-03 20:56:19 +00:00
Paweł Kołodziejski
fdd44a242d forgot them
svn-id: r13393
2004-03-27 20:55:26 +00:00
Travis Howell
306d16441e Add back HE sound differences for AKOS.
Remove old define
Avoid crash if using demo script in maniac (Enchanced)

svn-id: r13166
2004-03-03 08:17:21 +00:00
Paweł Kołodziejski
bb97464292 cleanup. soundlist originaly is shifted and started at 1 not as in scummvm at 0, match as rest of scummvm code : start at 0
svn-id: r13157
2004-03-02 21:55:14 +00:00
Travis Howell
6db3a8819e VAR confirmed awhile ago.
svn-id: r12983
2004-02-22 08:18:28 +00:00
Travis Howell
e5c3d7329b An equal value should be allowed, originals used changeRange at this point.
svn-id: r12932
2004-02-19 02:18:05 +00:00
Travis Howell
d5bf1699ca Add akos drawing offsets
svn-id: r12910
2004-02-16 02:55:23 +00:00
Travis Howell
955a96ada5 Add fix for akos colorKey issue in fbear
svn-id: r12898
2004-02-15 03:47:26 +00:00
Travis Howell
d3eefc060e Enable and adjust for FT.
svn-id: r12724
2004-02-05 07:27:30 +00:00
Travis Howell
180778b524 Update arguments, could these be enabled now ?
svn-id: r12723
2004-02-05 03:18:49 +00:00
Paweł Kołodziejski
fbab0e9984 fix for bug 886201 or rather revert back to hack
svn-id: r12668
2004-01-29 19:59:00 +00:00
Travis Howell
1141176775 Revert last array change, until they can be verified.
svn-id: r12432
2004-01-16 13:01:33 +00:00
Travis Howell
2c7057fdf4 Checks were a bit too strict, makes fatty bear completable.
svn-id: r12421
2004-01-16 06:16:38 +00:00
Travis Howell
6752f57473 Use simpler checks
HE games used old directions style

svn-id: r12397
2004-01-15 02:59:51 +00:00
Travis Howell
3180834549 Add skipLimb actor var, which is used by puttmoon.
Use forceClip for actorOps case 218, since it should have same effect.

svn-id: r12340
2004-01-12 14:09:39 +00:00
Travis Howell
48eb63d29a Add missing case.
Add another HE games specific.

svn-id: r12335
2004-01-12 09:00:31 +00:00
Max Horn
6222d6e643 more cleanup
svn-id: r12234
2004-01-08 03:24:41 +00:00
Max Horn
d852e2855a cleanup (make some more use of class Common::Rect)
svn-id: r12232
2004-01-08 03:10:16 +00:00
Paweł Kołodziejski
8fd123992d synced imuse digital with local tree
svn-id: r12187
2004-01-06 17:28:29 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Travis Howell
1e0c78d9a2 Add check
svn-id: r12164
2004-01-06 06:50:36 +00:00
Max Horn
d834bd9684 replace more usages of _screenWidth by more appropriate variables/values
svn-id: r12162
2004-01-05 16:49:14 +00:00
Max Horn
a469559d13 added Actor::getElevation and Actor::setElevation; cleaned up costume API a bit; some minor cleanup/tweaks
svn-id: r12160
2004-01-05 16:19:14 +00:00
Max Horn
bceb48f5e0 renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places
svn-id: r12122
2004-01-03 22:45:23 +00:00
Travis Howell
dfc9ac50df Fix missing sfx in puttputt
svn-id: r12081
2004-01-02 04:58:39 +00:00
Paweł Kołodziejski
1abfe5d63f start sound call directly digital imuse, only script part handled by mainloop of scumm script
svn-id: r11906
2003-12-25 11:14:05 +00:00
Paweł Kołodziejski
d5eddef057 changed some shift operators to *, /
svn-id: r11315
2003-11-16 20:52:57 +00:00
Chris Apers
3f06651bab Moved PalmOS initializations out of namespaces.
svn-id: r10703
2003-10-09 14:17:06 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Chris Apers
a47e80cb55 Updated globals access for PalmOS
svn-id: r9759
2003-08-18 10:59:21 +00:00
Max Horn
becd70d243 cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)
svn-id: r9175
2003-07-24 17:44:00 +00:00
Max Horn
1ec54d032e Moved out akos_compare (no reason for it to be member of class Scumm)
svn-id: r8660
2003-06-26 22:50:01 +00:00
Max Horn
440100606c made scale table const again; some cleanup in setupBompScale
svn-id: r8559
2003-06-19 16:03:12 +00:00
Paweł Kołodziejski
9f55203302 use default scale table for bomb codec
svn-id: r8556
2003-06-19 12:41:28 +00:00
Torbjörn Andersson
9917c08f69 Comitted the partial (but seemintly good enough) actorHit implementation
from patch #754895.

Ship-to-ship combat is still rather glitchy, but there are probably other
reasons for that.

svn-id: r8519
2003-06-16 15:11:24 +00:00
Max Horn
f7a8cbf7c7 Patch #754151: Removed READ_*_UNALIGNED and always read stuff bytewise; augmented by some more changes of mine
svn-id: r8482
2003-06-14 18:52:30 +00:00
Max Horn
49b9a8fc9d follow our coding conventions
svn-id: r8377
2003-06-07 00:49:36 +00:00
Torbjörn Andersson
b542fad7d4 Fix the ugly striped shadows in AKOS codec 1 when drawing scaled actors.
This was noticeable in Full Throttle and Curse of Monkey Island, at least.
I don't remember seeing it in The Dig.

svn-id: r8313
2003-06-05 06:59:53 +00:00
Max Horn
cb5fb5d403 added a getMaskBuffer method (makes it easier to read some of the code); merged setVirtscreenDirty() into updateDirtyRect(); made setDirtyRange a method of struct VirtScreen
svn-id: r8241
2003-06-01 14:30:26 +00:00
Max Horn
9cbcde684b cleanup / added comments / code unification
svn-id: r8235
2003-06-01 13:09:30 +00:00