28 Commits

Author SHA1 Message Date
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
Max Horn
fcfc72296c based on my findings for guifont, I changed string.cpp to read the char width table for OLD256 games! yippi! some more code cleanup, and marked two struct values as 'to be removed when savegame format changes'
svn-id: r4978
2002-09-19 23:49:38 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00