Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
📦️ Update tankopedia
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Oct 2, 2023
1 parent 26a4c86 commit d6024ca
Show file tree
Hide file tree
Showing 17 changed files with 131 additions and 1 deletion.
132 changes: 131 additions & 1 deletion src/tankopedia/vendored.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use crate::models::{TankId, Vehicle, VehicleAvailability::*, VehicleType::*};

pub static ALL_TANK_IDS: [TankId; 612] = [
pub static ALL_TANK_IDS: [TankId; 625] = [
TankId(1),
TankId(17),
TankId(33),
Expand Down Expand Up @@ -320,20 +320,24 @@ pub static ALL_TANK_IDS: [TankId; 612] = [
TankId(11265),
TankId(11281),
TankId(11297),
TankId(11377),
TankId(11393),
TankId(11521),
TankId(11537),
TankId(11553),
TankId(11585),
TankId(11633),
TankId(11649),
TankId(11777),
TankId(11793),
TankId(11809),
TankId(11889),
TankId(11905),
TankId(12033),
TankId(12049),
TankId(12065),
TankId(12097),
TankId(12145),
TankId(12161),
TankId(12305),
TankId(12321),
Expand All @@ -359,22 +363,27 @@ pub static ALL_TANK_IDS: [TankId; 612] = [
TankId(14145),
TankId(14209),
TankId(14337),
TankId(14465),
TankId(14609),
TankId(14625),
TankId(14721),
TankId(14865),
TankId(14881),
TankId(14977),
TankId(15137),
TankId(15233),
TankId(15393),
TankId(15441),
TankId(15489),
TankId(15617),
TankId(15649),
TankId(15697),
TankId(15745),
TankId(15889),
TankId(15905),
TankId(15937),
TankId(15953),
TankId(16001),
TankId(16145),
TankId(16193),
TankId(16209),
Expand Down Expand Up @@ -488,6 +497,7 @@ pub static ALL_TANK_IDS: [TankId; 612] = [
TankId(23297),
TankId(23313),
TankId(23329),
TankId(23377),
TankId(23553),
TankId(23569),
TankId(23585),
Expand Down Expand Up @@ -517,16 +527,19 @@ pub static ALL_TANK_IDS: [TankId; 612] = [
TankId(26113),
TankId(26129),
TankId(26145),
TankId(26369),
TankId(26401),
TankId(26641),
TankId(26657),
TankId(26897),
TankId(26913),
TankId(27169),
TankId(27425),
TankId(27681),
TankId(27937),
TankId(28193),
TankId(28449),
TankId(28705),
TankId(51201),
TankId(51457),
TankId(51473),
Expand Down Expand Up @@ -937,20 +950,24 @@ pub const fn is_known_tank_id(tank_id: TankId) -> bool {
| TankId(11265)
| TankId(11281)
| TankId(11297)
| TankId(11377)
| TankId(11393)
| TankId(11521)
| TankId(11537)
| TankId(11553)
| TankId(11585)
| TankId(11633)
| TankId(11649)
| TankId(11777)
| TankId(11793)
| TankId(11809)
| TankId(11889)
| TankId(11905)
| TankId(12033)
| TankId(12049)
| TankId(12065)
| TankId(12097)
| TankId(12145)
| TankId(12161)
| TankId(12305)
| TankId(12321)
Expand All @@ -976,22 +993,27 @@ pub const fn is_known_tank_id(tank_id: TankId) -> bool {
| TankId(14145)
| TankId(14209)
| TankId(14337)
| TankId(14465)
| TankId(14609)
| TankId(14625)
| TankId(14721)
| TankId(14865)
| TankId(14881)
| TankId(14977)
| TankId(15137)
| TankId(15233)
| TankId(15393)
| TankId(15441)
| TankId(15489)
| TankId(15617)
| TankId(15649)
| TankId(15697)
| TankId(15745)
| TankId(15889)
| TankId(15905)
| TankId(15937)
| TankId(15953)
| TankId(16001)
| TankId(16145)
| TankId(16193)
| TankId(16209)
Expand Down Expand Up @@ -1105,6 +1127,7 @@ pub const fn is_known_tank_id(tank_id: TankId) -> bool {
| TankId(23297)
| TankId(23313)
| TankId(23329)
| TankId(23377)
| TankId(23553)
| TankId(23569)
| TankId(23585)
Expand Down Expand Up @@ -1134,16 +1157,19 @@ pub const fn is_known_tank_id(tank_id: TankId) -> bool {
| TankId(26113)
| TankId(26129)
| TankId(26145)
| TankId(26369)
| TankId(26401)
| TankId(26641)
| TankId(26657)
| TankId(26897)
| TankId(26913)
| TankId(27169)
| TankId(27425)
| TankId(27681)
| TankId(27937)
| TankId(28193)
| TankId(28449)
| TankId(28705)
| TankId(51201)
| TankId(51457)
| TankId(51473)
Expand Down Expand Up @@ -3773,6 +3799,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Researchable,
image_content: include_bytes!("vendored/11297.webp"),
}),
TankId(11377) => Some(Vehicle {
tank_id: TankId(11377),
name: "Basilisk",
tier: 7,
type_: Medium,
availability: Researchable,
image_content: include_bytes!("vendored/11377.webp"),
}),
TankId(11393) => Some(Vehicle {
tank_id: TankId(11393),
name: "Bassotto",
Expand Down Expand Up @@ -3813,6 +3847,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Researchable,
image_content: include_bytes!("vendored/11585.webp"),
}),
TankId(11633) => Some(Vehicle {
tank_id: TankId(11633),
name: "Forest Witch",
tier: 7,
type_: Heavy,
availability: Researchable,
image_content: include_bytes!("vendored/11633.webp"),
}),
TankId(11649) => Some(Vehicle {
tank_id: TankId(11649),
name: "Semovente M41",
Expand Down Expand Up @@ -3845,6 +3887,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Premium,
image_content: include_bytes!("vendored/11809.webp"),
}),
TankId(11889) => Some(Vehicle {
tank_id: TankId(11889),
name: "Nebulon",
tier: 8,
type_: Medium,
availability: Researchable,
image_content: include_bytes!("vendored/11889.webp"),
}),
TankId(11905) => Some(Vehicle {
tank_id: TankId(11905),
name: "Shadowhunter",
Expand Down Expand Up @@ -3885,6 +3935,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Researchable,
image_content: include_bytes!("vendored/12097.webp"),
}),
TankId(12145) => Some(Vehicle {
tank_id: TankId(12145),
name: "Glacier",
tier: 9,
type_: Medium,
availability: Researchable,
image_content: include_bytes!("vendored/12145.webp"),
}),
TankId(12161) => Some(Vehicle {
tank_id: TankId(12161),
name: "Strv K",
Expand Down Expand Up @@ -4085,6 +4143,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Researchable,
image_content: include_bytes!("vendored/14337.webp"),
}),
TankId(14465) => Some(Vehicle {
tank_id: TankId(14465),
name: "DS PZInż",
tier: 5,
type_: Medium,
availability: Researchable,
image_content: include_bytes!("vendored/14465.webp"),
}),
TankId(14609) => Some(Vehicle {
tank_id: TankId(14609),
name: "Leopard 1",
Expand Down Expand Up @@ -4141,6 +4207,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Collectible,
image_content: include_bytes!("vendored/15137.webp"),
}),
TankId(15233) => Some(Vehicle {
tank_id: TankId(15233),
name: "CS-59",
tier: 9,
type_: Medium,
availability: Researchable,
image_content: include_bytes!("vendored/15233.webp"),
}),
TankId(15393) => Some(Vehicle {
tank_id: TankId(15393),
name: "T54E1",
Expand All @@ -4157,6 +4231,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Premium,
image_content: include_bytes!("vendored/15441.webp"),
}),
TankId(15489) => Some(Vehicle {
tank_id: TankId(15489),
name: "CS-53",
tier: 8,
type_: Medium,
availability: Researchable,
image_content: include_bytes!("vendored/15489.webp"),
}),
TankId(15617) => Some(Vehicle {
tank_id: TankId(15617),
name: "Obj. 907",
Expand All @@ -4181,6 +4263,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Premium,
image_content: include_bytes!("vendored/15697.webp"),
}),
TankId(15745) => Some(Vehicle {
tank_id: TankId(15745),
name: "CS-44",
tier: 7,
type_: Medium,
availability: Researchable,
image_content: include_bytes!("vendored/15745.webp"),
}),
TankId(15889) => Some(Vehicle {
tank_id: TankId(15889),
name: "VK 30.02 M",
Expand Down Expand Up @@ -4213,6 +4303,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Premium,
image_content: include_bytes!("vendored/15953.webp"),
}),
TankId(16001) => Some(Vehicle {
tank_id: TankId(16001),
name: "B.U.G.I.",
tier: 6,
type_: Medium,
availability: Researchable,
image_content: include_bytes!("vendored/16001.webp"),
}),
TankId(16145) => Some(Vehicle {
tank_id: TankId(16145),
name: "Pz.Sfl. IVc",
Expand Down Expand Up @@ -5117,6 +5215,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Researchable,
image_content: include_bytes!("vendored/23329.webp"),
}),
TankId(23377) => Some(Vehicle {
tank_id: TankId(23377),
name: "FV1066 Senlac",
tier: 8,
type_: Light,
availability: Premium,
image_content: include_bytes!("vendored/23377.webp"),
}),
TankId(23553) => Some(Vehicle {
tank_id: TankId(23553),
name: "MS-1",
Expand Down Expand Up @@ -5349,6 +5455,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Collectible,
image_content: include_bytes!("vendored/26145.webp"),
}),
TankId(26369) => Some(Vehicle {
tank_id: TankId(26369),
name: "ST-62 Ver. 2",
tier: 8,
type_: Medium,
availability: Premium,
image_content: include_bytes!("vendored/26369.webp"),
}),
TankId(26401) => Some(Vehicle {
tank_id: TankId(26401),
name: "Enforcer",
Expand All @@ -5373,6 +5487,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Premium,
image_content: include_bytes!("vendored/26657.webp"),
}),
TankId(26897) => Some(Vehicle {
tank_id: TankId(26897),
name: "Kpz. Pr.68 (P)",
tier: 8,
type_: Medium,
availability: Premium,
image_content: include_bytes!("vendored/26897.webp"),
}),
TankId(26913) => Some(Vehicle {
tank_id: TankId(26913),
name: "Frosty",
Expand Down Expand Up @@ -5429,6 +5551,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Premium,
image_content: include_bytes!("vendored/28449.webp"),
}),
TankId(28705) => Some(Vehicle {
tank_id: TankId(28705),
name: "XM66F",
tier: 10,
type_: AntiTank,
availability: Collectible,
image_content: include_bytes!("vendored/28705.webp"),
}),
TankId(51201) => Some(Vehicle {
tank_id: TankId(51201),
name: "KV-220 T",
Expand Down
Binary file added src/tankopedia/vendored/11377.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/11633.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/11889.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/12145.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/14465.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/15233.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/15489.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/15745.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/16001.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/23377.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/26369.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/26897.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/28705.webp
Binary file not shown.
Binary file modified src/tankopedia/vendored/3377.webp
Binary file not shown.
Binary file modified src/tankopedia/vendored/3889.webp
Binary file not shown.
Binary file modified src/tankopedia/vendored/4913.webp
Binary file not shown.

0 comments on commit d6024ca

Please sign in to comment.