mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Add support for per-player FOV overrides and multipliers
This commit is contained in:
@@ -215,6 +215,9 @@ private:
|
||||
// add_player_velocity(self, {x=num, y=num, z=num})
|
||||
static int l_add_player_velocity(lua_State *L);
|
||||
|
||||
// get_fov(self)
|
||||
static int l_get_fov(lua_State *L);
|
||||
|
||||
// get_look_dir(self)
|
||||
static int l_get_look_dir(lua_State *L);
|
||||
|
||||
@@ -232,6 +235,9 @@ private:
|
||||
// get_look_yaw2(self)
|
||||
static int l_get_look_horizontal(lua_State *L);
|
||||
|
||||
// set_fov(self, degrees, is_multiplier)
|
||||
static int l_set_fov(lua_State *L);
|
||||
|
||||
// set_look_vertical(self, radians)
|
||||
static int l_set_look_vertical(lua_State *L);
|
||||
|
||||
|
Reference in New Issue
Block a user