Travis Howell
d5bf1699ca
Add akos drawing offsets
...
svn-id: r12910
2004-02-16 02:55:23 +00:00
Paweł Kołodziejski
d1b74aa7cc
added talkVolume, and changed talkPan call method
...
svn-id: r12790
2004-02-09 08:05:23 +00:00
Travis Howell
555caf2251
Add correct actor palette color changing for HE games.
...
svn-id: r12419
2004-01-16 01:52:49 +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
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
f506056c3b
more cleanup
...
svn-id: r12161
2004-01-05 16:30:00 +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
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
Max Horn
0e645f88ae
renamed namespace ScummVM to Common
...
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
6512592d0f
moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for access of the actor position
...
svn-id: r10253
2003-09-14 18:16:45 +00:00
Max Horn
47827b1f22
disabled a stone old hack; Ender, maybe you remember some details about this fix? anybody feel like playtesting the Mystery Vortex, please? :-)
...
svn-id: r10246
2003-09-13 23:50:29 +00:00
Max Horn
538812d9fc
yet another tiny cleanup.... yeah yeah, I know I am annoying
...
svn-id: r10182
2003-09-11 22:36:21 +00:00
Max Horn
32c0168087
cleanup
...
svn-id: r10181
2003-09-11 22:26:44 +00:00
Max Horn
ff225c470c
cleanup
...
svn-id: r10179
2003-09-11 22:00:36 +00:00
Max Horn
d875bb69fe
fix for bug #782086 (COMI: a long walk)
...
svn-id: r10143
2003-09-09 19:30:25 +00:00
Torbjörn Andersson
94df02c799
Implement the ACTOR_PAN opcode. The only place I know of where it's used is
...
between between ship-to-ship combats, so I didn't bother yet to store it in
savegames.
svn-id: r9988
2003-09-03 17:00:33 +00:00
Max Horn
ff988094be
init walkdata (fix for bug #770306 ); move Actor::Actor constructor from header to source file
...
svn-id: r9205
2003-07-27 23:45:43 +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
92fd56f9f0
removed #include "boxes.h" from scumm.h; cleaned up AdjustBoxResult definition & usage; properly deal with larger box distances, thus partially fixing Zak on the airport (but original seems to have used a very different algorithm, so this really is only a partial fix)
...
svn-id: r8710
2003-07-02 13:47:03 +00:00
Jonathan Gray
12edf335f3
init actor things to make valgrind happy
...
svn-id: r8475
2003-06-14 13:49:47 +00:00
Max Horn
3d77f7230e
Enabled walk sounds in Indy3EGA/ZakEGA; cleanup (bug #747068 )
...
svn-id: r8249
2003-06-01 18:20:38 +00:00
Max Horn
f8e64d7134
renamed walk_script/talk_script -> walkScript/talkScript
...
svn-id: r8178
2003-05-31 14:27:47 +00:00
Max Horn
691e1f390a
rewrote Actor::needBgReset related code (this could cause regressions...)
...
svn-id: r8126
2003-05-30 00:55:21 +00:00
Jamieson Christian
7f40e593ed
SaveLoadEntry is a struct, not a class.
...
Fixes a VC++ warning.
svn-id: r8005
2003-05-26 14:20:05 +00:00
Max Horn
2f9ff35bad
moved Actor SaveLoadEntry definition to actor.cpp; made findPathTowards/findPathTowardsOld members of Actor; cleanup
...
svn-id: r7988
2003-05-26 02:26:13 +00:00
Max Horn
e827a569d2
some sane default values for speedx/speedy (shouldn't matter, though, as script usually set those early)
...
svn-id: r7938
2003-05-25 11:53:42 +00:00
Max Horn
c78664cbc9
renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrame
...
svn-id: r7819
2003-05-22 09:58:33 +00:00
Max Horn
f43fb0dab8
freeze scripts & hide mouse during cutscenes; addde Actor::isPlayer method that should work in V2, too; fixed o2_walkActorToObject
...
svn-id: r7815
2003-05-22 00:51:42 +00:00
Max Horn
1a394aa3c7
added enum's for the known actor/object claasses; extended putClass/getClass to translate the X/Y flip classes; made code use the new enum's; some other cleanup
...
svn-id: r7753
2003-05-20 20:42:28 +00:00
Max Horn
ffadd452a9
got rid of the evil locked-box hack in adjustXYToBeInBox; instead check for locked boxes in walkActorOld, which seems to work just as well (and hopefully better)
...
svn-id: r7750
2003-05-20 19:35:40 +00:00
Max Horn
8f7f22aeae
implemented proper 'invalid walkbox' handling in older games (in newer games, box 0 is used as invalid box, while in older games this is a legal box and box 255 is the 'invalid' box); removed lots of FIXME's which were needed to cope with ScummVM not implementing the invalid walkbox stuff properly in the past; removed other actor FIXMEs.
...
svn-id: r7642
2003-05-18 19:44:22 +00:00
Max Horn
15ba8da46b
renamed XYFactor/YXFactor to XYFactor, YXFactor/deltaYFactor (they denote how much to move each step in the x/y direction); added several FIXME comments (after 0.4.0 we really shold revise this code)
...
svn-id: r7344
2003-05-05 12:09:22 +00:00
James Brown
fe0fc72e57
Pedantic stats-boosting typo fix :)
...
svn-id: r7039
2003-04-20 17:11:13 +00:00
Max Horn
6316f83c93
new constant MF_FROZEN; fixed actor unfreeze code
...
svn-id: r6764
2003-03-08 02:06:56 +00:00
Max Horn
cb04f9f9b3
fixed some more valgrind warnings
...
svn-id: r6756
2003-03-07 21:59:02 +00:00
Max Horn
5944944f78
properly init Actor objects instead of one big evil hackish memset...
...
svn-id: r6733
2003-03-07 02:43:21 +00:00
Paweł Kołodziejski
aa3766018f
updated copyrights headers
...
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
093428ae9a
and more cleanup
...
svn-id: r6718
2003-03-06 17:58:13 +00:00
James Brown
8d9b84b98e
Patch 671701: SO_TALK_FREQUENCY
...
svn-id: r6547
2003-01-26 10:54:34 +00:00
James Brown
a0b77e7389
LCA03 sync: Modified version of the untrap patch, debugger
...
savegame/loadgame changes, attempts at making the ComI save/load screen
(F1) work. The savegame part of the screen does not work due to a crash,
the load part SHOULD... but something resets the saveload flags before
they are processed (help! :)
svn-id: r6545
2003-01-26 06:17:25 +00:00
Max Horn
9270a0558b
some chore/limb related code
...
svn-id: r6348
2003-01-06 16:04:01 +00:00
Max Horn
535ad0a4cf
moved Scumm::faceActorToObj to Actor::faceToObject; moved various functions in script.cpp (grouping cutscene/override related stuff)
...
svn-id: r6317
2003-01-01 18:22:41 +00:00
Max Horn
fca9ec09e7
moved CharsetRendere into its own header/source file; changed Scumm::_charset into a pointer, to make it possible to use different implementations of it
...
svn-id: r6147
2002-12-25 21:04:47 +00:00
Max Horn
cc5872924e
renamed new_1, new_2, new_3 in class Actor
...
svn-id: r6069
2002-12-23 14:16:43 +00:00
Max Horn
6f857ba257
disable actor dir intepolation for V7 games - it interfers with walk scripts; ensure the 'frame' variable is set; cleanup
...
svn-id: r5982
2002-12-15 21:54:47 +00:00
Max Horn
4ddecdad58
Patch #650085 : Make saveload system extensible
...
svn-id: r5885
2002-12-08 16:14:29 +00:00
Paweł Kołodziejski
2965bd2708
increasing actor palette to 256
...
svn-id: r5505
2002-11-10 17:17:11 +00:00
Max Horn
df2bf812c3
Actor::frame is never set, this should be researched
...
svn-id: r5269
2002-10-23 00:22:55 +00:00
Max Horn
132bf1b74e
added FIXME
...
svn-id: r5235
2002-10-22 11:33:51 +00:00