Commit Graph

225 Commits

Author SHA1 Message Date
Travis Howell
af17a87053 Add missing check
svn-id: r16989
2005-03-04 05:34:56 +00:00
Travis Howell
64be448cc5 Add more details to WizImageOps
svn-id: r16988
2005-03-04 05:31:22 +00:00
Travis Howell
e85baf02d1 Correct palSlot range
svn-id: r16979
2005-03-03 02:51:15 +00:00
Travis Howell
120b385196 Sync paletteOps in HE90
svn-id: r16978
2005-03-02 23:57:20 +00:00
Eugene Sandulenko
ee03994a78 Commit o100_paletteOps WIP based on cyx's patch. Original patch just
tends to be unappliable anymore, so that's why I decided to commit it when
it required not so much work of manual patching.

I've checked validness of it against IDB but we still have main question open:
How to plug it in properly into our palette code?

svn-id: r16973
2005-03-02 20:02:59 +00:00
Travis Howell
36705d4344 Add support for script cycles used by HE90+ games.
svn-id: r16958
2005-02-28 13:23:10 +00:00
Travis Howell
3b2fe18d2c Rename sprite functions
svn-id: r16954
2005-02-28 04:17:17 +00:00
Gregory Montoir
5eec97c24c added processWizImage mode 8 ; this breaks footdemo, feel free to disable
svn-id: r16945
2005-02-27 02:55:13 +00:00
Travis Howell
4cb4f662c8 Rename vars
svn-id: r16944
2005-02-27 02:29:54 +00:00
Travis Howell
8560e08940 Ooops
svn-id: r16943
2005-02-27 01:23:50 +00:00
Travis Howell
68581fe2e0 Add floodState struct and rename opcode.
svn-id: r16942
2005-02-27 01:20:44 +00:00
Eugene Sandulenko
3abfcbc579 Lots of other sprite-related renames as suggested by cyx.
svn-id: r16930
2005-02-26 11:22:00 +00:00
Eugene Sandulenko
885d584842 Rename HE sprite flag kSF31 -> kSFImageless and corresponding functions.
svn-id: r16929
2005-02-26 11:05:13 +00:00
Travis Howell
6d7935cc6b Revert that last change, mixed functions.
svn-id: r16923
2005-02-26 04:20:47 +00:00
Travis Howell
2689832d75 Rename sprite function
Correct spritesResetSpriteGroup

svn-id: r16922
2005-02-26 03:57:11 +00:00
Paweł Kołodziejski
a73906443b fixed compilation for emsvc4
svn-id: r16917
2005-02-25 20:15:01 +00:00
Travis Howell
2e60c4fbd3 Add WIP findSpriteWithClassOf() function
svn-id: r16914
2005-02-25 15:19:03 +00:00
Eugene Sandulenko
451527e2af Rename sprite flags as suggested:
kSF22 -> kSFYFlipped
kSF23 -> kSFXFlipped

svn-id: r16903
2005-02-24 23:11:50 +00:00
Eugene Sandulenko
84453d5725 o Fixed sprite flags everywhere. In many cases they were wrong as they were
checked in higher byte not whole word.
o Some flags/functions renames

svn-id: r16902
2005-02-24 21:05:29 +00:00
Gregory Montoir
cc5e406cb5 defined some flags for HE wiz ; it should make the code more readable
svn-id: r16901
2005-02-24 20:20:35 +00:00
Travis Howell
2591151638 Add stub case
svn-id: r16899
2005-02-24 11:49:07 +00:00
Travis Howell
dcb22ee216 Correct SpriteInfo_setFlags*
Rename functions

svn-id: r16890
2005-02-24 06:47:12 +00:00
Eugene Sandulenko
5ae4dde2fb Fix spriteInfoGet_classFlags*.
svn-id: r16882
2005-02-23 12:26:17 +00:00
Travis Howell
f215c1ceae Update HE100
svn-id: r16880
2005-02-23 11:15:41 +00:00
Travis Howell
26722043d9 Ooops, order wrong.
svn-id: r16878
2005-02-23 10:00:12 +00:00
Travis Howell
2c10795b48 Correct subOp, used in freddicove
svn-id: r16877
2005-02-23 09:55:34 +00:00
Travis Howell
861e418e70 freddicove adds extra SpriteInfo field.
Correction, only redraw sprite if value changed.

svn-id: r16876
2005-02-23 09:23:54 +00:00
Travis Howell
f278d588f3 Cleanup
svn-id: r16873
2005-02-23 04:35:20 +00:00
Travis Howell
22b8b3e8eb More sprite functions
svn-id: r16872
2005-02-23 04:05:22 +00:00
Eugene Sandulenko
b53b1963a9 spriteInfoSet_case183 -> spriteInfoSet_resetSprite and its implementation.
svn-id: r16869
2005-02-23 02:35:59 +00:00
Travis Howell
d674eddefa Add setSpriteGroupInfo stubs
svn-id: r16868
2005-02-23 01:08:29 +00:00
Eugene Sandulenko
ee8f4ca1cf Rename classFlags functions and fix one of them.
svn-id: r16867
2005-02-22 22:52:35 +00:00
Gregory Montoir
26b11cb444 o90_setSpriteInfo so 91
svn-id: r16866
2005-02-22 22:23:10 +00:00
Travis Howell
1dfc4c9881 Ooops
svn-id: r16857
2005-02-22 01:51:47 +00:00
Travis Howell
f2dda718d3 More debugs, to catch error points.
svn-id: r16856
2005-02-22 01:37:57 +00:00
Travis Howell
4ff034d27c Add a few sprite stubs
svn-id: r16854
2005-02-22 01:25:53 +00:00
Travis Howell
01a7042be6 Update HE100
svn-id: r16845
2005-02-21 04:53:34 +00:00
Travis Howell
6b41feac65 Rename vars
svn-id: r16844
2005-02-21 02:37:05 +00:00
Eugene Sandulenko
6942100a94 WIP for o90_spriteInfoSet
svn-id: r16842
2005-02-21 02:02:32 +00:00
Travis Howell
b1e67c4ce8 Add functions for o90_getSpriteGroupInfo
svn-id: r16841
2005-02-21 01:08:48 +00:00
Eugene Sandulenko
97688df92d WIP for o90_spriteInfoSet. Regression fix.
svn-id: r16840
2005-02-21 00:59:50 +00:00
Travis Howell
7a6b7c2a1c Ooops
svn-id: r16839
2005-02-21 00:38:13 +00:00
Travis Howell
291fe61a1e Ooops
svn-id: r16838
2005-02-21 00:36:25 +00:00
Travis Howell
7783d6596e A few var renames.
svn-id: r16837
2005-02-21 00:34:00 +00:00
Travis Howell
4f2cd36bd9 More getSpriteInfo functions
svn-id: r16836
2005-02-21 00:25:30 +00:00
Eugene Sandulenko
70982f556e o WIP for o90_spriteInfoSet.
o kSFx -> kSF0x
o kSGFx -> kSGF0x

svn-id: r16835
2005-02-21 00:02:44 +00:00
Travis Howell
e62d949fb6 Add sprite function
svn-id: r16834
2005-02-20 23:55:11 +00:00
Travis Howell
8ae3fe1ffe Add more sprite functions
svn-id: r16833
2005-02-20 23:30:37 +00:00
Travis Howell
6abdb96981 Use sprite functions
svn-id: r16824
2005-02-20 13:26:30 +00:00
Travis Howell
6d4eec5ecd Rename opcodes, names should be correct.
svn-id: r16822
2005-02-20 11:14:50 +00:00
Travis Howell
0439ab507f Add opcode
svn-id: r16785
2005-02-14 07:15:16 +00:00
Travis Howell
cc708339ea Merge two opcode, move two opcodes back to HE70.
svn-id: r16731
2005-02-02 12:05:00 +00:00
Travis Howell
5178ba2104 Add HE100 version of Pajama Sam 1/ Pajama Sam's Lost & Found.
svn-id: r16717
2005-02-01 04:58:14 +00:00
Travis Howell
0c827c0fcf Add comment
svn-id: r16712
2005-01-31 00:27:31 +00:00
Travis Howell
bebad400d6 Check sound queue for music in HE games.
Avoid extra sound channel.

svn-id: r16706
2005-01-30 11:03:49 +00:00
Travis Howell
a05b4a5e2d Add missing cases/corrections
svn-id: r16704
2005-01-30 07:00:50 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Travis Howell
ad0b8f1de5 Unused includes
svn-id: r16236
2004-12-21 06:09:40 +00:00
Travis Howell
9e4f76b180 Off by one
svn-id: r16127
2004-12-19 09:27:08 +00:00
Gregory Montoir
67b8abac08 correction
svn-id: r15928
2004-11-28 05:33:33 +00:00
Gregory Montoir
5e351b0c31 moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
2004-11-27 17:50:23 +00:00
Travis Howell
6cd046a906 Revert opcode EF merge, HE72 uses different array structure.
svn-id: r15905
2004-11-27 02:47:46 +00:00
Gregory Montoir
0d27b23efd renamed some HE opcodes and got rid of o72_unknownEF as it seems it was a duplicate of o70_unknownEF
svn-id: r15896
2004-11-26 20:17:02 +00:00
Gregory Montoir
37e900a2a3 renamed some HE opcodes
svn-id: r15869
2004-11-23 19:47:54 +00:00
Gregory Montoir
9bbb5fa0db HE wiz update, o90_unknown29 fully implemented.
Next step : move all the wiz related stuff to a specific class/struct.

svn-id: r15860
2004-11-22 20:34:29 +00:00
Gregory Montoir
cf7f878ddc HE wiz stuff update
svn-id: r15857
2004-11-21 21:31:28 +00:00
Gregory Montoir
be0fb14fac o90_unknown24 implementation
svn-id: r15856
2004-11-21 20:55:56 +00:00
Gregory Montoir
628b02a9e8 minor Wiz stuff update
svn-id: r15798
2004-11-13 04:05:35 +00:00
Travis Howell
d591de9ab3 Fun shops start.
svn-id: r15680
2004-10-24 13:43:36 +00:00
Chris Apers
1ac29aae1e Help PalmOS (and more ?) to save memory
svn-id: r15611
2004-10-19 12:30:42 +00:00
Travis Howell
4aa211a8e0 Polygons used by HE71 too.
svn-id: r15585
2004-10-17 11:47:12 +00:00
Travis Howell
2319d27178 Typo
svn-id: r15584
2004-10-17 09:29:52 +00:00
Travis Howell
18cf513a12 Complete stub
svn-id: r15583
2004-10-17 09:17:32 +00:00
Travis Howell
dc446bac87 Missed some code
svn-id: r15582
2004-10-17 08:02:42 +00:00
Travis Howell
cb12a2a0a1 Rename opcode
svn-id: r15581
2004-10-17 06:32:58 +00:00
Gregory Montoir
0765435c44 cleanup: moved some things to gfx.cpp and changed o60_setState to match disassembly of version 72
svn-id: r15578
2004-10-17 05:04:49 +00:00
Gregory Montoir
3905129a97 preliminar o72_captureWizImage() implementation ; still have to handle flag 0x2 in drawWizImage to display correctly the painting in 1grademo
svn-id: r15577
2004-10-17 04:35:36 +00:00
Paweł Kołodziejski
c9a552bebc fixed warnings
svn-id: r15574
2004-10-16 20:38:37 +00:00
Travis Howell
d42f98d0c4 Add missing case for HE 90+
Always clear complete local script vars.

svn-id: r15564
2004-10-16 05:10:15 +00:00
Travis Howell
086724d774 Remove more duplicates.
svn-id: r15544
2004-10-13 10:55:50 +00:00
Travis Howell
f78ded554c Rename opcode
svn-id: r15543
2004-10-13 09:39:59 +00:00
Travis Howell
544266d971 Ooops, bad comparison.
svn-id: r15505
2004-10-10 11:09:23 +00:00
Travis Howell
0695159139 Correct a VAR value.
svn-id: r15504
2004-10-10 06:48:00 +00:00
Travis Howell
c8dc1483ac Changes for mustard
svn-id: r15503
2004-10-10 06:32:02 +00:00
Travis Howell
c35a093f96 Rename opcodes
svn-id: r15502
2004-10-10 05:49:30 +00:00
Travis Howell
873fecd67d Complete stub cases.
svn-id: r15493
2004-10-10 00:24:15 +00:00
Travis Howell
daff6d4074 Fill in a few more case stubs.
svn-id: r15492
2004-10-09 23:45:04 +00:00
Gregory Montoir
dd0d454da9 ScummEngine_v90he::processWizImage() cases 3 & 4
svn-id: r15490
2004-10-09 16:41:35 +00:00
Gregory Montoir
550b64dab6 o90_getPolygonOverlap update
svn-id: r15489
2004-10-09 16:10:53 +00:00
Travis Howell
c68b6323e5 No longer startMusic
svn-id: r15483
2004-10-09 05:15:12 +00:00
Gregory Montoir
2611630f81 wizImageOps update
svn-id: r15478
2004-10-08 22:58:49 +00:00
Gregory Montoir
eb97857c95 more math opcodes
svn-id: r15474
2004-10-08 17:56:08 +00:00
Travis Howell
59be342467 Match opcode names with SCUMM8.
svn-id: r15466
2004-10-08 07:13:13 +00:00
Chris Apers
2ca4529bba Use common PI value instead
svn-id: r15435
2004-10-06 10:14:31 +00:00
Travis Howell
56ae86ef4f HE71+ games use wizImages for charset too.
svn-id: r15417
2004-10-05 05:52:48 +00:00
Travis Howell
db63483001 Add missing roomOps case for HE games.
svn-id: r15404
2004-10-04 04:04:37 +00:00
Travis Howell
4364606894 Add some HE99 vars
Rename opcodes

svn-id: r15403
2004-10-04 02:23:02 +00:00
Travis Howell
f9e21fe4e2 Rename opcode
svn-id: r15402
2004-10-04 01:34:29 +00:00
Travis Howell
a7570bf99d Add extra HE99+ cases for wizImageOps
svn-id: r15401
2004-10-04 01:19:05 +00:00
Travis Howell
d48661766a Add opcode difference
svn-id: r15400
2004-10-04 00:01:06 +00:00