summaryrefslogtreecommitdiff
path: root/src/topman.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-03-09 01:40:14 -0600
committerColin Noga <Tempus@chronometry.ca>2012-03-09 01:40:14 -0600
commit59624313e01ef4269f2ca27babe522d407e200b0 (patch)
tree3ef69879f19f4eded72a310a94736e151a108cc7 /src/topman.cpp
parent05d99e2cf552024116356591be0a88bf862b89c9 (diff)
downloadkamek-59624313e01ef4269f2ca27babe522d407e200b0.tar.gz
kamek-59624313e01ef4269f2ca27babe522d407e200b0.zip
Redid all the boss and custom sprite junk, effect list, saved 25 kb - but bosses break
Diffstat (limited to '')
-rw-r--r--src/topman.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/topman.cpp b/src/topman.cpp
index a255a82..c9a679d 100644
--- a/src/topman.cpp
+++ b/src/topman.cpp
@@ -2,9 +2,6 @@
#include <game.h>
#include <g3dhax.h>
#include <sfx.h>
-#include <stage.h>
-#include "effects.h"
-#include "player.h"
class daTopman : public dEn_c {
int onCreate();
@@ -548,11 +545,11 @@ void daTopman::updateModelMatrices() {
}
void daTopman::endState_KnockBack() {
if (this->rot.y == 0x2800) {
- // CreateEffect(&this->pos, &(S16Vec){0,0,0}, &(Vec){1.0, 1.0, 1.0}, 175);
+
this->direction = 0;
}
else {
- // CreateEffect(&this->pos, &(S16Vec){0,0,0}, &(Vec){1.0, 1.0, 1.0}, 192);
+
this->direction = 1;
}
// OSReport("Rotation: %x", this->rot.y);