mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
commit
a23aa77b57
1 changed files with 3 additions and 3 deletions
|
@ -74,9 +74,9 @@ struct newcam_hardpos newcam_fixedcam[] =
|
|||
#endif // noaccel
|
||||
|
||||
s16 newcam_yaw; //Z axis rotation
|
||||
f32 newcam_yaw_acc;
|
||||
s16 newcam_yaw_acc;
|
||||
s16 newcam_tilt = 1500; //Y axis rotation
|
||||
f32 newcam_tilt_acc;
|
||||
s16 newcam_tilt_acc;
|
||||
u16 newcam_distance = 750; //The distance the camera stays from the player
|
||||
u16 newcam_distance_target = 750; //The distance the player camera tries to reach.
|
||||
f32 newcam_pos_target[3]; //The position the camera is basing calculations off. *usually* Mario.
|
||||
|
@ -187,7 +187,7 @@ void newcam_diagnostics(void)
|
|||
print_text_fmt_int(32,32,"DISTANCE %d",newcam_distance);
|
||||
}
|
||||
|
||||
static s16 newcam_adjust_value(s16 var, s16 val, s8 max)
|
||||
static s16 newcam_adjust_value(s16 var, s16 val, s16 max)
|
||||
{
|
||||
if (val > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue