summaryrefslogtreecommitdiff
path: root/src/bossMegaGoomba.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bossMegaGoomba.cpp')
-rw-r--r--src/bossMegaGoomba.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/bossMegaGoomba.cpp b/src/bossMegaGoomba.cpp
index 3dde8a6..9b6f577 100644
--- a/src/bossMegaGoomba.cpp
+++ b/src/bossMegaGoomba.cpp
@@ -55,8 +55,6 @@ class daMegaGoomba_c : public dEn_c {
nw4r::g3d::ResFile resFile;
m3d::mdl_c bodyModel;
m3d::anmChr_c animationChr;
- nw4r::g3d::ResAnmTexPat resTexPat;
- m3d::anmTexPat_c animationPat;
float timer;
float dying;
@@ -309,15 +307,6 @@ void daMegaGoomba_c::setupBodyModel() {
ret = this->animationChr.setup(mdl, anmChr, &this->allocator, 0);
this->bindAnimChr_and_setUpdateRate("walk", 1, 0.0, 0.2);
- nw4r::g3d::ResAnmTexPat anmPat = this->resFile.GetResAnmTexPat("walk");
- this->resTexPat = anmPat;
- ret = this->animationPat.setup(mdl, anmPat, &this->allocator, 0, 1);
- this->animationPat.bindEntry(&this->bodyModel, &anmPat, 0, 0);
- this->bodyModel.bindAnim(&this->animationPat, 0.0);
- this->animationPat.setFrameForEntry(1.0, 0);
- this->animationPat.setUpdateRateForEntry(1.0, 0);
- this->animationPat.setEntryByte34(0, 0);
-
allocator.unlink();
}
@@ -433,7 +422,6 @@ int daMegaGoomba_c::onDraw() {
//DONT DO REST HERE//
#if 0
bodyModel._vf1C();
- animationPat.process();
#endif
return true;
}
@@ -645,7 +633,6 @@ void daMegaGoomba_c::beginState_Turn() {
}
void daMegaGoomba_c::executeState_Turn() {
this->bodyModel._vf1C();
- this->animationPat.process();
this->HandleYSpeed();
this->doSpriteMovement();
@@ -697,7 +684,6 @@ void daMegaGoomba_c::beginState_Walk() {
void daMegaGoomba_c::executeState_Walk() {
/* 800345e0 - daEnLkuribo_c::executeState_Walk() */
this->bodyModel._vf1C();
- this->animationPat.process();
//HOMEMADE//
this->HandleXSpeed();
this->HandleYSpeed();