Commit Graph
4904 Commits
Author SHA1 Message Date
tresabhi 1a19cff268 applyDynamicArmor 2026-10-04 17:25:20 -05:00
tresabhi 870f7d799b applyReactiveArmor 2026-10-04 17:22:23 -05:00
tresabhi 4e1219486d penetration 2026-10-04 17:08:03 -05:00
tresabhi bf132a7387 start of scripts 2026-10-04 16:42:35 -05:00
tresabhi b4175dc60d Merge branch 'main' into data-driven 2026-10-04 16:34:02 -05:00
tresabhi 6ebb2810ad Merge branch 'main' into data-driven 2026-10-04 16:33:53 -05:00
tresabhi 116c30be88 logs 2026-10-04 14:22:04 -05:00
TrèsAbhi e0ba100e91 Merge pull request #281 from Hitjack007/translate-margin 2026-10-04 14:14:06 -05:00
tresabhi 60a92fbfdf pixel perfect fix 2026-10-04 14:13:55 -05:00
TrèsAbhi 5ba62d2952 Merge branch 'main' into translate-margin 2026-10-04 14:09:20 -05:00
TrèsAbhi 91f2b7afd0 Merge pull request #280 from Hitjack007/filter-defaults 2026-10-04 14:08:54 -05:00
TrèsAbhi 1bdd8bab9e Merge branch 'main' into filter-defaults 2026-10-04 14:07:27 -05:00
TrèsAbhi bded8a4da5 Merge pull request #279 from Hitjack007/stale-info 2026-10-04 14:07:10 -05:00
TrèsAbhi 95d6d8a1ae Merge branch 'main' into stale-info 2026-10-04 14:06:06 -05:00
TrèsAbhi 5f61bac375 Merge pull request #278 from Hitjack007/reload-visualiser 2026-10-04 14:05:41 -05:00
TrèsAbhi c310e8475e Merge branch 'main' into reload-visualiser 2026-10-04 14:04:17 -05:00
TrèsAbhi e090aee984 Merge pull request #277 from Hitjack007/search-issues 2026-10-04 14:03:54 -05:00
tresabhi f3a8f2faab only supply full name if it's different 2026-10-04 14:03:32 -05:00
TrèsAbhi 0539d69c7f Merge pull request #276 from Hitjack007/tank-title-and-loading-bars-difference 2026-10-04 13:57:50 -05:00
TrèsAbhi ccbb572999 Merge pull request #264 from Hitjack007/gun-depression-visualiser 2026-10-04 13:54:10 -05:00
TrèsAbhi 89b8f25918 Merge branch 'main' into gun-depression-visualiser 2026-10-04 13:52:37 -05:00
TrèsAbhi fee2c8212d Merge pull request #262 from Hitjack007/spall-liner-in-tankopdiea-model-viewer 2026-10-04 13:52:01 -05:00
tresabhi 9a659845f5 make spall icon not a button 2026-10-04 13:51:53 -05:00
tresabhi ebdb8577da Merge branch 'spall-liner-in-tankopdiea-model-viewer' of https://github.com/hitjack007/blitzkit into pr/Hitjack007/262 2026-10-04 13:48:28 -05:00
TrèsAbhi b880b8cdbd Merge branch 'main' into spall-liner-in-tankopdiea-model-viewer 2026-10-04 13:47:04 -05:00
tresabhi dd11efd481 running 2026-10-04 13:37:21 -05:00
tresabhi 6be4ff97f3 env 2026-10-04 13:36:33 -05:00
tresabhi 784c3e58c1 protos 2026-10-04 13:27:46 -05:00
tresabhi 8b03784be5 clis 2026-10-04 13:21:21 -05:00
tresabhi d9f29cd0c9 start of docs 2026-10-04 13:11:36 -05:00
TrèsAbhi 86e7ace3f0 Remove misleading text
Removed contribution note regarding sensitive submodules.
2026-10-04 12:22:36 -05:00
tresabhi 067c9cb267 simpler bug forms 2026-10-03 22:10:10 -05:00
tresabhi 8d5ef29771 feature 2026-10-03 22:05:07 -05:00
tresabhi a5637c9f07 format 2026-10-03 22:01:26 -05:00
tresabhi d7e06a2b46 email link 2026-10-03 21:52:39 -05:00
tresabhi 551183a65b yml 2026-10-03 21:51:50 -05:00
tresabhi 46bd8f6316 add template 2026-10-03 21:51:21 -05:00
TrèsAbhi f8aa9e75d5 Update issue templates 2026-10-03 21:42:03 -05:00
Mark Greene b4770c1497 Fix: uneven margin around the help translate link
The "Help translate BlitzKit" link on the home page had only a bottom margin, so it sat flush against the hero above while the tool grid below added extra space.

Add a top margin so the space above matches the space below, leaving the bottom margin unchanged.
2026-10-04 14:44:39 +13:00
Mark Greene cef393473f Fix: testing and unlocked filters off by default and exclusive
Both buttons in the testing and unlocked filter pairs started on, so showing only one kind meant turning the other kind off.

