101 Commits

Author SHA1 Message Date
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
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
0bd4c7b8bc Missed HE100
svn-id: r17176
2005-03-17 11:11:00 +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
10c0994393 Scripts flags difference in HE100 needed in a few more opcodes.
svn-id: r17111
2005-03-13 03:23:35 +00:00
Travis Howell
05385e4fec Missing pop
svn-id: r17087
2005-03-12 04:16:57 +00:00
Travis Howell
eebf5a7812 Correct quit/restart
svn-id: r17071
2005-03-11 03:29:31 +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
ab82349dd9 Add HE100 opcode difference for spyfox
Update HE issues

svn-id: r17058
2005-03-10 10:11:42 +00:00
Travis Howell
5759e1577c Add opcode for bb2demo
svn-id: r17035
2005-03-08 05:56:21 +00:00
Travis Howell
b9393bc819 Script flags are different in HE100
svn-id: r17034
2005-03-08 04:17:45 +00:00
Travis Howell
d2dab23510 Add HE100 difference in opcode.
svn-id: r17033
2005-03-08 03:52:02 +00:00
Travis Howell
8cc18e6797 Minor cleanup
svn-id: r17025
2005-03-07 06:37:56 +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
1e07216b85 Cases are different.
svn-id: r17023
2005-03-07 04:21:11 +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
78e3fc9415 Add missing actor redraws
svn-id: r16980
2005-03-03 03:06:30 +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
3b2fe18d2c Rename sprite functions
svn-id: r16954
2005-02-28 04:17:17 +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
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
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
Travis Howell
99f54b437d Minor cleanup
svn-id: r16860
2005-02-22 13:54:38 +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