Commit Graph

67 Commits

Author SHA1 Message Date
Max Horn
8779d00789 workaround for bug #558236; renamed actorAnimate to animateCostume (to distinguish it a bit from animateActor); removed Scumm::animateActor
svn-id: r4695
2002-08-04 02:53:50 +00:00
James Brown
30cd1e43d2 Patch by yot to fix Zak256 markings.
svn-id: r4682
2002-07-30 15:20:30 +00:00
Max Horn
0843a2510c biiig checkin: removed more stuff from scumm.h; added new headers resource.h and object.h
svn-id: r4579
2002-07-16 21:03:14 +00:00
Max Horn
32e81beb45 got rid of _xPos, _yPos, _dir members in class Scumm
svn-id: r4578
2002-07-16 18:51:27 +00:00
Max Horn
ad4809459d indent run
svn-id: r4480
2002-07-07 20:25:23 +00:00
Max Horn
2d73a779cb applied indent to a couple of source files; added .indent.pro file with default indent settings as per readme.txt
svn-id: r4469
2002-07-07 13:14:34 +00:00
Max Horn
d35eed21f1 more Actor class cleanup; renamed unkRoomFunc4 to palManipulate and added an icky, wrong implementation for it - yes this is complete nonsense but I'll try to replace it with the right thing RSN :-)
svn-id: r4404
2002-06-04 23:32:53 +00:00
Max Horn
0620c9d66a removed some debug output I left in accidentally in my last checkin; removed some uses of g_scumm (see Endy, I promised I'd do it <g>); removed getSideOfLine(); some clean up
svn-id: r4378
2002-05-23 21:22:08 +00:00
Vincent Hamm
1db4ae7c2f Temp removal of the actor walk script execution to fix dig's walking
svn-id: r4364
2002-05-20 16:02:29 +00:00
Max Horn
b529d80ed7 added #include "actor.h", some minor tweaks
svn-id: r4332
2002-05-14 23:32:34 +00:00
Max Horn
fe4230bcbf refactored parts of actor.cpp: many methods are now members of class Actor instead of class Scumm. This is still work in progress!
svn-id: r4319
2002-05-14 19:11:20 +00:00
Max Horn
8dbcdc661f renamed fixActorDirection to setActorDirection; fixed a bug causing wrong actor directions
svn-id: r4260
2002-05-10 13:45:32 +00:00
James Brown
d08adbb421 Workaround for last known Zak crash. Don't tell Serge I added this. :)
svn-id: r4221
2002-05-06 17:46:32 +00:00
James Brown
1f9c0dc666 Add text speed option (-y for Yak :)
svn-id: r4216
2002-05-05 20:08:41 +00:00
Max Horn
ff376ea8a5 fixed some warnings
svn-id: r4204
2002-05-05 18:10:29 +00:00
James Brown
965b96b489 Add enhanced debugging patch.
svn-id: r4090
2002-04-26 14:13:39 +00:00
James Brown
280136f13a Fix Indy4/MI2 crash due to VirtScroll code.
Cleanup \N's - For gods sake fix your CVS client :)

svn-id: r4067
2002-04-24 04:26:09 +00:00
Vincent Hamm
ed65e89a89 Refixed getActorY in indy3. Fixed class (dunno if the fix doesn't break something else. Fixed intro by slowing down music rate by 3.
svn-id: r4018
2002-04-19 21:06:50 +00:00
Vincent Hamm
ed6b863e7c Fixed a roomOps that was creating a lots of bugs in indy and Zak
svn-id: r4016
2002-04-19 18:05:26 +00:00
James Brown
d7b8074eca Turn Indy4 mousefighting on by default. Can we do this in a better place?
svn-id: r3953
2002-04-16 05:36:41 +00:00
James Brown
7696081c54 Large pointless reindentation of all the code. Also fixed a few mistakes
in the object flags code cleanup.

Flags used:

indent *.cpp -br -bap -nbc -lp -ce -cdw -brs -nbad -nbc -npsl -nip
-ts2 -ncs -nbs -npcs -nbap -Tbyte -Tuint32 -Tuint8 -Tuint16 -TArrayHeader
-TMemBlkHeader -TVerbSlot -TObjectData -Tvoid -TImageHeader -TRoomHeader
-TCodeHeader -TResHdr -TBompHeader -TMidiChannelAdl -TGui -TScumm
-TSoundEngine -TPart -TPlayer

svn-id: r3908
2002-04-11 17:19:16 +00:00
Ludvig Strigeus
34747b792a various code cleanups
svn-id: r3907
2002-04-11 15:22:02 +00:00
James Brown
d2d498d08c Fix Indy4 bootparam, some more Zak256 work, and a few minor things.
svn-id: r3887
2002-04-07 04:29:15 +00:00
James Brown
141bac6fcb Final loom fixes. LoomCD is now completable, apart from sound glitches and lack of masking.
svn-id: r3880
2002-04-06 03:43:54 +00:00
James Brown
fb0cb66588 Hopefully fix these cutscene bugs for good.
svn-id: r3879
2002-04-06 01:14:42 +00:00
James Brown
933df055c9 One FIXME for cutscene code... there's still something subtracting 1 from a null cutscene..
svn-id: r3878
2002-04-05 17:18:57 +00:00
James Brown
d31eba858b Cutscene fix take 2
svn-id: r3877
2002-04-05 16:51:29 +00:00
James Brown
2e0443e741 Fix Indy3/Loom override bugs. THIS MAY BREAK OTHER GAMES. Please test.
svn-id: r3876
2002-04-05 16:41:02 +00:00
Vincent Hamm
fbf9c5b318 Preliminary redesigned of the virtual screen system. Now all the screen buffers are in a single 320*200 buffer, making video subprocess far more easy to do. On glitch remain in inventory's black area
svn-id: r3793
2002-03-20 22:58:41 +00:00
James Brown
718392239c I know it probably doesn't look like much, but this is a start to the reorg - basically I've shuffled the Scumm struct around, and turned it into a Class - labeling and grouping functions that are related.
svn-id: r3792
2002-03-20 17:51:07 +00:00
James Brown
ac19e7001a Do some stuff to fix loom cd-music syncro. Sequences now run without 'speeding' by.. but they are still slightly out of sync.
svn-id: r3781
2002-03-18 11:50:09 +00:00
James Brown
1d97edb2f9 Update to my latest local tree. Various stuff - and a fixme hack by khalek to stop loom intro crashing.
svn-id: r3765
2002-03-16 18:03:28 +00:00
James Brown
6e7885de67 Remove erronously commited debug info.
svn-id: r3732
2002-03-11 14:25:42 +00:00
James Brown
25846cf8e4 Quick Zak crash workarounds.
svn-id: r3731
2002-03-11 14:24:48 +00:00
James Brown
87ac8ae487 Apply some patches by syke to prevent buffer overruns, etc.
svn-id: r3723
2002-03-10 17:33:04 +00:00
James Brown
72518be8f1 Fixed NUM_aCTORS for MI2/Indy4, etc.
Probably broke some saved games again.

svn-id: r3700
2002-03-09 00:56:22 +00:00
James Brown
07bfd66c12 Fixed a bug in the 'watch' debug command..
svn-id: r3686
2002-03-08 13:31:29 +00:00
James Brown
c161197117 Yet more cleanups. Remove 'index' (reserved keyword), and remove 'res' shadowing.
svn-id: r3685
2002-03-08 08:42:11 +00:00
James Brown
f0ad130ffa Sam and Max is now completable. There are two graphical glitches, and the game will freeze if you either look at the dragon heart, or set off the alarm in Bumpusville. These two bugs are still being worked on.
svn-id: r3667
2002-03-06 15:55:31 +00:00
James Brown
178540c989 Applied cleanup and scaling patch by Rob.
svn-id: r3665
2002-03-06 12:24:56 +00:00
James Brown
17270d2ccd Fixed some more Sam and Max bugs. Is now playable to BumpusVille.
Added two new debug commands, one to read and set variables, the other
to set a 'watch' on variables.

svn-id: r3662
2002-03-06 10:03:00 +00:00
Vincent Hamm
c7d58aca84 Final part of V7 merging process. The FULL_THROTTLE define is not required any more
svn-id: r3660
2002-03-06 00:18:22 +00:00
Vincent Hamm
c21e9da1b6 Next episode in V7 reimplementation. Nearly working
svn-id: r3658
2002-03-05 23:41:41 +00:00
James Brown
d700f88c90 A few more hacks to make Sam run faster - fixes the Gator Golf crash.
svn-id: r3646
2002-03-05 15:29:54 +00:00
James Brown
9dec4275b6 Warning'ed some miscops, and added a hack to just ignore non-existant actors.
Sam and Max is now playable to a quite advanced stage.

svn-id: r3645
2002-03-05 09:58:12 +00:00
James Brown
abbc4bf289 Code cleanup - get rid of a bunch of typecast and unused variable warnings.
svn-id: r3627
2002-02-24 17:25:03 +00:00
James Brown
771b8e6089 Just some debugging stuff I find handy.
svn-id: r3589
2002-02-15 06:42:41 +00:00
James Brown
f620d138f6 First part of Yazoo and mines work on making older scumm games work.
Not enough here to actually work yet, just the base groundwork needed.

svn-id: r3567
2002-02-12 18:20:37 +00:00
Marcus Comstedt
9243299447 Added newline at end of file to fix gcc warnings.
svn-id: r3552
2002-02-02 19:07:32 +00:00
Ludvig Strigeus
24bb87b24e copy protection in monkey 2 bypassed by default
svn-id: r3539
2001-12-29 12:46:15 +00:00