mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
Add zoom, tweakable with zoom_fov, default key: Z (like optifine)
This commit is contained in:
committed by
est31
parent
c013c73f33
commit
2c31b79235
@@ -49,6 +49,7 @@ struct PlayerControl
|
||||
sidew_move_joystick_axis = .0f;
|
||||
forw_move_joystick_axis = .0f;
|
||||
}
|
||||
|
||||
PlayerControl(
|
||||
bool a_up,
|
||||
bool a_down,
|
||||
@@ -57,6 +58,7 @@ struct PlayerControl
|
||||
bool a_jump,
|
||||
bool a_aux1,
|
||||
bool a_sneak,
|
||||
bool a_zoom,
|
||||
bool a_LMB,
|
||||
bool a_RMB,
|
||||
float a_pitch,
|
||||
@@ -72,6 +74,7 @@ struct PlayerControl
|
||||
jump = a_jump;
|
||||
aux1 = a_aux1;
|
||||
sneak = a_sneak;
|
||||
zoom = a_zoom;
|
||||
LMB = a_LMB;
|
||||
RMB = a_RMB;
|
||||
pitch = a_pitch;
|
||||
@@ -86,6 +89,7 @@ struct PlayerControl
|
||||
bool jump;
|
||||
bool aux1;
|
||||
bool sneak;
|
||||
bool zoom;
|
||||
bool LMB;
|
||||
bool RMB;
|
||||
float pitch;
|
||||
|
Reference in New Issue
Block a user