diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-09-12 13:11:32 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-09-12 13:11:32 -0500 |
commit | 1294e7a96b7011c713be5515359b41338dafee04 (patch) | |
tree | efc4779750ae700dcef1a96da3561fcd0f4b8b13 /src/bossMegaGoomba.cpp | |
parent | 9483344fcecf669e2be98b61d1fdb6c6e3aa5520 (diff) | |
download | kamek-1294e7a96b7011c713be5515359b41338dafee04.tar.gz kamek-1294e7a96b7011c713be5515359b41338dafee04.zip |
shy guy fixes, Mega Goomba fixes
Diffstat (limited to 'src/bossMegaGoomba.cpp')
-rw-r--r-- | src/bossMegaGoomba.cpp | 14 |
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(); |