mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-01-10 18:21:15 +00:00
Add Extended Bad Ending FMV option
This commit is contained in:
parent
b461e1d79a
commit
084e0546da
9
app.js
9
app.js
@ -36,6 +36,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
const hdMusic = document.getElementById('check-hd-music');
|
||||
const widescreenBgs = document.getElementById('check-widescreen-bgs');
|
||||
const outroFmv = document.getElementById('check-outro');
|
||||
const badEnding = document.getElementById('check-ending');
|
||||
|
||||
// --- Sound Toggle ---
|
||||
function updateSoundEmojiState() {
|
||||
@ -324,6 +325,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
if (key == "files") {
|
||||
elements["HD Music"].checked = config[key].includes("hdmusic.si");
|
||||
elements["Widescreen Backgrounds"].checked = config[key].includes("widescreen.si");
|
||||
elements["Extended Bad Ending FMV"].checked = config[key].includes("badend.si");
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -521,6 +523,10 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
checkInitialCacheStatus();
|
||||
});
|
||||
|
||||
badEnding.addEventListener('change', () => {
|
||||
checkInitialCacheStatus();
|
||||
});
|
||||
|
||||
rendererSelect.addEventListener('change', () => {
|
||||
showOrHideGraphicsOptions();
|
||||
});
|
||||
@ -547,6 +553,9 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
if (widescreenBgs && widescreenBgs.checked) {
|
||||
siFiles.push('/LEGO/extra/widescreen.si');
|
||||
}
|
||||
if (badEnding && badEnding.checked) {
|
||||
siFiles.push('/LEGO/extra/badend.si');
|
||||
}
|
||||
return siFiles;
|
||||
}
|
||||
|
||||
|
||||
11
index.html
11
index.html
@ -434,7 +434,9 @@
|
||||
for modern widescreen monitors, eliminating unwanted 3D backgrounds on the
|
||||
sides of the screen. An extra 1MB download is
|
||||
required when this is enabled.<br><br>
|
||||
<strong>Outro FMV:</strong> Plays the unused Outro animation upon exiting the game.
|
||||
<strong>Outro FMV:</strong> Plays the unused Outro animation upon exiting the game.<br><br>
|
||||
<strong>Extended Bad Ending FMV:</strong> Plays the extended / "uncut" Bad Ending animation
|
||||
as found in beta versions of the game upon failing to catch the Brickster.
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
@ -467,6 +469,13 @@
|
||||
Outro FMV
|
||||
</label>
|
||||
</div>
|
||||
<div class="option-item">
|
||||
<input type="checkbox" id="check-ending" name="Extended Bad Ending FMV"
|
||||
data-not-ini="true">
|
||||
<label for="check-ending">
|
||||
Extended Bad Ending FMV
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
2
sw.js
2
sw.js
@ -10,7 +10,7 @@ const { Strategy } = workbox.strategies;
|
||||
const { CacheableResponsePlugin } = workbox.cacheableResponse;
|
||||
const { RangeRequestsPlugin } = workbox.rangeRequests;
|
||||
|
||||
precacheAndRoute([{"revision":"8fe8cf2a76f431a57eb2ce3964bff040","url":"index.html"},{"revision":"013ceb7d67293d532e979dde0347f3af","url":"cancel_off.webp"},{"revision":"bfc1563be018d82685716c6130529129","url":"cancel_on.webp"},{"revision":"d282c260fd35522036936bb6faf8ad21","url":"cdspin.gif"},{"revision":"3d820bf72b19bd4e437a61e75f317b83","url":"configure_off.webp"},{"revision":"e2c0c5e6aa1f7703c385a433a2d2a519","url":"configure_on.webp"},{"revision":"88e1e81c930d8e6c24dfdc7af274e812","url":"favicon.png"},{"revision":"d16b293eca457e2fb1e7ef2caca8c904","url":"favicon.svg"},{"revision":"d2b9c2e128ef1e5e4265c603b0bc3305","url":"free_stuff_off.webp"},{"revision":"cbc6a6779897f932c3a3c8dceb329804","url":"free_stuff_on.webp"},{"revision":"05fba4ef1884cbbd6afe09ea3325efc0","url":"install_off.webp"},{"revision":"11247e92082ba3d978a2e3785b0acf51","url":"install_on.webp"},{"revision":"d23ea8243c18eb217ef08fe607097824","url":"island.webp"},{"revision":"f7121ad76f7e4537f5b389797cb046bd","url":"isle.js"},{"revision":"15761be95198a49045143580b8e2674c","url":"isle.wasm"},{"revision":"6d4248f1a08c218943e582673179b7be","url":"poster.pdf"},{"revision":"a6fcac24a24996545c039a1755af33ea","url":"read_me_off.webp"},{"revision":"aae783d064996b4322e23b092d97ea4a","url":"read_me_on.webp"},{"revision":"766a9e6e6d890f24cef252e81753b29d","url":"run_game_off.webp"},{"revision":"70208e00e9ea641e4c98699f74100db3","url":"run_game_on.webp"},{"revision":"0a65c71d9983c9bb1bc6a5f405fd6fd9","url":"shark.webp"},{"revision":"88c1fd032e6fc16814690712a26c1ede","url":"uninstall_off.webp"},{"revision":"0118a4aca04c5fb0a525bf00b001844e","url":"uninstall_on.webp"},{"revision":"2d5b7c60916fb49bfd996f736d90e9d3","url":"app.js"},{"revision":"942885226607afc2faf4e4c99e166ed9","url":"style.css"},{"revision":"060210979e13e305510de6285e085db1","url":"manifest.json"},{"revision":"4f0172bc7007d34cebf681cc233ab57f","url":"install.webp"},{"revision":"6a70d35dadf51d2ec6e38a6202d7fb0b","url":"install.mp3"},{"revision":"eac041a0b8835bfea706d997b0b7b224","url":"downloader.js"}]);
|
||||
precacheAndRoute([{"revision":"9c5b1f402d0fc0d1d8003d6e557affd2","url":"index.html"},{"revision":"013ceb7d67293d532e979dde0347f3af","url":"cancel_off.webp"},{"revision":"bfc1563be018d82685716c6130529129","url":"cancel_on.webp"},{"revision":"d282c260fd35522036936bb6faf8ad21","url":"cdspin.gif"},{"revision":"3d820bf72b19bd4e437a61e75f317b83","url":"configure_off.webp"},{"revision":"e2c0c5e6aa1f7703c385a433a2d2a519","url":"configure_on.webp"},{"revision":"88e1e81c930d8e6c24dfdc7af274e812","url":"favicon.png"},{"revision":"d16b293eca457e2fb1e7ef2caca8c904","url":"favicon.svg"},{"revision":"d2b9c2e128ef1e5e4265c603b0bc3305","url":"free_stuff_off.webp"},{"revision":"cbc6a6779897f932c3a3c8dceb329804","url":"free_stuff_on.webp"},{"revision":"05fba4ef1884cbbd6afe09ea3325efc0","url":"install_off.webp"},{"revision":"11247e92082ba3d978a2e3785b0acf51","url":"install_on.webp"},{"revision":"d23ea8243c18eb217ef08fe607097824","url":"island.webp"},{"revision":"f7121ad76f7e4537f5b389797cb046bd","url":"isle.js"},{"revision":"b16aa4656aa15ead554983a9a81b8067","url":"isle.wasm"},{"revision":"6d4248f1a08c218943e582673179b7be","url":"poster.pdf"},{"revision":"a6fcac24a24996545c039a1755af33ea","url":"read_me_off.webp"},{"revision":"aae783d064996b4322e23b092d97ea4a","url":"read_me_on.webp"},{"revision":"766a9e6e6d890f24cef252e81753b29d","url":"run_game_off.webp"},{"revision":"70208e00e9ea641e4c98699f74100db3","url":"run_game_on.webp"},{"revision":"0a65c71d9983c9bb1bc6a5f405fd6fd9","url":"shark.webp"},{"revision":"88c1fd032e6fc16814690712a26c1ede","url":"uninstall_off.webp"},{"revision":"0118a4aca04c5fb0a525bf00b001844e","url":"uninstall_on.webp"},{"revision":"2e8cecb4c5ad01d21956b04e0e5030dd","url":"app.js"},{"revision":"942885226607afc2faf4e4c99e166ed9","url":"style.css"},{"revision":"060210979e13e305510de6285e085db1","url":"manifest.json"},{"revision":"4f0172bc7007d34cebf681cc233ab57f","url":"install.webp"},{"revision":"6a70d35dadf51d2ec6e38a6202d7fb0b","url":"install.mp3"},{"revision":"eac041a0b8835bfea706d997b0b7b224","url":"downloader.js"}]);
|
||||
|
||||
const gameFiles = [
|
||||
"/LEGO/Scripts/CREDITS.SI", "/LEGO/Scripts/INTRO.SI", "/LEGO/Scripts/NOCD.SI", "/LEGO/Scripts/SNDANIM.SI",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user