@textadventures/quest-viva-wasmplayer 6.0.0-rc.1 → 6.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_framework/Common.wasm +0 -0
- package/_framework/Engine.wasm +0 -0
- package/_framework/Legacy.wasm +0 -0
- package/_framework/PlayerCore.wasm +0 -0
- package/_framework/WasmPlayer.wasm +0 -0
- package/_framework/dotnet.boot.js +6 -6
- package/index.html +15 -15
- package/package.json +1 -1
- package/playercore.js +6 -1
package/_framework/Common.wasm
CHANGED
|
Binary file
|
package/_framework/Engine.wasm
CHANGED
|
Binary file
|
package/_framework/Legacy.wasm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const config = /*json-start*/{
|
|
2
2
|
"mainAssemblyName": "WasmPlayer.dll",
|
|
3
3
|
"resources": {
|
|
4
|
-
"hash": "sha256-
|
|
4
|
+
"hash": "sha256-SQRpS7Cg3LapkTTAqaNdCQzCGPrbRlZUYrsf8f0p0D8=",
|
|
5
5
|
"jsModuleNative": [
|
|
6
6
|
{
|
|
7
7
|
"name": "dotnet.native.js"
|
|
@@ -51,12 +51,12 @@ export const config = /*json-start*/{
|
|
|
51
51
|
{
|
|
52
52
|
"virtualPath": "Common.wasm",
|
|
53
53
|
"name": "Common.wasm",
|
|
54
|
-
"hash": "sha256
|
|
54
|
+
"hash": "sha256-Ld0zA6oaHXmLiZJVFqIuhKYMZ5yP6SpK84Gt5R7Qc8w="
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"virtualPath": "Engine.wasm",
|
|
58
58
|
"name": "Engine.wasm",
|
|
59
|
-
"hash": "sha256-
|
|
59
|
+
"hash": "sha256-UyJvbnfC7gCkC3l/DtdnRPB6JgmbL9g+YOjyZDZ4lLQ="
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"virtualPath": "ExtendedNumerics.BigDecimal.wasm",
|
|
@@ -66,7 +66,7 @@ export const config = /*json-start*/{
|
|
|
66
66
|
{
|
|
67
67
|
"virtualPath": "Legacy.wasm",
|
|
68
68
|
"name": "Legacy.wasm",
|
|
69
|
-
"hash": "sha256
|
|
69
|
+
"hash": "sha256-+1UAytQTlnuYYcrLPQ0ltChYZ8RoYakhiKJ1GNY78MU="
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"virtualPath": "Microsoft.Extensions.Logging.Abstractions.wasm",
|
|
@@ -101,7 +101,7 @@ export const config = /*json-start*/{
|
|
|
101
101
|
{
|
|
102
102
|
"virtualPath": "PlayerCore.wasm",
|
|
103
103
|
"name": "PlayerCore.wasm",
|
|
104
|
-
"hash": "sha256-
|
|
104
|
+
"hash": "sha256-Tm7EeGvnTkyD4hkLPTkn4KH3/qRQS0cSuBHolRabImE="
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"virtualPath": "System.Collections.Concurrent.wasm",
|
|
@@ -241,7 +241,7 @@ export const config = /*json-start*/{
|
|
|
241
241
|
{
|
|
242
242
|
"virtualPath": "WasmPlayer.wasm",
|
|
243
243
|
"name": "WasmPlayer.wasm",
|
|
244
|
-
"hash": "sha256-
|
|
244
|
+
"hash": "sha256-ZedYzXIwJOuzoKwQ5r8Sy4PAqhoY5VJgeExbef8gPEU="
|
|
245
245
|
}
|
|
246
246
|
]
|
|
247
247
|
},
|
package/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Quest Viva</title>
|
|
7
|
-
<link rel="icon" type="image/svg+xml" href="favicon.svg?v=6.0.0-rc.
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="favicon.svg?v=6.0.0-rc.3" />
|
|
8
8
|
<!-- Lets the preload scanner start the runtime loader before the parser has
|
|
9
9
|
even reached wasm-player.js, which as the last script in this head only
|
|
10
10
|
executes once jQuery/jQuery UI/paper.js have all downloaded *and* run.
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
here (scripts/inject-version.mjs), which is also what makes the
|
|
15
15
|
preload and wasm-player.js's own import() agree on one URL and share a
|
|
16
16
|
single fetch. -->
|
|
17
|
-
<link rel="modulepreload" href="_framework/dotnet.js?v=6.0.0-rc.
|
|
18
|
-
<script type="text/javascript" src="quest-config.js?v=6.0.0-rc.
|
|
17
|
+
<link rel="modulepreload" href="_framework/dotnet.js?v=6.0.0-rc.3" />
|
|
18
|
+
<script type="text/javascript" src="quest-config.js?v=6.0.0-rc.3"></script>
|
|
19
19
|
<script type="text/javascript">
|
|
20
20
|
// Runs before the start screen is parsed, so when a game is specified via the
|
|
21
21
|
// URL (or a defaultGameUrl is configured) we paint straight into the loading
|
|
@@ -33,28 +33,28 @@
|
|
|
33
33
|
html.qv-booting #qv-pickers { display: none; }
|
|
34
34
|
html.qv-booting #qv-loading-msg { display: flex; }
|
|
35
35
|
</style>
|
|
36
|
-
<script type="text/javascript" src="lib/jquery-2.1.1.min.js?v=6.0.0-rc.
|
|
37
|
-
<script type="text/javascript" src="lib/jquery-ui.min.js?v=6.0.0-rc.
|
|
38
|
-
<script type="text/javascript" src="lib/jquery.multi-open-accordion-1.5.3.js?v=6.0.0-rc.
|
|
39
|
-
<link rel="stylesheet" type="text/css" href="lib/jquery-ui.min.css?v=6.0.0-rc.
|
|
40
|
-
<link rel="stylesheet" type="text/css" href="playercore.css?v=6.0.0-rc.
|
|
36
|
+
<script type="text/javascript" src="lib/jquery-2.1.1.min.js?v=6.0.0-rc.3"></script>
|
|
37
|
+
<script type="text/javascript" src="lib/jquery-ui.min.js?v=6.0.0-rc.3"></script>
|
|
38
|
+
<script type="text/javascript" src="lib/jquery.multi-open-accordion-1.5.3.js?v=6.0.0-rc.3"></script>
|
|
39
|
+
<link rel="stylesheet" type="text/css" href="lib/jquery-ui.min.css?v=6.0.0-rc.3" />
|
|
40
|
+
<link rel="stylesheet" type="text/css" href="playercore.css?v=6.0.0-rc.3" />
|
|
41
41
|
<!-- App-chrome styles (start screen, debugger, save-slot manager). Built from
|
|
42
42
|
styles/chrome.css via `npm run build` — see WasmPlayer/package.json. All of
|
|
43
43
|
its rules are contained to `.qv-chrome` subtrees so they can't affect the
|
|
44
44
|
game UI above (playercore.css / jQuery UI). -->
|
|
45
|
-
<link rel="stylesheet" type="text/css" href="chrome.css?v=6.0.0-rc.
|
|
46
|
-
<script type="text/javascript" src="playercore.js?v=6.0.0-rc.
|
|
47
|
-
<script type="text/javascript" src="player.js?v=6.0.0-rc.
|
|
48
|
-
<script type="text/javascript" src="lib/paper.js?v=6.0.0-rc.
|
|
49
|
-
<script>window.QuestVivaVersion = "6.0.0-rc.
|
|
50
|
-
<script type="text/javascript" src="wasm-player.js?v=6.0.0-rc.
|
|
45
|
+
<link rel="stylesheet" type="text/css" href="chrome.css?v=6.0.0-rc.3" />
|
|
46
|
+
<script type="text/javascript" src="playercore.js?v=6.0.0-rc.3"></script>
|
|
47
|
+
<script type="text/javascript" src="player.js?v=6.0.0-rc.3"></script>
|
|
48
|
+
<script type="text/javascript" src="lib/paper.js?v=6.0.0-rc.3"></script>
|
|
49
|
+
<script>window.QuestVivaVersion = "6.0.0-rc.3";</script>
|
|
50
|
+
<script type="text/javascript" src="wasm-player.js?v=6.0.0-rc.3"></script>
|
|
51
51
|
</head>
|
|
52
52
|
<body>
|
|
53
53
|
<div id="qv-start" class="qv-chrome">
|
|
54
54
|
<div class="card preset-filled-surface-100-900 w-full max-w-md p-8 space-y-6" data-theme="wintry">
|
|
55
55
|
<div>
|
|
56
56
|
<h1 class="h2 flex items-center gap-4">
|
|
57
|
-
<img src="logo.svg?v=6.0.0-rc.
|
|
57
|
+
<img src="logo.svg?v=6.0.0-rc.3" alt="" class="h-7" />
|
|
58
58
|
Quest Viva
|
|
59
59
|
</h1>
|
|
60
60
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@textadventures/quest-viva-wasmplayer",
|
|
3
|
-
"version": "6.0.0-rc.
|
|
3
|
+
"version": "6.0.0-rc.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Quest Viva WasmPlayer runtime (browser-WASM text adventure player), published for CDN-linked single-file game exports.",
|
|
6
6
|
"license": "MIT",
|
package/playercore.js
CHANGED
|
@@ -426,8 +426,13 @@ var _pauseRestorePending = false;
|
|
|
426
426
|
var _turnPending = true;
|
|
427
427
|
var _gameFinished = false;
|
|
428
428
|
|
|
429
|
+
// _gameFinished deliberately does NOT gate this button (only _turnPending
|
|
430
|
+
// does): #cmdSave opens the combined Save/Load manager, and Load/Restart are
|
|
431
|
+
// still exactly what a player needs once the game has ended - disabling the
|
|
432
|
+
// whole button here previously locked those out too, with no other way back
|
|
433
|
+
// in (e.g. Electron has no page-reload to fall back on). See discussion #1828.
|
|
429
434
|
function updateSaveButtonEnabled() {
|
|
430
|
-
$("#cmdSave").button(
|
|
435
|
+
$("#cmdSave").button(_turnPending ? "disable" : "enable");
|
|
431
436
|
}
|
|
432
437
|
|
|
433
438
|
function setTurnPending(pending) {
|