VortexLift 源码与构建（v20，2026-11-28）
======================================

目录
----
Source/VortexLiftCoupling/   物理 + 增益 + Alt+G（VortexLiftCoupling.dll）
Source/WingtipVortex-Tweak/     视觉载荷 fork（WingtipVortex_Tweak.dll）

接口契约
--------
视觉侧 `VortexVapor.VortexCouplingApi.ApiVersion` 当前为 2。
物理侧：FAR 必需；视觉可选。API/SetVaporScale 缺失时进入 gain-only 模式，
不阻断增益。视觉侧不再拥有增益设置或 Alt+G。

语言构建
--------
同一套源码产出两个构建：
- 默认（中文界面）：不加条件编译符号。
- 英文界面：csc 加 -define:VL_EN。
LanguageConfig.Chinese 为编译期常量；运行时不读取语言配置文件。

构建
----
编译器：Roslyn csc（net472），例如
  <roslyn>/tasks/net472/csc.exe -target:library -optimize+ -langversion:7.3 -nostdlib

引用：KSP 的 KSP_x64_Data/Managed/*.dll 全部；物理另加 GameData/000_Harmony/0Harmony.dll。

- 视觉：编译 Source/WingtipVortex-Tweak/**/*.cs → WingtipVortex_Tweak.dll
- 物理：编译 Source/VortexLiftCoupling/*.cs → VortexLiftCoupling.dll

运行时路径：两个 DLL 都按自身位置解析上级目录下的 PluginData/ 与 Shaders/，
因此两者必须放在同一个 Plugins/ 目录、共用同一包根。

着色器：Source/WingtipVortex-Tweak/Shaders/ 下保留 cginc/shader 与预编译 bundle；
Windows bundle 为本项目 v3，Linux/macOS 仍为上游原始版本。
