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 -1
View File
@@ -26,10 +26,20 @@ namespace FRG {
float positionY = 0.0f;
float positionZ = 0.0f;
float scale = 1.0f;
// Objects sharing mesh and textures are drawn with one instanced call.
// Set "instanced": false in the JSON to keep an object as a standalone mesh.
bool instanced = true;
LoadedGameObjectState toLoadedGameObjectState() const;
};
// Result of loading a static object list: unique objects keep their own mesh,
// repeated ones are merged into instanced batches.
struct StaticObjectSet {
std::unordered_map<std::string, LoadedGameObject> single;
std::vector<InstancedBatch> batches;
};
struct InteractiveObjectData {
GameObjectData base;
float interactionRadius = 2.0f;
@@ -86,7 +96,7 @@ namespace FRG {
class GameObjectLoader {
public:
static std::unordered_map<std::string, LoadedGameObject> loadAndCreateGameObjects(
static StaticObjectSet loadAndCreateGameObjects(
const std::string& jsonPath,
Renderer& renderer,
const std::string& zipPath = ""