rename render/ files to UpperCamelCase to match client convention

The render/ tree was the only place in the client still using kebab-case
filenames. Brings ~80 files in line with the rest of src/client/
(BuildPreviewController, TransformHandler, etc.). Directories kept as
they were (name-pass/, fx-pass/, passes/, utils/, debug/) since the
codebase already mixes those.

Two collisions surfaced and got resolved: render/types/ is a directory,
not a file, so its imports kept the lowercase form; and the sed pass
incidentally normalized core/pathfinding imports, which had to be
reverted since that file is actually lowercase on disk despite some
imports having referenced it as ./Types under macOS case-insensitive
resolution.
This commit is contained in:
evanpelle
2026-05-17 21:21:05 -07:00
parent 5a9694e2bd
commit 4cd22a9b5c
88 changed files with 244 additions and 244 deletions
+7 -7
View File
@@ -26,13 +26,13 @@ import { UnitGrid, UnitPredicate } from "../../core/game/UnitGrid";
import { ClientID, GameID, Player, PlayerCosmetics } from "../../core/Schemas";
import { formatPlayerDisplayName } from "../../core/Util";
import { WorkerClient } from "../../core/worker/WorkerClient";
import { computeAllianceClusters } from "../render/frame/derive/alliance-clusters";
import { extractAttackRings } from "../render/frame/derive/attack-rings";
import { extractNukeTelegraphs } from "../render/frame/derive/nuke-telegraphs";
import { computePlayerStatus } from "../render/frame/derive/player-status";
import { buildRelationMatrix } from "../render/frame/derive/relation-matrix";
import { RailroadCache } from "../render/frame/railroad-cache";
import { TrailManager } from "../render/frame/trail-manager";
import { computeAllianceClusters } from "../render/frame/derive/AllianceClusters";
import { extractAttackRings } from "../render/frame/derive/AttackRings";
import { extractNukeTelegraphs } from "../render/frame/derive/NukeTelegraphs";
import { computePlayerStatus } from "../render/frame/derive/PlayerStatus";
import { buildRelationMatrix } from "../render/frame/derive/RelationMatrix";
import { RailroadCache } from "../render/frame/RailroadCache";
import { TrailManager } from "../render/frame/TrailManager";
import type { FrameData, NameEntry, TilePair } from "../render/types";
import { STRUCTURE_TYPES } from "../render/types";
import { PlayerView } from "./PlayerView";