@textadventures/quest-viva-wasmplayer 6.0.0-rc.2 → 6.0.0-rc.4

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.
Binary file
Binary file
Binary file
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-L7+WPVMj97fbBO7JBarVisnkSJN7I4Y6Ook9SMR38vQ=",
4
+ "hash": "sha256-hMFBuWsfh4xLOVs7AiahO6jfvTAPUfiIUd7z955Vl5I=",
5
5
  "jsModuleNative": [
6
6
  {
7
7
  "name": "dotnet.native.js"
@@ -15,7 +15,7 @@ export const config = /*json-start*/{
15
15
  "wasmNative": [
16
16
  {
17
17
  "name": "dotnet.native.wasm",
18
- "hash": "sha256-PD6YW/FtoJrGEAg0+M49hO+M2CYxN8L+tU/gqBs5/M0="
18
+ "hash": "sha256-qdY4nPO5Ul8f6HCM/J55XAxkKJUJsfVWhAnFJov5J5A="
19
19
  }
20
20
  ],
21
21
  "icu": [
@@ -39,7 +39,7 @@ export const config = /*json-start*/{
39
39
  {
40
40
  "virtualPath": "System.Private.CoreLib.wasm",
41
41
  "name": "System.Private.CoreLib.wasm",
42
- "hash": "sha256-NeAZZ4GPGagCMls6McEL22D+Yrr1n/nEd3qYsmPJ04E="
42
+ "hash": "sha256-E/wNheuUarfUP6CFaUtfI40ude/CaRjfv+cC9AMLYaE="
43
43
  },
44
44
  {
45
45
  "virtualPath": "System.Runtime.InteropServices.JavaScript.wasm",
@@ -51,12 +51,12 @@ export const config = /*json-start*/{
51
51
  {
52
52
  "virtualPath": "Common.wasm",
53
53
  "name": "Common.wasm",
54
- "hash": "sha256-di4sncFkWm123vYsNgsYmWwFZb/bhXeiM9uYoWAhUzo="
54
+ "hash": "sha256-sF+pN0J7rSVGCCcJ2dTxHZTXJNY8swq1/p78LGiKh6c="
55
55
  },
56
56
  {
57
57
  "virtualPath": "Engine.wasm",
58
58
  "name": "Engine.wasm",
59
- "hash": "sha256-64UHsCTskqKpYT1ZLNboOxoZ6DSHoIObxr2clYWe1xY="
59
+ "hash": "sha256-vdmsczcJc9N4Ymkm7oyxFoAwsd9K2t4NmK8bCr9JQYg="
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-/jwbxaxy0FA1rEnTagOp4u1mA1AjP8MK1T53JjNPWaE="
69
+ "hash": "sha256-M88Kqc6bElGqyzf/B+kBF470bhCPF6Tk5ukoyhh+PQ4="
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-cEmV0Px0i/Gp0zuk37h34Ud7NexUiq1YvkR5wruumrM="
104
+ "hash": "sha256-x9QrGqAVL/8GzrskMQeM2Z6y5HyjL7hgKIKCdU9sPpo="
105
105
  },
106
106
  {
107
107
  "virtualPath": "System.Collections.Concurrent.wasm",
@@ -166,7 +166,7 @@ export const config = /*json-start*/{
166
166
  {
167
167
  "virtualPath": "System.Linq.wasm",
168
168
  "name": "System.Linq.wasm",
169
- "hash": "sha256-ylLAxvneVLAXl+tCrKHSNqRbp97SvDXcfOA8I09Un28="
169
+ "hash": "sha256-8XogBK7arm1ybAm92iU8LymqrSRJou6H2afR0ttm7NI="
170
170
  },
171
171
  {
172
172
  "virtualPath": "System.Linq.Expressions.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-xtrfsbv2sMEBDtHLW/+hfXmYxQg9GEEu7pFn+vYg9Lk="
244
+ "hash": "sha256-a3eyo6DZA/ptT5vRB0uVxl4vTl2HrQam8jHmcss8ytg="
245
245
  }
246
246
  ]
247
247
  },
Binary file
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.2" />
7
+ <link rel="icon" type="image/svg+xml" href="favicon.svg?v=6.0.0-rc.4" />
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.2" />
18
- <script type="text/javascript" src="quest-config.js?v=6.0.0-rc.2"></script>
17
+ <link rel="modulepreload" href="_framework/dotnet.js?v=6.0.0-rc.4" />
18
+ <script type="text/javascript" src="quest-config.js?v=6.0.0-rc.4"></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.2"></script>
37
- <script type="text/javascript" src="lib/jquery-ui.min.js?v=6.0.0-rc.2"></script>
38
- <script type="text/javascript" src="lib/jquery.multi-open-accordion-1.5.3.js?v=6.0.0-rc.2"></script>
39
- <link rel="stylesheet" type="text/css" href="lib/jquery-ui.min.css?v=6.0.0-rc.2" />
40
- <link rel="stylesheet" type="text/css" href="playercore.css?v=6.0.0-rc.2" />
36
+ <script type="text/javascript" src="lib/jquery-2.1.1.min.js?v=6.0.0-rc.4"></script>
37
+ <script type="text/javascript" src="lib/jquery-ui.min.js?v=6.0.0-rc.4"></script>
38
+ <script type="text/javascript" src="lib/jquery.multi-open-accordion-1.5.3.js?v=6.0.0-rc.4"></script>
39
+ <link rel="stylesheet" type="text/css" href="lib/jquery-ui.min.css?v=6.0.0-rc.4" />
40
+ <link rel="stylesheet" type="text/css" href="playercore.css?v=6.0.0-rc.4" />
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.2" />
46
- <script type="text/javascript" src="playercore.js?v=6.0.0-rc.2"></script>
47
- <script type="text/javascript" src="player.js?v=6.0.0-rc.2"></script>
48
- <script type="text/javascript" src="lib/paper.js?v=6.0.0-rc.2"></script>
49
- <script>window.QuestVivaVersion = "6.0.0-rc.2";</script>
50
- <script type="text/javascript" src="wasm-player.js?v=6.0.0-rc.2"></script>
45
+ <link rel="stylesheet" type="text/css" href="chrome.css?v=6.0.0-rc.4" />
46
+ <script type="text/javascript" src="playercore.js?v=6.0.0-rc.4"></script>
47
+ <script type="text/javascript" src="player.js?v=6.0.0-rc.4"></script>
48
+ <script type="text/javascript" src="lib/paper.js?v=6.0.0-rc.4"></script>
49
+ <script>window.QuestVivaVersion = "6.0.0-rc.4";</script>
50
+ <script type="text/javascript" src="wasm-player.js?v=6.0.0-rc.4"></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.2" alt="" class="h-7" />
57
+ <img src="logo.svg?v=6.0.0-rc.4" 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.2",
3
+ "version": "6.0.0-rc.4",
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((_turnPending || _gameFinished) ? "disable" : "enable");
435
+ $("#cmdSave").button(_turnPending ? "disable" : "enable");
431
436
  }
432
437
 
433
438
  function setTurnPending(pending) {