-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy Astrabit-ST/luminol-website to Astrabit-ST/luminol-website:gh-…
…pages
- Loading branch information
GitHub Actions
committed
Feb 13, 2024
0 parents
commit 699133f
Showing
29 changed files
with
556 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<!doctype html> | ||
<title>404 Not Found</title> | ||
<h1>404 Not Found</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
luminol.dev |
Binary file not shown.
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.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<!-- | ||
Copyright (c) 2024 Lily Lyons | ||
This software is released under the MIT License. | ||
https://opensource.org/licenses/MIT | ||
--> | ||
|
||
|
||
|
||
<!doctype html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>Luminol</title> | ||
|
||
<link rel="stylesheet" href="/site.css" /> | ||
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico"> | ||
<meta property="og:url" content="https://luminol.dev"> | ||
<meta property="og:url" content="Luminol is a FOSS remake of RPG Maker!"> | ||
|
||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
|
||
|
||
</head> | ||
|
||
<body> | ||
<div class="layout"> | ||
<header class="layout__header header"> | ||
<div class="header__content"> | ||
|
||
<div class="header__left-block"> | ||
<a href="/" class="header__logo"> | ||
<img class="logo" src="/assets/luminol_library_logo.png" alt="A spilled beaker with glowing liquid"> | ||
</a> | ||
</div> | ||
|
||
<nav class="header__menu main-menu" role="navigation" data-page-menu-switch-state-container> | ||
<div class="main-menu__content"> | ||
<ul class="main-menu__menu"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="main-menu__entry "> | ||
<a href="/luminol-build/index.html" class="main-menu__link"> | ||
<span>Web Build</span> | ||
</a> | ||
</li> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="main-menu__entry "> | ||
<a href="/news" class="main-menu__link"> | ||
<span>News</span> | ||
</a> | ||
</li> | ||
|
||
</ul> | ||
</div> | ||
</nav> | ||
|
||
<div class="header__cta-container"> | ||
<a class="header__cta header__cta--icon" href="https://github.com/Astrabit-ST/Luminol"> | ||
<img src="https://cdn.simpleicons.org/github/4287f5" alt="The GitHub logo"> | ||
</a> | ||
<a class="header__cta header__cta--icon" href="https://store.steampowered.com/app/2501490/Luminol/"> | ||
<img src="https://cdn.simpleicons.org/steam/4287f5" alt="The Steam logo"> | ||
</a> | ||
</div> | ||
|
||
</div> | ||
</header> | ||
|
||
<main class="layout__content"> | ||
<div class="container"> | ||
|
||
<h1 class="title"> | ||
Test zola thing | ||
|
||
<a href="/luminol-build/index.html">dajbds</a> | ||
|
||
<button class="button">Click me</button> | ||
</h1> | ||
|
||
</div> | ||
</main> | ||
|
||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// Copyright (C) 2023 Lily Lyons | ||
// | ||
// This file is part of Luminol. | ||
// | ||
// Luminol is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// Luminol is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with Luminol. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
function error(msg) { | ||
console.error(msg); | ||
alert(msg); | ||
window.stop(); | ||
throw null; | ||
} | ||
|
||
// We need a secure context for several things: | ||
// * File System API | ||
// * Service Workers | ||
// * WebGPU | ||
if (!window.isSecureContext) { | ||
error( | ||
"Luminol does not work with http://. " | ||
+ "Please visit the https:// version of this website." | ||
); | ||
} | ||
|
||
// Firefox in private browsing mode doesn't work because service workers aren't | ||
// available and we need service workers | ||
if (window.netscape !== undefined && !window.navigator.serviceWorker) { | ||
error( | ||
"Due to Firefox bug #1320796, you cannot use Luminol in private " | ||
+ "browsing mode in Firefox, Tor Browser, IceCat or any other " | ||
+ "Firefox-based browser.\n\nPlease exit private browsing mode or use " | ||
+ "a different browser." | ||
); | ||
} |
Binary file not shown.
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><meta content="text/html; charset=utf-8" http-equiv=Content-Type><meta content="width=device-width,initial-scale=1.0,user-scalable=no" name=viewport><title>Luminol</title><link data-reference-types=true data-trunk data-trunk-id=0 data-wasm-opt=2 data-weak-refs=true rel=rust><meta content="FOSS RPG Maker editor" name=description><meta content=games name=keywords><meta content="Lily Madeline Lyons" name=author><link href=./manifest.json rel=manifest><link href=./favicon.ico rel=icon><link href=./icon_ios_touch_192.png rel=apple-touch-icon><meta media="(prefers-color-scheme: light)" content=white name=theme-color><meta media="(prefers-color-scheme: dark)" content=#404040 name=theme-color><style>html{touch-action:manipulation}body{background:#909090}@media (prefers-color-scheme:dark){body{background:#404040}}html,body{width:100%;height:100%;overflow:hidden;margin:0!important;padding:0!important}canvas{margin-left:auto;margin-right:auto;display:block;position:absolute;top:0%;left:0%}.centered{color:#f0f0f0;text-align:center;margin-left:auto;margin-right:auto;font-family:Ubuntu-Light,Helvetica,sans-serif;font-size:24px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.lds-dual-ring{width:24px;height:24px;display:inline-block}.lds-dual-ring:after{content:" ";border:3px solid #fff;border-color:#fff #0000;border-radius:50%;width:24px;height:24px;margin:0;animation:1.2s linear infinite lds-dual-ring;display:block}@keyframes lds-dual-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}</style></head><body><iframe allow=autoplay style=display:none></iframe><div id=luminol-canvas></div><script src=./compat-test.js></script><script src=./sw.js></script><script src=./main.js type=module></script></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright (C) 2023 Lily Lyons | ||
// | ||
// This file is part of Luminol. | ||
// | ||
// Luminol is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// Luminol is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with Luminol. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
window.restartLuminol = async function() { | ||
// We need to reload luminol.js every time by invalidating the cache, | ||
// otherwise it'll just reload the same WebAssembly module every time | ||
// instead of reinstantiating it | ||
const invalidator = crypto.randomUUID(); | ||
|
||
const { default: wasm_bindgen, luminol_main_start } = await import(`./luminol.js?luminol-invalidator=${invalidator}`); | ||
|
||
await wasm_bindgen(); | ||
luminol_main_start(); | ||
}; | ||
|
||
await window.restartLuminol(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "Luminol Editor", | ||
"short_name": "Luminol", | ||
"icons": [ | ||
{ | ||
"src": "./icon-256.png", | ||
"sizes": "256x256", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "./maskable_icon_x512.png", | ||
"sizes": "512x512", | ||
"type": "image/png", | ||
"purpose": "any maskable" | ||
}, | ||
{ | ||
"src": "./icon-1024.png", | ||
"sizes": "1024x1024", | ||
"type": "image/png" | ||
} | ||
], | ||
"lang": "en-US", | ||
"id": "/index.html", | ||
"start_url": "./index.html", | ||
"display": "standalone", | ||
"background_color": "white", | ||
"theme_color": "white" | ||
} |
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
1
luminol-build/dist/snippets/luminol-2259570c05034c4b/inline0.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
69 changes: 69 additions & 0 deletions
69
luminol-build/dist/snippets/luminol-web-029f3ef4959524b5/js/bindings.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// Copyright (C) 2023 Lily Lyons | ||
// | ||
// This file is part of Luminol. | ||
// | ||
// Luminol is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// Luminol is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with Luminol. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
export function is_worker() { | ||
return typeof DedicatedWorkerGlobalScope === 'function' | ||
&& self instanceof DedicatedWorkerGlobalScope; | ||
} | ||
|
||
export function worker() { | ||
return is_worker() ? self : null; | ||
} | ||
|
||
// A binding for this attribute was added in July 2023 but hasn't made its way into a release of | ||
// web-sys as of September 2023 | ||
export function performance(worker) { | ||
return worker.performance; | ||
} | ||
|
||
export function filesystem_supported() { | ||
return typeof window?.showOpenFilePicker === 'function' | ||
&& typeof window?.showDirectoryPicker === 'function' | ||
&& typeof FileSystemFileHandle === 'function' | ||
&& typeof FileSystemWritableFileStream === 'function'; | ||
} | ||
|
||
export async function _show_directory_picker() { | ||
return await window.showDirectoryPicker({ mode: 'readwrite' }); | ||
} | ||
|
||
export async function _show_file_picker(filter_name, extensions) { | ||
return (await window.showOpenFilePicker({ | ||
types: [{ | ||
description: filter_name, | ||
accept: { 'application/x-empty': extensions }, | ||
}], | ||
excludeAcceptAllOption: true, | ||
}))[0]; | ||
} | ||
|
||
export function dir_values(dir) { | ||
return dir.values(); | ||
} | ||
|
||
export async function _request_permission(handle) { | ||
if (typeof window?.__FILE_SYSTEM_TOOLS__?.parseHandle === 'function') { | ||
// If the user is using https://github.com/ichaoX/ext-file without enabling `FS_CONFIG.CLONE_ENABLED`, | ||
// this is required to restore the `.requestPermission` method on a dir handle restored from IndexedDB | ||
handle = window.__FILE_SYSTEM_TOOLS__.parseHandle(handle); | ||
} | ||
return (await handle.requestPermission({ mode: 'readwrite' })) === 'granted'; | ||
} | ||
|
||
export function cross_origin_isolated() { | ||
return crossOriginIsolated === true; | ||
} |
6 changes: 6 additions & 0 deletions
6
luminol-build/dist/snippets/wasm-bindgen-futures-71a7d08015a6834b/src/task/worker.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
onmessage = function (ev) { | ||
let [ia, index, value] = ev.data; | ||
ia = new Int32Array(ia.buffer); | ||
let result = Atomics.wait(ia, index, value); | ||
postMessage(result); | ||
}; |
Oops, something went wrong.