mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Splitscreen flatmap camera height 3/4 -> 13/16
This commit is contained in:
parent
98bacdeafe
commit
21929bb111
2 changed files with 4 additions and 4 deletions
|
|
@ -9664,9 +9664,9 @@ void P_DoQuakeOffset(UINT8 view, mappoint_t *viewPos, mappoint_t *offset)
|
|||
maxShake = FixedMul(mapheaderinfo[gamemap-1]->cameraHeight, mapobjectscale) * 3 / 4;
|
||||
|
||||
// For 2p SPLITSCREEN SPECIFICALLY:
|
||||
// The view is pretty narrow, so move it back 1/4th of the way towards default camera height.
|
||||
// The view is pretty narrow, so move it back 3/16 of the way towards default camera height.
|
||||
else
|
||||
maxShake = FixedMul((mapheaderinfo[gamemap-1]->cameraHeight*5 + cv_cam_height[view].value)/6, mapobjectscale) * 3 / 4;
|
||||
maxShake = FixedMul((mapheaderinfo[gamemap-1]->cameraHeight*13 + cv_cam_height[view].value*3)/16, mapobjectscale) * 3 / 4;
|
||||
}
|
||||
|
||||
if (battle)
|
||||
|
|
|
|||
|
|
@ -3383,10 +3383,10 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
|||
camheight = FixedMul(mapheaderinfo[gamemap-1]->cameraHeight, cameraScale);
|
||||
|
||||
// For 2p SPLITSCREEN SPECIFICALLY:
|
||||
// The view is pretty narrow, so move it back 1/4th of the way towards default camera height.
|
||||
// The view is pretty narrow, so move it back 3/16 of the way towards default camera height.
|
||||
else {
|
||||
// CONS_Printf( "Camera values: %f / %f / %f \n", FixedToFloat(mapheaderinfo[gamemap-1]->cameraHeight), FixedToFloat(cv_cam_height[num].value), FixedToFloat(cameraScale) );
|
||||
camheight = FixedMul((mapheaderinfo[gamemap-1]->cameraHeight*5 + cv_cam_height[num].value)/6, cameraScale);
|
||||
camheight = FixedMul((mapheaderinfo[gamemap-1]->cameraHeight*13 + cv_cam_height[num].value*3)/16, cameraScale);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue