Compare commits

...
2 Commits
Author SHA1 Message Date
cthangover ac4039595c Expose the time-of-day weights 2026-10-24 12:56:10 +02:00
cthangover 3d5eecc46e Localization in es, zh, ja, ko, vi 2026-10-23 20:54:52 +02:00
6 changed files with 16 additions and 7 deletions

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
mod_time_base_name = Motor del tiempo
mod_time_base_desc = Subsistema del tiempo del motor: el controlador del reloj del juego, el widget del reloj en el HUD, la pila de iluminación 2D (UiLightController, LampBehaviour, LightDef) y la acción de escenario lighting.clear_map.
+2
View File
@@ -0,0 +1,2 @@
mod_time_base_name = 時間エンジン
mod_time_base_desc = エンジンの時間サブシステム:ゲーム内時計のコントローラー、HUD の時計ウィジェット、2D ライティング(UiLightController、LampBehaviour、LightDef)、シナリオアクション lighting.clear_map。
+2
View File
@@ -0,0 +1,2 @@
mod_time_base_name = 시간 엔진
mod_time_base_desc = 엔진 시간 하위 시스템: 게임 내 시계 컨트롤러, HUD 시계 위젯, 2D 조명 스택(UiLightController, LampBehaviour, LightDef), lighting.clear_map 시나리오 액션.
+2
View File
@@ -0,0 +1,2 @@
mod_time_base_name = Engine thời gian
mod_time_base_desc = Hệ thống con thời gian của engine: bộ điều khiển đồng hồ trong game, widget đồng hồ trên HUD, ngăn xếp chiếu sáng 2D (UiLightController, LampBehaviour, LightDef) và hành động kịch bản lighting.clear_map.
+2
View File
@@ -0,0 +1,2 @@
mod_time_base_name = 时间引擎
mod_time_base_desc = 引擎时间子系统:游戏内时钟控制器、HUD 时钟组件、2D 光照栈(UiLightController、LampBehaviour、LightDef)以及 lighting.clear_map 剧本动作。
+6 -7
View File
@@ -459,13 +459,12 @@ namespace Cthangover.Mods.Time
return SceneContextNode.FindNode<LampBehaviour>("Lamp"); return SceneContextNode.FindNode<LampBehaviour>("Lamp");
} }
// /// <summary>
// 06:00-10:00 - Morning /// Blend weights of the four phases (morning, day, evening, night) for an hour 0–24, with
// 10:00-18:00 - Day /// two-hour cross-fades between them — the <c>time_weights</c> uniform of the time shaders.
// 18:00-22:00 - Evening /// Public so other lit views (the RPG map) follow the same day as the backgrounds.
// 22:00-06:00 - Night /// </summary>
// public static Vector4 CalculateTimeWeights(float hour)
private static Vector4 CalculateTimeWeights(float hour)
{ {
float night = 0.0f; float night = 0.0f;
float morning = 0.0f; float morning = 0.0f;