mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 18:55:29 +02:00
Basic camera control API (#15796)
This commit is contained in:
@@ -15,6 +15,13 @@
|
||||
#include "porting.h" // strlcpy
|
||||
#include <tuple>
|
||||
|
||||
const struct EnumString es_CameraMode[] = {
|
||||
{CAMERA_MODE_ANY, "any"},
|
||||
{CAMERA_MODE_FIRST, "first"},
|
||||
{CAMERA_MODE_THIRD, "third"},
|
||||
{CAMERA_MODE_THIRD_FRONT, "third_front"},
|
||||
{0, nullptr}
|
||||
};
|
||||
|
||||
bool is_valid_player_name(std::string_view name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user