From 96be203f6f5311e736cbd4c5996f4cec74a9cefb Mon Sep 17 00:00:00 2001 From: Vaclav Siml Date: Sat, 25 Feb 2023 13:23:26 +0100 Subject: [PATCH] Configurable game icons --- ui/Vars.js | 10 ++++++++-- ui/index.html | 20 ++++++++++++++------ 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/ui/Vars.js b/ui/Vars.js index fa283d3..b27ed6a 100644 --- a/ui/Vars.js +++ b/ui/Vars.js @@ -34,7 +34,13 @@ var ImgPath4 = "JPGS/exceed gear.jpg" var ImgPath5 = "" var ImgPath6 = "" +// Game Titles +var Title1 = "Sound Voltex III: Gravity Wars" +var Title2 = "Sound Voltex IV: Heavenly Haven" +var Title3 = "Sound Voltex V: Vivid Wave" +var Title4 = "Sound Voltex VI: Exceed GEAR" +var Title5 = "GAME1" +var Title6 = "GAME2" - -if(module) // kdyz to neimportujes pres require tak module bude undefined +if(module) module.exports = { ExitKey1, ExitKey2, GameExe1, GameExe2, GameExe3, GameExe4, GameExe5, GameExe6 }; diff --git a/ui/index.html b/ui/index.html index 3f86b1f..971093b 100644 --- a/ui/index.html +++ b/ui/index.html @@ -19,27 +19,27 @@ @@ -52,6 +52,14 @@ document.getElementById("img4").src = ImgPath4; document.getElementById("img5").src = ImgPath5; document.getElementById("img6").src = ImgPath6; + + document.getElementById("title1").innerHTML = Title1; + document.getElementById("title2").innerHTML = Title2; + document.getElementById("title3").innerHTML = Title3; + document.getElementById("title4").innerHTML = Title4; + document.getElementById("title5").innerHTML = Title5; + document.getElementById("title6").innerHTML = Title6; +