mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
increasing actor palette to 256
svn-id: r5505
This commit is contained in:
parent
a413779432
commit
2965bd2708
@ -1144,8 +1144,14 @@ void Actor::setActorCostume(int c)
|
||||
cost.reset();
|
||||
}
|
||||
|
||||
for (i = 0; i < 32; i++)
|
||||
palette[i] = 0xFF;
|
||||
if (_features & GF_AFTER_V7) {
|
||||
for (i = 0; i < 256; i++)
|
||||
palette[i] = 0xFF;
|
||||
} else {
|
||||
for (i = 0; i < 32; i++)
|
||||
palette[i] = 0xFF;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void Actor::startWalkActor(int destX, int destY, int dir)
|
||||
|
@ -111,7 +111,7 @@ public:
|
||||
int16 animVariable[16];
|
||||
uint16 sound[8];
|
||||
CostumeData cost;
|
||||
byte palette[64];
|
||||
byte palette[256];
|
||||
|
||||
protected:
|
||||
Scumm *_vm;
|
||||
|
@ -82,7 +82,7 @@ public:
|
||||
int _imgbufoffs;
|
||||
byte _repcolor;
|
||||
byte _replen;
|
||||
byte _palette[32];
|
||||
byte _palette[256];
|
||||
|
||||
void proc6();
|
||||
void proc5();
|
||||
|
@ -265,6 +265,7 @@ void Scumm::saveOrLoad(Serializer *s)
|
||||
MKLINE(Actor, speedy, sleUint16),
|
||||
MKLINE(Actor, cost.animCounter1, sleUint16),
|
||||
MKLINE(Actor, cost.animCounter2, sleByte),
|
||||
// TODO: increase actor palette to 256
|
||||
MKARRAY(Actor, palette[0], sleByte, 64),
|
||||
MKLINE(Actor, mask, sleByte), // FIXME: see actor.h comment
|
||||
MKLINE(Actor, shadow_mode, sleByte),
|
||||
|
Loading…
Reference in New Issue
Block a user