mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-12 09:13:51 +00:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user