Start all four filters off, treat a pair with neither button on as showing everything, and make the buttons in each pair mutually exclusive: turning one on turns its partner off, and clicking an active one turns it off. The playlist page now sets the unlocked filter on (and locked off) explicitly, since the old default no longer provides that.
2026-10-04 14:39:30 +13:00
Mark Greene 6fb14d5544 Fix: footer game version and CDN label
The footer showed the game's full version with its build number and labelled the environment as "CDN".

Show only the part of the game version before the underscore (e.g. 11.20), and rename the "CDN" label to "Branch" since it shows the environment/branch the site was built from.
2026-10-04 14:36:18 +13:00
Mark Greene 2e46ba79cf Fix: reload times show one decimal from a shared constant
The reload visualizer and the Firepower reload rows showed two decimals.

Add an exported `RELOAD_PRECISION` (1) in the reload visualizer and use it for the visualizer's times and placeholders and for the Firepower reload rows (per-shell reloads, reload and intra-clip).
2026-10-04 14:33:24 +13:00
Mark Greene 6153beced6 Fix: search redirecting early and missing full tank names
**Enter key**
- Enter redirected to the previous results' first tank while a search was still buffering, because the key handler captured a stale `searching` value.
- Enter on an empty field redirected to the first tank of the unfiltered list (Sheridan).
- The handler now reads live filter state and only acts when there is a settled search, matching the quick-link button.

**Full names in search**
- Search only knew short tank names, so queries like "super pershing" found nothing when the game stores a short form.
- Add an optional `name_full` to `TankDefinition`, filled from the game's full name when a short name exists, and index it (plus an accent-stripped copy) in `fetchTankNames` / `SEARCH_KEYS`.
- Displayed names are unchanged. Full names become searchable once the definitions are regenerated on the next build.
2026-10-04 14:24:02 +13:00
Mark Greene 90006dfd2a Fix: loading bar too close to tank title
The hero loading bar was offset below the title by half the font size plus a fixed 16px. The title is centered as a line box, so its descenders and heavy caps reach lower than half the font size, and the fixed gap didn't grow with the title.

Offset the bar by 0.75 of the font size instead, so the gap scales with the title.
2026-10-04 14:14:57 +13:00
Mark Greene 98b555fa7e Fix: gun depression visualizer ignoring turret mount tilt
The gun flexibility visualizer at the bottom of the Tankopedia Firepower section computed depression/elevation purely from the raw gun `pitch.min`/`pitch.max` values, ignoring `initial_turret_rotation.pitch` (the tank's baked-in turret mount tilt). Every other place that reports gun depression/elevation already accounts for this offset; the visualizer was the outlier.

On tanks with a level turret mount the offset is zero, so it was invisible almost everywhere. Minotauro's turret sits pitched 3° forward, which made the visualizer's min/max/pitch stats and wedge shape disagree with the Firepower stats directly above it (e.g. 7°/-18° instead of 10°/15°).

**Changes:**
- `GunFlexibilityVisualizer/index.tsx`: fold the turret's initial pitch offset into `minPitch`, `maxPitch` and the displayed `pitch` stat, and into the drawn limit shape, the pitch dot and the pointer mapping, so the dashed neutrality circle sits at the displayed 0°.
- `GunFlexibilityVisualizer/components/CanvasContent.tsx`: nest the gun mesh inside a turret group carrying the same static tilt as its base rotation, so the mini 3D preview's live drag-pitch composes on top of it, mirroring `useTankTransform.ts`.
2026-10-04 13:38:20 +13:00
Mark Greene 0bdb66742b Feature: Add Spall Liner toggle to Tankopedia model viewer
## Summary
- Add a Spall Liner toggle button to the Tankopedia model viewer, placed alongside the existing Calibrated Shells / Enhanced Armor buttons. It's only shown for tanks that can actually equip Spall Liner.
- The toggle reads/writes the same `Duel.protagonist.provisions` array as the Provisions tab, so both stay in sync automatically.
- If a provision slot is free, clicking equips Spall Liner immediately. If all slots are full, a popover shows icons with a shuffle arrow so you can pick which active provision to swap out in one step.
- Buttons use the same medium rounding as the consumable buttons on the tank page.
- When Spall Liner is equipped, the Dynamic Armor 3D viewer's click-damage tooltip now applies the same 20% HE damage reduction Spall Liner grants in-game.
- Refactored the hardcoded `-0.2` HE damage coefficient in `tankCharacteristics.ts` into a shared constant so the Compare tool and the 3D viewer use a single source of truth.

## Scope
This only affects the single-tank Tankopedia page. The Firepower stats table (the viewed tank's own outgoing gun damage) is intentionally untouched, since a defensive damage reduction would be semantically backwards there. The Dynamic Armor viewer's click tooltip is the only place a "damage taken by this tank" number exists, so that's where the reduction is wired in.
2026-10-04 13:27:34 +13:00
TrèsAbhi f3e8cdd5e0 add GNU AGPLv3 2026-10-03 14:18:59 -05:00
TrèsAbhi 962c3c78d0 Delete LICENSE.md 2026-10-03 14:17:57 -05:00
TrèsAbhi 04805675dd Merge pull request #274 from blitzkit/main-i18n
New Crowdin updates
2026-10-02 15:38:11 -07:00
tresabhi 4028df0886 dash 2026-10-02 17:37:42 -05:00