DREAMWEB: Add some sprite-related comments and names
This commit is contained in:
parent
13b2e89378
commit
f4be01b1c1
4 changed files with 85 additions and 79 deletions
|
@ -153,14 +153,14 @@ void DreamGenContext::showallobs() {
|
|||
SetObject *setEntry = setEntries + i;
|
||||
if (getmapad(setEntry->mapad) == 0)
|
||||
continue;
|
||||
uint8 currentFrame = setEntry->b18[0];
|
||||
uint8 currentFrame = setEntry->frames[0];
|
||||
data.word(kCurrentframe) = currentFrame;
|
||||
if (currentFrame == 0xff)
|
||||
continue;
|
||||
calcfrframe();
|
||||
uint16 x, y;
|
||||
finalframe(&x, &y);
|
||||
setEntry->index = setEntry->b18[0];
|
||||
setEntry->index = setEntry->frames[0];
|
||||
if ((setEntry->type == 0) && (setEntry->priority != 5) && (setEntry->priority != 6)) {
|
||||
x += data.word(kMapadx);
|
||||
y += data.word(kMapady);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue