FULLPIPE: Implement sceneHandler08_sitDown()

This commit is contained in:
Eugene Sandulenko
2013-12-22 00:58:42 +02:00
parent bccb4d8f00
commit 9ef756e8d7
2 changed files with 17 additions and 2 deletions
+2
View File
@@ -208,6 +208,7 @@ namespace Fullpipe {
#define MV_MAN_TURN_SUD 1089
#define MV_MAN6_TAKEBALL 2691
#define MV_MAN6_THROWBALL 2692
#define MV_MAN8_SITDOWN 2968
#define MV_MANHDL_HANDLEDOWN 630
#define MV_MANHDL_HANDLEUP 631
#define MV_MOM_CYCLEBK 3012
@@ -451,6 +452,7 @@ namespace Fullpipe {
#define ST_MAN_STANDLADDER 453
#define ST_MAN_UP 449
#define ST_MAN6_BALL 2688
#define ST_MAN8_FLYDOWN 771
#define ST_MOM_SITS 659
#define ST_MOM_STANDS 658
#define ST_NBL_NORM 1076
+15 -2
View File
@@ -32,6 +32,7 @@
#include "fullpipe/motion.h"
#include "fullpipe/gameloader.h"
#include "fullpipe/behavior.h"
#include "fullpipe/interaction.h"
namespace Fullpipe {
@@ -194,7 +195,10 @@ void sceneHandler08_calcOffset() {
}
void sceneHandler08_finishArcade() {
warning("STUB: sceneHandler08_finishArcade()");
g_vars->scene08_var06 = 0;
getGameLoaderInteractionController()->enableFlag24();
getCurrSceneSc2MotionController()->setEnabled();
}
void sceneHandler08_jumpOff() {
@@ -206,7 +210,16 @@ void sceneHandler08_pushCallback(int *par) {
}
void sceneHandler08_sitDown() {
warning("STUB: sceneHandler08_sitDown()");
g_fp->_aniMan->setOXY(380, g_fp->_aniMan->_oy);
g_fp->_aniMan->changeStatics2(ST_MAN8_FLYDOWN);
g_fp->_aniMan->startAnim(MV_MAN8_SITDOWN, 0, -1);
g_vars->scene08_vmyats->changeStatics2(ST_VMT_MIN);
g_vars->scene08_vmyats->hide();
g_vars->scene08_var01 = 0;
g_vars->scene08_var03 = 1;
}
void sceneHandler08_standUp() {