Rename sprite flags/functions
svn-id: r17119
This commit is contained in:
parent
c5c6bf838d
commit
013f8b1803
4 changed files with 8 additions and 8 deletions
|
@ -962,8 +962,8 @@ protected:
|
|||
void spriteInfoSet_zoom(int spriteId, int value);
|
||||
void spriteInfoSet_rotAngle(int spriteId, int value);
|
||||
void spriteInfoSet_flag13(int spriteId, int value);
|
||||
void spriteInfoSet_flag14(int spriteId, int value);
|
||||
void spriteInfoSet_flag15(int spriteId, int value);
|
||||
void spriteInfoGet_flagYFlipped(int spriteId, int value);
|
||||
void spriteInfoGet_flagXFlipped(int spriteId, int value);
|
||||
void spriteInfoSet_flagActive(int spriteId, int value);
|
||||
void spriteInfoSet_flag20(int spriteId, int value);
|
||||
void spriteInfoSet_flagYFlipped(int spriteId, int value);
|
||||
|
|
|
@ -1926,10 +1926,10 @@ void ScummEngine_v100he::o100_setSpriteInfo() {
|
|||
for (; spriteId <= _curMaxSpriteId; spriteId++)
|
||||
switch(args[1]) {
|
||||
case 0:
|
||||
spriteInfoSet_flag15(spriteId, args[0]);
|
||||
spriteInfoGet_flagXFlipped(spriteId, args[0]);
|
||||
break;
|
||||
case 1:
|
||||
spriteInfoSet_flag14(spriteId, args[0]);
|
||||
spriteInfoGet_flagYFlipped(spriteId, args[0]);
|
||||
break;
|
||||
case 2:
|
||||
spriteInfoSet_flagActive(spriteId, args[0]);
|
||||
|
|
|
@ -1057,10 +1057,10 @@ void ScummEngine_v90he::o90_setSpriteInfo() {
|
|||
for (; spriteId <= _curMaxSpriteId; spriteId++)
|
||||
switch(args[1]) {
|
||||
case 0:
|
||||
spriteInfoSet_flag15(spriteId, args[0]);
|
||||
spriteInfoGet_flagXFlipped(spriteId, args[0]);
|
||||
break;
|
||||
case 1:
|
||||
spriteInfoSet_flag14(spriteId, args[0]);
|
||||
spriteInfoGet_flagYFlipped(spriteId, args[0]);
|
||||
break;
|
||||
case 2:
|
||||
spriteInfoSet_flagActive(spriteId, args[0]);
|
||||
|
|
|
@ -553,7 +553,7 @@ void ScummEngine_v90he::spriteInfoSet_flag13(int spriteId, int value) {
|
|||
_spriteTable[spriteId].flags |= kSFChanged | kSFNeedRedraw;
|
||||
}
|
||||
|
||||
void ScummEngine_v90he::spriteInfoSet_flag14(int spriteId, int value) {
|
||||
void ScummEngine_v90he::spriteInfoGet_flagYFlipped(int spriteId, int value) {
|
||||
checkRange(_varNumSprites, 1, spriteId, "Invalid sprite %d");
|
||||
|
||||
int oldFlags = _spriteTable[spriteId].flags;
|
||||
|
@ -566,7 +566,7 @@ void ScummEngine_v90he::spriteInfoSet_flag14(int spriteId, int value) {
|
|||
_spriteTable[spriteId].flags |= kSFChanged | kSFNeedRedraw;
|
||||
}
|
||||
|
||||
void ScummEngine_v90he::spriteInfoSet_flag15(int spriteId, int value) {
|
||||
void ScummEngine_v90he::spriteInfoGet_flagXFlipped(int spriteId, int value) {
|
||||
checkRange(_varNumSprites, 1, spriteId, "Invalid sprite %d");
|
||||
|
||||
int oldFlags = _spriteTable[spriteId].flags;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue