1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Basic camera control API (#15796)

This commit is contained in:
sfan5 2025-02-19 18:45:45 +01:00 committed by GitHub
parent 50819ace8f
commit ba62808fe8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 162 additions and 42 deletions

View file

@ -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)
{