attachments

This commit is contained in:
tresabhi committed 2026-10-31 13:48:15 -05:00
1 parent b3064cdd3a
commit 11088ee3dc
6 files changed
+76 -51

No files matched your search

+19 -15
View File
@@ -81,6 +81,21 @@ interface LoaderState<Type> {
loaded: Type;
}
type HighlightArmor = {
editingPlate: boolean;
name: string;
point: Vector3;
thickness: number;
color: string;
} & (
| {
type: ArmorType.Primary | ArmorType.Spaced;
thicknessAngled: number;
angle: number;
}
| { type: ArmorType.External }
);
interface Tankopedia {
disturbed: boolean;
revealed: boolean;
@@ -98,22 +113,11 @@ interface Tankopedia {
attachment: LoaderState<number | undefined>;
};
// shot?: Shot;
shot?: Shot;
highlightArmor?: HighlightArmor;
// editStatic: boolean;
// highlightArmor?: {
// editingPlate: boolean;
// name: string;
// point: Vector3;
// thickness: number;
// color: string;
// } & (
// | {
// type: ArmorType.Primary | ArmorType.Spaced;
// thicknessAngled: number;
// angle: number;
// }
// | { type: ArmorType.External }
// );
// xpMultiplier: (typeof XP_MULTIPLIERS)[number];
// customShell?: ShellDefinition;
// statSearch?: string;