mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
FULLPIPE: Scene drawing stubs
This commit is contained in:
parent
1aa11bd86f
commit
defc53d4d1
@ -234,4 +234,32 @@ void Scene::init() {
|
||||
warning("STUB: Scene::init()");
|
||||
}
|
||||
|
||||
void Scene::draw(int par) {
|
||||
updateScrolling(par);
|
||||
|
||||
drawContent(60000, 0, true);
|
||||
|
||||
//_staticANIObjectList2.sortByPriority();
|
||||
|
||||
for (CPtrList::iterator s = _staticANIObjectList2.begin(); s != _staticANIObjectList2.end(); ++s) {
|
||||
((StaticANIObject *)s)->draw2();
|
||||
}
|
||||
|
||||
int priority = -1;
|
||||
for (CPtrList::iterator s = _staticANIObjectList2.begin(); s != _staticANIObjectList2.end(); ++s) {
|
||||
drawContent(((StaticANIObject *)s)->_priority, priority, false);
|
||||
((StaticANIObject *)s)->draw();
|
||||
|
||||
priority = ((StaticANIObject *)s)->_priority;
|
||||
}
|
||||
|
||||
drawContent(-1, priority, false);
|
||||
}
|
||||
|
||||
void Scene::updateScrolling(int par) {
|
||||
}
|
||||
|
||||
void Scene::drawContent(int minPri, int maxPri, bool drawBG) {
|
||||
}
|
||||
|
||||
} // End of namespace Fullpipe
|
||||
|
@ -43,6 +43,9 @@ class Scene : public Background {
|
||||
virtual bool load(MfcArchive &file);
|
||||
void initStaticANIObjects();
|
||||
void init();
|
||||
void draw(int par);
|
||||
void drawContent(int minPri, int maxPri, bool drawBG);
|
||||
void updateScrolling(int par);
|
||||
};
|
||||
|
||||
class SceneTag : public CObject {
|
||||
|
@ -101,10 +101,10 @@ bool FullpipeEngine::loadGam(const char *fname) {
|
||||
|
||||
_inventory->rebuildItemRects();
|
||||
|
||||
for (CPtrList::iterator s = _inventory->getScene()->_picObjList.begin(); s != _inventory->getScene()->_picObjList.end(); ++s) {
|
||||
}
|
||||
|
||||
warning("STUB: loadGam()");
|
||||
//for (CPtrList::iterator s = _inventory->getScene()->_picObjList.begin(); s != _inventory->getScene()->_picObjList.end(); ++s) {
|
||||
//}
|
||||
|
||||
} else
|
||||
return false;
|
||||
|
||||
|
@ -124,6 +124,14 @@ Statics *StaticANIObject::addStatics(Statics *ani) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void StaticANIObject::draw() {
|
||||
warning("STUB: StaticANIObject::draw()");
|
||||
}
|
||||
|
||||
void StaticANIObject::draw2() {
|
||||
warning("STUB: StaticANIObject::draw2()");
|
||||
}
|
||||
|
||||
Statics::Statics() {
|
||||
_staticsId = 0;
|
||||
_picture = 0;
|
||||
|
@ -145,6 +145,8 @@ class StaticANIObject : public GameObject {
|
||||
Movement *getMovementById(int id);
|
||||
|
||||
Statics *addStatics(Statics *ani);
|
||||
void draw();
|
||||
void draw2();
|
||||
};
|
||||
|
||||
} // End of namespace Fullpipe
|
||||
|
Loading…
x
Reference in New Issue
Block a user