summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/meteor.cpp6
-rw-r--r--src/shyguy.cpp11
2 files changed, 10 insertions, 7 deletions
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();
}