Fixing minor bugs in texts, encoding, UI

This commit is contained in:
Vladislav Khorev committed 2026-07-12 12:07:58 +03:00
1 parent 79413e7319
commit d4365728fe
87 files changed
+883 -404

No files matched your search

+5 -1
View File
@@ -1,4 +1,4 @@
#include "Location.h"
#include "Location.h"
#include "utils/Utils.h"
#include "render/OpenGlExtensions.h"
#include <iostream>
@@ -20,11 +20,15 @@ namespace ZL
{
extern const char* CONST_ZIP_FILE;
static constexpr float CAMERA_FOV_Y = 1.0f / 1.5f;
// How close the player needs to be to a peaceful NPC before the
// on_npc_interact callback fires and the conversation begins.
static constexpr float NPC_TALK_DISTANCE = 1.35f;
static constexpr float RENDER_DISTRANCE = 50.f;
static float distancePointToSegmentXZ(const Eigen::Vector3f& p,
const Eigen::Vector3f& a,
const Eigen::Vector3f& b)