Commit Graph

127 Commits

Author SHA1 Message Date
Max Horn
6a50ba2308 Changed more of the actor class members to match our coding guidelines (in the future, when adding new member vars here, please always use our conventions, i.e. prefix them with _ and use CamelBackStyle
svn-id: r15331
2004-09-28 19:28:59 +00:00
Travis Howell
7ced14e961 talkQueue should be actor specific
svn-id: r15318
2004-09-28 00:58:00 +00:00
Travis Howell
be1ab48a57 Fix array pointer overflows in HE80+ games.
Some arrays are nuked in startScene.

svn-id: r15239
2004-09-23 05:02:15 +00:00
Travis Howell
08856609f3 Filename string go a bit higher
svn-id: r15231
2004-09-22 05:08:07 +00:00
Travis Howell
abefac8cd0 Add missing cases
svn-id: r15227
2004-09-22 00:22:32 +00:00
Gregory Montoir
6bfeab77e1 cleanup
add some warnings to detect the use of new Aux animation data

svn-id: r15226
2004-09-21 21:10:23 +00:00
Travis Howell
2c0f36cddc Should be HE60/70.
svn-id: r15211
2004-09-21 01:00:30 +00:00
Max Horn
768133d6e6 Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)
svn-id: r15175
2004-09-18 22:42:45 +00:00
Max Horn
7b70210286 renamed HE opcodes to distinguish them from their 'regular' V6/V7 counterparts
svn-id: r15173
2004-09-18 22:09:34 +00:00
Max Horn
3552024aa9 Added ScummEngine::printString() convenience method; changed enqueueText to call addMessageToStack
svn-id: r15170
2004-09-18 20:50:15 +00:00
Travis Howell
49cd965411 Correction to pickVarRandom
Add HE80+ version too.

svn-id: r15138
2004-09-16 12:30:54 +00:00
Travis Howell
efeb100c70 Call direct
svn-id: r15127
2004-09-15 12:40:49 +00:00
Travis Howell
8c5381295d Add opcode
svn-id: r15115
2004-09-14 12:05:00 +00:00
Travis Howell
3b9def962c Add some change to start later HE99 hames.
svn-id: r15017
2004-09-12 02:25:12 +00:00
Travis Howell
e372b145b8 Correct object state.
svn-id: r15002
2004-09-11 03:02:37 +00:00
Travis Howell
c797a78177 HE 72+ games use a remove object from queue function.
svn-id: r14916
2004-09-06 01:10:31 +00:00
Travis Howell
61c1a11c60 Doesn't use smush
svn-id: r14915
2004-09-06 01:00:18 +00:00
Eugene Sandulenko
d21525d7fe Implement roomOp 234
svn-id: r14913
2004-09-05 22:57:09 +00:00
Travis Howell
6b09826b33 Increase actor.sound to 32 for HE 80+ games.
Add some more HE vars.
More adjustments for copying script strings in HE games.

