From 10c0df080e801ec4abb2c2272a90d04d00fee4e7 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Wed, 29 Feb 2012 15:11:25 -0600 Subject: FUCK YOU LINKER --- src/meteor.cpp | 6 +++--- src/shyguy.cpp | 11 +++++++---- 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/meteor.cpp b/src/meteor.cpp index 85b1358..c7d9220 100755 --- a/src/meteor.cpp +++ b/src/meteor.cpp @@ -55,15 +55,15 @@ int dMeteor::onCreate() { // Other settings this->spinDir = this->settings & 0x1; - this->spinSpeed = ((this->settings >> 16) & 0xFF) * 4; + this->spinSpeed = ((this->settings >> 16) & 0xFF) * 80; // Setup Physics - MakeItRound.baseSetup(this, &spinningPhysicsCallback, 0, 0, 1, 1); + MakeItRound.baseSetup(this, &spinningPhysicsCallback, 0, 0, 1, 0); MakeItRound.x = 0.0; MakeItRound.y = 0.0; - MakeItRound.diameter = 160.0 * sca; + MakeItRound.diameter = 16.0 * sca; MakeItRound.isRound = 1; MakeItRound.update(); diff --git a/src/shyguy.cpp b/src/shyguy.cpp index 9955404..0104f96 100644 --- a/src/shyguy.cpp +++ b/src/shyguy.cpp @@ -72,7 +72,7 @@ class daShyGuy : public dEn_c { dStageActor_c *spikeA; dStageActor_c *spikeB; - RideableActorCollider giantRider; + StandOnTopCollider giantRider; ActivePhysics Chuckles; ActivePhysics Knuckles; ActivePhysics balloonPhysics; @@ -143,7 +143,7 @@ daShyGuy *daShyGuy::build() { extern "C" int SomeStrangeModification(dStageActor_c* actor); extern "C" void DoStuffAndMarkDead(dStageActor_c *actor, Vec vector, float unk); extern "C" int SmoothRotation(short* rot, u16 amt, int unk2); - extern "C" void addToList(RideableActorCollider *self); + // extern "C" void addToList(StandOnTopCollider *self); CREATE_STATE(daShyGuy, Walk); @@ -556,8 +556,11 @@ int daShyGuy::onCreate() { HitMeBaby.xDistToEdge = 28.0; HitMeBaby.yDistToEdge = 24.0; - giantRider.init(this, -19.5f, 18.0f, 19.5f, 18.0f); - addToList(&giantRider); + // giantRider.init(this, -19.5f, 18.0f, 19.5f, 18.0f); + + giantRider.init(this, 0.0f, 0.0f, 24.0f, 0.0f, 28.0f, 0, 0); + // addToList(&giantRider); + giantRider.addToList(); giantRider.update(); } -- cgit v1.2.3