mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
FULLPIPE: Implement StaticANIObject::preloadMovements()
This commit is contained in:
parent
2d3ac3100c
commit
4a0bfb751c
@ -664,7 +664,16 @@ void StaticANIObject::initMovements() {
|
||||
}
|
||||
|
||||
void StaticANIObject::preloadMovements(MovTable *mt) {
|
||||
warning("STUB: StaticANIObject::preloadMovements()");
|
||||
if ( mt ) {
|
||||
for (uint i = 0; i < _movements.size(); i++) {
|
||||
Movement *mov = (Movement *)_movements[i];
|
||||
|
||||
if (mt->movs[i] == 1)
|
||||
mov->loadPixelData();
|
||||
else if (mt->movs[i] == 2)
|
||||
mov->freePixelData();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Common::Point *StaticANIObject::getCurrDimensions(Common::Point &p) {
|
||||
@ -1680,6 +1689,10 @@ void Movement::loadPixelData() {
|
||||
mov->_staticsObj1->getPixelData();
|
||||
}
|
||||
|
||||
void Movement::freePixelData() {
|
||||
warning("STUB: Movement::freePixelData()");
|
||||
}
|
||||
|
||||
void Movement::removeFirstPhase() {
|
||||
if (_updateFlag1) {
|
||||
if (!_currDynamicPhaseIndex)
|
||||
|
@ -164,6 +164,7 @@ class Movement : public GameObject {
|
||||
void gotoLastFrame();
|
||||
|
||||
void loadPixelData();
|
||||
void freePixelData();
|
||||
|
||||
void draw(bool flipFlag, int angle);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user