Commit graph

205 commits

Author SHA1 Message Date
Travis Howell
d80f9ccd40 Add support for clipping of wizImages.
Add support for altering wizImages.
Various renames.

svn-id: r17322
2005-04-01 08:51:13 +00:00
Travis Howell
cdd21c361b Remove resource type argument in wizImage functions, it is always rtImage.
Rename sprite flags/functions
Remove unused sprite flags
Switch sprite flags back to hex. for easier comparison

svn-id: r17319
2005-04-01 06:30:46 +00:00
Travis Howell
204809625f Rename paletteNum field for sprite in wizImages.
svn-id: r17312
2005-03-31 22:51:54 +00:00
Travis Howell
fc59dcae3e Return correct object x/y position
svn-id: r17308
2005-03-31 12:58:11 +00:00
Travis Howell
a78e0d0b82 Add some missing code.
svn-id: r17307
2005-03-31 09:56:14 +00:00
Travis Howell
5a890eedd3 Add code for more o90_getPolygonOverlap() cases.
svn-id: r17304
2005-03-31 02:28:14 +00:00
Travis Howell
6bb533f936 Cleanup
svn-id: r17292
2005-03-30 11:49:53 +00:00
Travis Howell
ba98e11eb1 Rename sprite functions
svn-id: r17285
2005-03-29 14:11:08 +00:00
Travis Howell
b7f5e4cff6 Remove unused array.
svn-id: r17284
2005-03-29 13:49:17 +00:00
Travis Howell
22affb0382 Check class of object number, not loop.
Cleanup.

svn-id: r17272
2005-03-28 11:38:04 +00:00
Travis Howell
11e1e246cc findObject in HE72+ only checks object bounds
findObject in He70/71 only needs additional polygon check

svn-id: r17270
2005-03-28 10:02:22 +00:00
Travis Howell
2938c66276 Rename WizParameters field.
Correct start strip in drawBMAPBg()

svn-id: r17236
2005-03-26 06:00:58 +00:00
Travis Howell
0030fab85a cleanup
svn-id: r17215
2005-03-24 03:59:00 +00:00
Travis Howell
773ef15f4a Remove unused variable.
svn-id: r17203
2005-03-23 04:38:39 +00:00
Travis Howell
8e84ee694c Add HE90 version of kernelGet/Set opcode and move HE90 specific cases over.
svn-id: r17200
2005-03-23 00:16:51 +00:00
Travis Howell
f50af11b5d Add HE72 version of file rename opcode
svn-id: r17175
2005-03-17 11:06:43 +00:00
Travis Howell
4361ef655e HE72+ games use slightly different code for subtitle color.
svn-id: r17174
2005-03-17 10:53:29 +00:00
Travis Howell
31c89144dc Rename sprite functions
svn-id: r17172
2005-03-17 09:42:31 +00:00
Travis Howell
2c4b7dfd32 Another correction to sprite flags
svn-id: r17171
2005-03-17 09:28:36 +00:00
Travis Howell
8776504882 Rename sprite fields/functions
svn-id: r17136
2005-03-14 12:54:24 +00:00
Travis Howell
013f8b1803 Rename sprite flags/functions
svn-id: r17119
2005-03-13 13:25:28 +00:00
Travis Howell
4526328f7c Rename sprite flags/functions
svn-id: r17116
2005-03-13 13:10:39 +00:00
Travis Howell
4560295352 Correct sprite flags mistake.
svn-id: r17115
2005-03-13 12:59:25 +00:00
Travis Howell
44205266e8 Add missing case for getObjectData
svn-id: r17109
2005-03-12 23:59:14 +00:00
Eugene Sandulenko
154c4af8dc Mass-renamed all variables of Actor object according to our current code
formatting standards. Earlier we had half of vars named with leading
underscore and half without it.

Now code in actor.cpp is considerably more readable.

svn-id: r17068
2005-03-11 01:10:06 +00:00
Travis Howell
a913095ee0 Add HE specific versions of findResource/findResourceData.
Required by WizImage functions, which sometimes alter data.

svn-id: r17060
2005-03-10 11:06:37 +00:00
Travis Howell
5759e1577c Add opcode for bb2demo
svn-id: r17035
2005-03-08 05:56:21 +00:00
Travis Howell
d2dab23510 Add HE100 difference in opcode.
svn-id: r17033
2005-03-08 03:52:02 +00:00
Travis Howell
214742783e Add opcode for Spy Fox 2 mini game.
svn-id: r17026
2005-03-07 10:21:23 +00:00
Travis Howell
26da9cc393 Fix dup_n, billboard in circdemo works now.
svn-id: r17024
2005-03-07 06:06:22 +00:00
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