Working on translations for dialogs and cutscenes

This commit is contained in:
Vladislav Khorev committed 2026-07-05 21:52:37 +03:00
1 parent a98f71676d
commit 794a820be9
25 files changed
+3015 -123

No files matched your search

+6
View File
@@ -1,5 +1,6 @@
#include "Game.h"
#include "AnimatedModel.h"
#include "Localization.h"
#include "utils/Utils.h"
#include <fstream>
#include "items/ItemRegistry.h"
@@ -150,6 +151,11 @@ namespace ZL
{
std::cout << "Load resurces step 12x1" << std::endl;
// Must happen before createLocations() below: some location scripts
// (e.g. resources/start_dorm.lua) start a dialogue as soon as they're
// loaded, so the language needs to be known before that first load.
ZL::loadLanguageSetting();
#ifdef EMSCRIPTEN
renderer.shaderManager.AddShaderFromFiles("env_sky", "resources/shaders/env_sky.vertex", "resources/shaders/env_sky_web.fragment", CONST_ZIP_FILE);