Added korean location

This commit is contained in:
Vladislav Khorev committed 2026-10-25 01:29:38 +06:00
1 parent d5ef126264
commit 96e748715b
80 files changed
+18949 -80

No files matched your search

+11
View File
@@ -77,6 +77,9 @@ namespace FRG
std::unordered_map<std::string, LoadedGameObject> gameObjects;
// Repeated static objects (same mesh + textures) drawn with one instanced call each.
std::vector<InstancedBatch> instancedBatches;
std::vector<InteractiveObject> interactiveObjects;
// Shared: the same player moves from location to location and outlives them.
@@ -207,6 +210,14 @@ namespace FRG
int findInteractiveObjectIndex(const InteractiveObject* obj) const;
int findTeleportZoneIndex(const TeleportZone* tz) const;
enum class InstancedTexture { None, Color, Darklands };
// Draws instancedBatches with the instancing variant of the current pass shader
// (e.g. "fog_inst"). The variant is a separate program, so setUniforms must re-send
// the pass uniforms; the matrix stack tops are uploaded here.
void drawInstancedStatics(const std::string& instancedShaderName, InstancedTexture textureKind,
const std::function<void()>& setUniforms = {});
void resolveCharacterCollisions();
void updateDynamicReplans(int64_t deltaMs);
void loadTeleportZones(const std::string& jsonPath, const char* zipFile);