mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 06:00:48 +00:00
FULLPIPE: Implement sceneHandler06_setExits()
This commit is contained in:
parent
6055acb63b
commit
0b187a7937
@ -42,6 +42,10 @@ bool MotionController::load(MfcArchive &file) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void MotionController::enableLinks(const char *linkName, bool enable) {
|
||||
warning("STUB: MotionController::enableLinks()");
|
||||
}
|
||||
|
||||
bool MctlCompound::load(MfcArchive &file) {
|
||||
debug(5, "MctlCompound::load()");
|
||||
|
||||
|
@ -59,6 +59,8 @@ public:
|
||||
virtual int method44() { return 0; }
|
||||
virtual int method48() { return -1; }
|
||||
virtual MessageQueue *doWalkTo(StaticANIObject *subj, int xpos, int ypos, int fuzzyMatch, int staticsId) { return 0; }
|
||||
|
||||
void enableLinks(const char *linkName, bool enable);
|
||||
};
|
||||
|
||||
class MovGraphReact : public CObject {
|
||||
|
@ -69,7 +69,10 @@ int scene06_updateCursor() {
|
||||
}
|
||||
|
||||
void sceneHandler06_setExits(Scene *sc) {
|
||||
warning("STUB: sceneHandler06_setExits()");
|
||||
MotionController *mc = getSc2MctlCompoundBySceneId(sc->_sceneId);
|
||||
|
||||
mc->enableLinks(sO_CloseThing, (g_fullpipe->getObjectState(sO_BigMumsy) != g_fullpipe->getObjectEnumState(sO_BigMumsy, sO_IsGone)));
|
||||
mc->enableLinks(sO_CloseThing2, (g_vars->scene06_var07 != 0));
|
||||
}
|
||||
|
||||
void sceneHandler06_winArcade() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user