svn-id: r14903
2004-09-05 09:36:51 +00:00
Max Horn
91a57ad8f5 cleanup (this actor clip stuff is really evil -- I have to agree with Kirben, it's totally unclear why they didn't just use the good old virt screen system...
svn-id: r14890
2004-09-04 10:29:06 +00:00
Travis Howell
255736dfb7 Complete actor clipping override code for HE games.
Add akos speech queue for HE games
Minor cleanup

svn-id: r14883
2004-09-04 08:13:48 +00:00
Travis Howell
b086ee7f67 Missing pop
svn-id: r14881
2004-09-04 00:31:38 +00:00
Travis Howell
438daed1f1 Add basic decoding of debug script scripts.
svn-id: r14871
2004-09-03 06:57:38 +00:00
Travis Howell
2a23b8fbc9 Add misisng case (Used in funpack)
svn-id: r14856
2004-09-01 10:15:10 +00:00
Travis Howell
ad56456e7b Add some more actor code for HE 7+ games.
svn-id: r14836
2004-08-30 07:52:54 +00:00
Travis Howell
9558cf379a Should read string too.
svn-id: r14834
2004-08-30 03:32:10 +00:00
Travis Howell
cbf5a60bab Add a few akos codes
Give unknown akos codes better names
Rename actor variable
Remove hack (Use multi-version flag instead)
Another sound correction for HE games.

svn-id: r14827
2004-08-29 11:27:16 +00:00
Travis Howell
b0be0f0452 Revert last change, was wrong opcode.
Add a few more HE 7 opcodes

svn-id: r14813
2004-08-28 14:05:33 +00:00
Travis Howell
d1a5cd802e Should redraw too.
svn-id: r14806
2004-08-28 07:20:04 +00:00
Travis Howell
0dd52d351b Add missing case
svn-id: r14805
2004-08-28 07:14:14 +00:00
Travis Howell
4c732d15c6 Limit nukeArrays to only location thats requires it for now.
svn-id: r14803
2004-08-28 04:14:33 +00:00
Travis Howell
4aeb595967 Applies to all HE 7.0+ games
svn-id: r14796
2004-08-27 12:56:01 +00:00
Travis Howell
4075398e6c Original games always used screen height instead of pop() value.
svn-id: r14783
2004-08-26 15:39:24 +00:00
Travis Howell
ce56e0d517 Added stub
svn-id: r14769
2004-08-26 12:06:08 +00:00
Travis Howell
b1d8b144ba More code/stubs for HE 7.2 games
Add another temp hack
Add id for water, uses more actors
Another small correction to music playback for HE 7.2 games

svn-id: r14764
2004-08-26 08:47:07 +00:00
Travis Howell
8e2e48e40c Add some stubs for HE 7.2
Fix warning
Add music support for later HE 7.2 games

svn-id: r14761
2004-08-26 06:08:41 +00:00
Travis Howell
34b7c1a31f Add case for HE 7.2 games
svn-id: r14750
2004-08-25 11:20:33 +00:00
Travis Howell
f16065d86d Remove some old/duplicate code.
Add a few more functions/stubs for HE 7.2
Moved HE 7.2 o_resourceRoutine() specifics.

svn-id: r14727
2004-08-24 11:17:28 +00:00
Travis Howell
bb5cae10b4 More HE 7.2 changes
svn-id: r14707
2004-08-23 09:18:55 +00:00
Travis Howell
bfe88771cb A few changes for freddemo
svn-id: r14693
2004-08-23 00:17:07 +00:00
Travis Howell
60cc2470b3 Change to invalid, should never be called
svn-id: r14680
2004-08-22 09:47:12 +00:00
Travis Howell
319f2c8333 No longer required
svn-id: r14677
2004-08-22 09:17:24 +00:00
Max Horn
152a5e97fe Modified VirtScreen to inherit from Graphics::Surface, and added getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen
svn-id: r14612
2004-08-14 19:42:00 +00:00
Max Horn
239aa2b062 Renamed o6_unknownE1 to o6_getPixel; use vs->xstart instead of _screenLeft
svn-id: r14607
2004-08-14 15:14:01 +00:00
Travis Howell
b154e524a9 Correction from disasm.
svn-id: r14468
2004-08-05 11:03:22 +00:00
Travis Howell
d60973b05e HE games use different method to clear some arrays resources.
svn-id: r14423
2004-08-01 13:57:00 +00:00
Max Horn
2d5bfca892 Even more array code cleanup
svn-id: r14407
2004-08-01 02:07:57 +00:00
Max Horn
5e3236ac47 Add symbolic names for the array types, which makes the code easier to read/understand (note that array types != res types)
svn-id: r14404
2004-08-01 01:54:37 +00:00
Travis Howell
4105fdd4f6 Merge palette functions.
svn-id: r14324
2004-07-25 11:29:38 +00:00
Travis Howell
95520634d3 Case only used in HE 6.0 games after all.
svn-id: r14216
2004-07-15 05:53:36 +00:00