Skip to content

Commit

Permalink
Merge branch 'main' into clay-shields-mg-rn
Browse files Browse the repository at this point in the history
  • Loading branch information
claysmalley committed Jun 3, 2024
2 parents cded92d + 938c590 commit 99f9a0c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc-img/shield_map_world.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/js/shield_defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1839,6 +1839,22 @@ export function loadShields() {
},
};
shields["US:NY:Truck"] = banneredShield(shields["US:NY"], ["TRK"]);
shields["US:NY:Inner_Loop"] = {
...trapezoidDownShield(
10,
Color.shields.white,
Color.shields.black,
Color.shields.black,
4
),
padding: {
left: 4,
right: 4,
top: 3,
bottom: 3,
},
};
shields["US:NY:Inner_Loop"].ref = "LOOP";
shields["US:NY:Thruway"] = {
noref: {
spriteBlank: "shield_us_ny_thruway",
Expand Down Expand Up @@ -2925,6 +2941,12 @@ export function loadShields() {
Color.shields.white
);

// Niger
shields["NE:N-roads"] = roundedRectShield(
Color.shields.red,
Color.shields.white
);

// ASIA

// Armenia
Expand Down
4 changes: 4 additions & 0 deletions src/shieldtest.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,10 @@ const iterShields = function* () {
network: "US:NH:Turnpike",
names: ["Blue Star Turnpike", "Everett Turnpike", "Spaulding Turnpike"],
};
yield {
network: "US:NY:Inner_Loop",
names: ["Inner Loop"],
};
};

const renderAllShields = async () => {
Expand Down

0 comments on commit 99f9a0c

Please sign in to comment.