mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: hull origins
This commit is contained in:
1 parent
3e12d6bb9d
commit
5295aa37be
14 files changed
+225
-259
No files matched your search
+22
-18
@@ -21,6 +21,17 @@ export interface DuelMember {
|
||||
shell: ShellDefinition;
|
||||
}
|
||||
interface TankopediaPersistent {
|
||||
model: {
|
||||
equipment: {
|
||||
enhancedArmor: boolean;
|
||||
calibratedShells: boolean;
|
||||
};
|
||||
visual: {
|
||||
controlsEnabled: boolean;
|
||||
showGrid: boolean;
|
||||
greenPenetration: boolean;
|
||||
};
|
||||
};
|
||||
sort: {
|
||||
by: TankopediaSortBy;
|
||||
direction: TankopediaSortDirection;
|
||||
@@ -43,15 +54,6 @@ interface TankopediaTemporary {
|
||||
yaw: number;
|
||||
pitch: number;
|
||||
};
|
||||
equipment: {
|
||||
enhancedArmor: boolean;
|
||||
calibratedShells: boolean;
|
||||
};
|
||||
visual: {
|
||||
controlsEnabled: boolean;
|
||||
showGrid: boolean;
|
||||
greenPenetration: boolean;
|
||||
};
|
||||
};
|
||||
equipmentMatrix: EquipmentMatrix;
|
||||
mode: TankopediaMode;
|
||||
@@ -60,6 +62,17 @@ interface TankopediaTemporary {
|
||||
export const useTankopediaPersistent = create<TankopediaPersistent>()(
|
||||
persist(
|
||||
subscribeWithSelector<TankopediaPersistent>(() => ({
|
||||
model: {
|
||||
equipment: {
|
||||
enhancedArmor: false,
|
||||
calibratedShells: false,
|
||||
},
|
||||
visual: {
|
||||
controlsEnabled: true,
|
||||
showGrid: true,
|
||||
greenPenetration: false,
|
||||
},
|
||||
},
|
||||
sort: {
|
||||
by: 'tier',
|
||||
direction: 'descending',
|
||||
@@ -84,15 +97,6 @@ export const useTankopediaTemporary = create<TankopediaTemporary>()(
|
||||
yaw: 0,
|
||||
pitch: 0,
|
||||
},
|
||||
equipment: {
|
||||
enhancedArmor: false,
|
||||
calibratedShells: false,
|
||||
},
|
||||
visual: {
|
||||
controlsEnabled: true,
|
||||
showGrid: true,
|
||||
greenPenetration: false,
|
||||
},
|
||||
},
|
||||
equipmentMatrix: [
|
||||
[1, 0, 0],
|
||||
|
||||
Reference in new issue
Block a user