Skip to content

Commit

Permalink
Add and update songs
Browse files Browse the repository at this point in the history
  • Loading branch information
noahm committed Oct 23, 2019
1 parent e0083d2 commit 41fb9b7
Show file tree
Hide file tree
Showing 27 changed files with 1,243 additions and 20 deletions.
2 changes: 1 addition & 1 deletion scripts/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const dataFiles = [
'a20.json'
];

const hasError = false;
let hasError = false;
for (const dataFile of dataFiles) {
const songData = require(`../src/songs/${dataFile}`);
const result = validateJSONSchema(songData, songsSchema, {
Expand Down
4 changes: 3 additions & 1 deletion songs.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
"required": [
"name",
"artist",
"genre",
"double",
"artist_translation",
"bpm",
Expand Down Expand Up @@ -128,6 +127,9 @@
},
"extra_exclusive": {
"type": "boolean"
},
"unlock": {
"type": "boolean"
}
},
"required": ["difficulty", "step", "shock", "freeze"]
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"hide": "Hide Controls",
"invalid": "Couldn't draw anything with current settings!",
"unlock": "Unlockable songs",
"tempUnlock": "Formerly unlockable (SDVX)",
"tempUnlock": "Formerly unlockable (SDVX, DRS, etc)",
"goldExclusive": "20th Gold Cab Exclusive",
"extraExclusive": "Final/Extra Exclusive",
"usLocked": "Japan-only songs",
Expand Down
Binary file added src/assets/jackets/Afterimage_d'automne.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/BLACK_JACKAL.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Crazy_Shuffle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/DOWNER_&_UPPER.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Haunted_maid_lunch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Midnight_WAR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/OurMemories.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Rampage_Hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/SWEET_HOME_PARTY.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Saishou_sanbai_kanzensuu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Six_String_Proof.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Small_Steps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/The_World_Ends_Now.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Toy_boxer.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Trill_auf_G.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Une_mage_blanche.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/jackets/Voltississimo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/card-draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export function draw(songs, configData) {
if (
!chart || // no chart for difficulty
!difficulties.has(key) || // don't want this difficulty
(!inclusions.has("unlock") && chart["unlock"]) || // chart must be individually unlocked
(!inclusions.has("usLocked") && chart["us_locked"]) || // chart is locked for us
(!inclusions.has("extraExclusive") && chart["extra_exclusive"]) || // chart is extra/final exclusive
+chart.difficulty < lowerBound || // too easy
Expand Down
3 changes: 2 additions & 1 deletion src/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function Icon({ src, title }) {
}

const lastUpdate = new Intl.DateTimeFormat(detectedLanguage).format(
new Date(2019, 8, 15)
// note that month is zero-indexed for date constructor :)
new Date(2019, 9, 22)
);

export function Footer() {
Expand Down
2 changes: 1 addition & 1 deletion src/song-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
cursor: pointer;
display: flex;
flex-direction: column;
min-height: 100px;
min-height: 130px;
color: white;
text-shadow: 0px 0px 10px black, 1px 1px 1px black;
font-family: Evogria, 'Russo One', Arial, 'Helvetica Neue', Helvetica, sans-serif;
Expand Down
Loading

0 comments on commit 41fb9b7

Please sign in to comment.