diff options
author | Treeki <treeki@gmail.com> | 2012-03-15 02:54:33 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-03-15 02:54:33 +0100 |
commit | e88fd1dcef52d4375fef655918886fc14bb1f40c (patch) | |
tree | f081b14a420331258665a58ad31be54b13b1c655 /src/bossRamboo.cpp | |
parent | 18a6c3dbe01f484b346923ebc53f674c1e4a5101 (diff) | |
download | kamek-e88fd1dcef52d4375fef655918886fc14bb1f40c.tar.gz kamek-e88fd1dcef52d4375fef655918886fc14bb1f40c.zip |
optimisations to reduce code size
Diffstat (limited to 'src/bossRamboo.cpp')
-rw-r--r-- | src/bossRamboo.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/bossRamboo.cpp b/src/bossRamboo.cpp index 4195884..0c36f04 100644 --- a/src/bossRamboo.cpp +++ b/src/bossRamboo.cpp @@ -80,13 +80,11 @@ extern EventTable_t *EventTable; void daRamboo_c::playerCollision(ActivePhysics *apThis, ActivePhysics *apOther) { DamagePlayer(this, apThis, apOther); } void daRamboo_c::collisionCat1_Fireball_E_Explosion(ActivePhysics *apThis, ActivePhysics *apOther) { - OSReport("Hit Fireball"); SpawnEffect("Wm_en_obakedoor_sm", 0, &apOther->owner->pos, &(S16Vec){0,0,0}, &(Vec){0.5, 0.5, 0.5}); this->pos.x += 6.0; } bool daRamboo_c::collisionCat2_IceBall_15_YoshiIce(ActivePhysics *apThis, ActivePhysics *apOther) { return false; } void daRamboo_c::collisionCat9_RollingObject(ActivePhysics *apThis, ActivePhysics *apOther) { - OSReport("Hit Rolling Object"); if (apOther->owner->name == 412) { // Check if it's a glow block SpawnEffect("Wm_en_obakedoor_sm", 0, &apOther->owner->pos, &(S16Vec){0,0,0}, &(Vec){1.0, 1.0, 1.0}); @@ -161,14 +159,11 @@ void daRamboo_c::setupModels() { int daRamboo_c::onCreate() { - OSReport("Creating the Ramboo Model"); setupModels(); - OSReport("Setting Ramboo's Size to 16.0"); this->scale = (Vec){2.0, 2.0, 2.0}; - OSReport("Creating Ramboo's Physics Struct"); ActivePhysics::Info HitMeBaby; HitMeBaby.xDistToCenter = 160.0; @@ -185,11 +180,9 @@ int daRamboo_c::onCreate() { HitMeBaby.callback = &dEn_c::collisionCallback; - OSReport("Making the Physics Class and adding to the list"); this->aPhysics.initWithStruct(this, &HitMeBaby); this->aPhysics.addToList(); - OSReport("Setting up the Box of Goodies"); this->Baseline = this->pos.y; this->rot.x = 0; // X is vertical axis @@ -203,7 +196,6 @@ int daRamboo_c::onCreate() { this->ytimer = 0; char eventNum = (this->settings >> 16) & 0xFF; - OSReport("Event to activate: %d", eventNum); this->eventFlag = (u64)1 << (eventNum - 1); @@ -221,10 +213,8 @@ int daRamboo_c::onCreate() { //setUpdateRateForEntry(float rate, int which); this->fogSrt.setUpdateRateForEntry(1.0, 0); - OSReport("Setting the State"); doStateChange(&StateID_Grow); - OSReport("Going to Execute Ramboo"); this->onExecute(); return true; } @@ -289,7 +279,6 @@ void daRamboo_c::updateModelMatrices() { // Grow State void daRamboo_c::beginState_Grow() { - OSReport("Growing when Kameck Tells me to."); this->timer = 0; SetupKameck(this, Kameck); |