mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-12-13 03:22:36 +00:00
Synchronized TTC pendulum
This commit is contained in:
parent
788dc5310c
commit
4cb089c428
1 changed files with 9 additions and 0 deletions
|
|
@ -24,6 +24,15 @@ void bhv_ttc_pendulum_init(void) {
|
||||||
} else {
|
} else {
|
||||||
o->oTTCPendulumAngle = 6371.5557f;
|
o->oTTCPendulumAngle = 6371.5557f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct SyncObject* so = network_init_object(o, 4000.0f);
|
||||||
|
so->minUpdateRate = 5.0f;
|
||||||
|
network_init_object_field(o, &o->oTTCPendulumAccelDir);
|
||||||
|
network_init_object_field(o, &o->oTTCPendulumAngle);
|
||||||
|
network_init_object_field(o, &o->oTTCPendulumAngleVel);
|
||||||
|
network_init_object_field(o, &o->oTTCPendulumAngleAccel);
|
||||||
|
network_init_object_field(o, &o->oTTCPendulumDelay);
|
||||||
|
network_init_object_field(o, &o->oTTCPendulumSoundTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue