@textadventures/quest-viva-wasmplayer 6.1.0-beta.1 → 6.1.0-beta.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/System.Text.Json.wasm +0 -0
- package/_framework/WasmPlayer.wasm +0 -0
- package/_framework/dotnet.js +9 -9
- package/chrome.css +1 -1
- package/export-manifest.json +1 -1
- package/fonts/courier-prime/LICENSE.txt +93 -0
- package/fonts/courier-prime/latin-400-italic.woff2 +0 -0
- package/fonts/courier-prime/latin-400-normal.woff2 +0 -0
- package/fonts/courier-prime/latin-700-italic.woff2 +0 -0
- package/fonts/courier-prime/latin-700-normal.woff2 +0 -0
- package/fonts/courier-prime/latin-ext-400-italic.woff2 +0 -0
- package/fonts/courier-prime/latin-ext-400-normal.woff2 +0 -0
- package/fonts/courier-prime/latin-ext-700-italic.woff2 +0 -0
- package/fonts/courier-prime/latin-ext-700-normal.woff2 +0 -0
- package/fonts/fonts.css +500 -0
- package/fonts/literata/LICENSE.txt +93 -0
- package/fonts/literata/cyrillic-400-italic.woff2 +0 -0
- package/fonts/literata/cyrillic-400-normal.woff2 +0 -0
- package/fonts/literata/cyrillic-700-italic.woff2 +0 -0
- package/fonts/literata/cyrillic-700-normal.woff2 +0 -0
- package/fonts/literata/cyrillic-ext-400-italic.woff2 +0 -0
- package/fonts/literata/cyrillic-ext-400-normal.woff2 +0 -0
- package/fonts/literata/cyrillic-ext-700-italic.woff2 +0 -0
- package/fonts/literata/cyrillic-ext-700-normal.woff2 +0 -0
- package/fonts/literata/greek-400-italic.woff2 +0 -0
- package/fonts/literata/greek-400-normal.woff2 +0 -0
- package/fonts/literata/greek-700-italic.woff2 +0 -0
- package/fonts/literata/greek-700-normal.woff2 +0 -0
- package/fonts/literata/greek-ext-400-italic.woff2 +0 -0
- package/fonts/literata/greek-ext-400-normal.woff2 +0 -0
- package/fonts/literata/greek-ext-700-italic.woff2 +0 -0
- package/fonts/literata/greek-ext-700-normal.woff2 +0 -0
- package/fonts/literata/latin-400-italic.woff2 +0 -0
- package/fonts/literata/latin-400-normal.woff2 +0 -0
- package/fonts/literata/latin-700-italic.woff2 +0 -0
- package/fonts/literata/latin-700-normal.woff2 +0 -0
- package/fonts/literata/latin-ext-400-italic.woff2 +0 -0
- package/fonts/literata/latin-ext-400-normal.woff2 +0 -0
- package/fonts/literata/latin-ext-700-italic.woff2 +0 -0
- package/fonts/literata/latin-ext-700-normal.woff2 +0 -0
- package/fonts/literata/vietnamese-400-italic.woff2 +0 -0
- package/fonts/literata/vietnamese-400-normal.woff2 +0 -0
- package/fonts/literata/vietnamese-700-italic.woff2 +0 -0
- package/fonts/literata/vietnamese-700-normal.woff2 +0 -0
- package/fonts/nunito/LICENSE.txt +93 -0
- package/fonts/nunito/cyrillic-400-italic.woff2 +0 -0
- package/fonts/nunito/cyrillic-400-normal.woff2 +0 -0
- package/fonts/nunito/cyrillic-700-italic.woff2 +0 -0
- package/fonts/nunito/cyrillic-700-normal.woff2 +0 -0
- package/fonts/nunito/cyrillic-ext-400-italic.woff2 +0 -0
- package/fonts/nunito/cyrillic-ext-400-normal.woff2 +0 -0
- package/fonts/nunito/cyrillic-ext-700-italic.woff2 +0 -0
- package/fonts/nunito/cyrillic-ext-700-normal.woff2 +0 -0
- package/fonts/nunito/latin-400-italic.woff2 +0 -0
- package/fonts/nunito/latin-400-normal.woff2 +0 -0
- package/fonts/nunito/latin-700-italic.woff2 +0 -0
- package/fonts/nunito/latin-700-normal.woff2 +0 -0
- package/fonts/nunito/latin-ext-400-italic.woff2 +0 -0
- package/fonts/nunito/latin-ext-400-normal.woff2 +0 -0
- package/fonts/nunito/latin-ext-700-italic.woff2 +0 -0
- package/fonts/nunito/latin-ext-700-normal.woff2 +0 -0
- package/fonts/nunito/vietnamese-400-italic.woff2 +0 -0
- package/fonts/nunito/vietnamese-400-normal.woff2 +0 -0
- package/fonts/nunito/vietnamese-700-italic.woff2 +0 -0
- package/fonts/nunito/vietnamese-700-normal.woff2 +0 -0
- package/fonts/special-elite/LICENSE.txt +201 -0
- package/fonts/special-elite/latin-400-normal.woff2 +0 -0
- package/fonts/special-elite/latin-ext-400-normal.woff2 +0 -0
- package/fonts/vt323/LICENSE.txt +93 -0
- package/fonts/vt323/latin-400-normal.woff2 +0 -0
- package/fonts/vt323/latin-ext-400-normal.woff2 +0 -0
- package/fonts/vt323/vietnamese-400-normal.woff2 +0 -0
- package/index.html +14 -10
- package/legacy/playercore.js +12 -1
- package/legacy/questui.js +52 -0
- package/package.json +1 -1
- package/v2/player.htm +5 -1
- package/v2/v2.css +1 -1
- package/v2/v2.js +1 -1
- package/wasm-player.js +143 -15
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2014 The Nunito Project Authors (https://github.com/googlefonts/nunito) Nunito-Italic[wght].ttf: Copyright 2014 The Nunito Project Authors (https://github.com/googlefonts/nunito)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright (c) 2010 by Brian J. Bonislawsky DBA Astigmatic (AOETI). All rights reserved. Available under the Apache 2.0 licence. http://www.apache.org/licenses/LICENSE-2.0.html
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2011, The VT323 Project Authors (peter.hull@oikoi.com)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
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.1.0-beta.
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="favicon.svg?v=6.1.0-beta.3" />
|
|
8
8
|
<!-- Site-level link-preview tags. This page is static and only learns which game
|
|
9
9
|
it's playing after boot, so a shared ?id= link can't name the game — keep the
|
|
10
10
|
card small and generic: no og:image, and no og:url or canonical, which would
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
here (scripts/inject-version.mjs), which is also what makes the
|
|
24
24
|
preload and wasm-player.js's own import() agree on one URL and share a
|
|
25
25
|
single fetch. -->
|
|
26
|
-
<link rel="modulepreload" href="_framework/dotnet.js?v=6.1.0-beta.
|
|
27
|
-
<script type="text/javascript" src="quest-config.js?v=6.1.0-beta.
|
|
26
|
+
<link rel="modulepreload" href="_framework/dotnet.js?v=6.1.0-beta.3" />
|
|
27
|
+
<script type="text/javascript" src="quest-config.js?v=6.1.0-beta.3"></script>
|
|
28
28
|
<script type="text/javascript">
|
|
29
29
|
// Runs before the start screen is parsed, so when a game is specified via the
|
|
30
30
|
// URL (or a defaultGameUrl is configured) we paint straight into the loading
|
|
@@ -50,17 +50,20 @@
|
|
|
50
50
|
styles/chrome.css via `npm run build` — see WasmPlayer/package.json. All of
|
|
51
51
|
its rules are contained to `.qv-chrome` subtrees so they can't affect the
|
|
52
52
|
game UI. -->
|
|
53
|
-
<link rel="stylesheet" type="text/css" href="chrome.css?v=6.1.0-beta.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
<
|
|
53
|
+
<link rel="stylesheet" type="text/css" href="chrome.css?v=6.1.0-beta.3" />
|
|
54
|
+
<!-- The fonts built into the player (the themes' fonts), which any game can name. A font's
|
|
55
|
+
files are only downloaded once something uses it. See scripts/fetch-builtin-fonts.mjs. -->
|
|
56
|
+
<link rel="stylesheet" type="text/css" href="fonts/fonts.css?v=6.1.0-beta.3" />
|
|
57
|
+
<script type="text/javascript" src="game-saver.js?v=6.1.0-beta.3"></script>
|
|
58
|
+
<script>window.QuestVivaVersion = "6.1.0-beta.3";</script>
|
|
59
|
+
<script type="text/javascript" src="wasm-player.js?v=6.1.0-beta.3"></script>
|
|
57
60
|
</head>
|
|
58
61
|
<body>
|
|
59
62
|
<div id="qv-start" class="qv-chrome">
|
|
60
63
|
<div class="card preset-filled-surface-100-900 w-full max-w-md p-8 space-y-6" data-theme="wintry">
|
|
61
64
|
<div id="qv-brand">
|
|
62
65
|
<h1 class="h2 flex items-center gap-4">
|
|
63
|
-
<img src="logo.svg?v=6.1.0-beta.
|
|
66
|
+
<img src="logo.svg?v=6.1.0-beta.3" alt="" class="h-7" />
|
|
64
67
|
Quest Viva
|
|
65
68
|
</h1>
|
|
66
69
|
</div>
|
|
@@ -83,7 +86,8 @@
|
|
|
83
86
|
<svg class="qv-icon" aria-hidden="true"><use href="#folder-open"></use></svg>
|
|
84
87
|
Choose file (.quest, .aslx, .asl, .cas)
|
|
85
88
|
</button>
|
|
86
|
-
<input type="file" id="qv-file-input" class="hidden" accept=".quest,.aslx,.asl,.cas">
|
|
89
|
+
<input type="file" id="qv-file-input" class="hidden" accept=".quest,.aslx,.asl,.cas" multiple>
|
|
90
|
+
<p class="text-xs text-surface-500 mt-2">If an .aslx game uses library files of its own, choose them together with the game.</p>
|
|
87
91
|
</div>
|
|
88
92
|
|
|
89
93
|
<div class="flex items-center gap-3 text-surface-500 text-xs">
|
|
@@ -111,7 +115,7 @@
|
|
|
111
115
|
</div>
|
|
112
116
|
|
|
113
117
|
<div id="qv-brand-small" class="hidden items-center justify-center gap-2 text-xs text-surface-500">
|
|
114
|
-
<img src="logo.svg?v=6.1.0-beta.
|
|
118
|
+
<img src="logo.svg?v=6.1.0-beta.3" alt="" class="h-3" />
|
|
115
119
|
Quest Viva
|
|
116
120
|
</div>
|
|
117
121
|
</div>
|
package/legacy/playercore.js
CHANGED
|
@@ -50,7 +50,7 @@ function initPlayerUI() {
|
|
|
50
50
|
$("#txtCommand").bind("inview", function (event, visible) {
|
|
51
51
|
// allows spacebar to scroll browser when txtCommand is not visible
|
|
52
52
|
if (visible == true) {
|
|
53
|
-
if (!_touchedElsewhere) $("#txtCommand").focus();
|
|
53
|
+
if (!_touchedElsewhere && !verbMenuHasFocus()) $("#txtCommand").focus();
|
|
54
54
|
} else {
|
|
55
55
|
$("#txtCommand").blur();
|
|
56
56
|
}
|
|
@@ -787,10 +787,21 @@ document.addEventListener("pointerdown", function (e) {
|
|
|
787
787
|
// same function to restore focus once the command bar comes back.
|
|
788
788
|
function focusCommandInput() {
|
|
789
789
|
if (_touchedElsewhere) return;
|
|
790
|
+
if (verbMenuHasFocus()) return;
|
|
790
791
|
if (!isElementVisible("#txtCommandDiv") || !isElementVisible("#txtCommand")) return;
|
|
791
792
|
document.getElementById("txtCommand")?.focus({preventScroll: true});
|
|
792
793
|
}
|
|
793
794
|
|
|
795
|
+
// True while the player is in an open verb menu. Nothing the game does by itself
|
|
796
|
+
// (a turn ending, a picture finishing loading and re-scrolling, the command bar
|
|
797
|
+
// scrolling into view) should take focus out of one: the menu's keys (arrows,
|
|
798
|
+
// Enter, Escape) only work while one of its items has focus, so a game that had just
|
|
799
|
+
// loaded could leave the player in a menu they can't close from the keyboard.
|
|
800
|
+
function verbMenuHasFocus() {
|
|
801
|
+
var active = document.activeElement;
|
|
802
|
+
return !!(active && active.closest && active.closest("div[id^=jjmenu]"));
|
|
803
|
+
}
|
|
804
|
+
|
|
794
805
|
// beginningOfCurrentTurnScrollPosition is set by markScrollPosition() before
|
|
795
806
|
// the turn began (see its own doc comment).
|
|
796
807
|
function scrollToEnd() {
|
package/legacy/questui.js
CHANGED
|
@@ -99,6 +99,55 @@
|
|
|
99
99
|
emit("locationChanged", { location: text });
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
+
// The lists the panes show, for a game's own JavaScript to draw its own way: QuestUI.lists()
|
|
103
|
+
// and an event each time one changes. The engine sends them after every turn and timer tick.
|
|
104
|
+
var listEvents = { inventory: "inventoryChanged", objects: "objectsChanged", exits: "exitsChanged", status: "statusChanged" };
|
|
105
|
+
var lists, receivedLists;
|
|
106
|
+
function resetLists() {
|
|
107
|
+
lists = { inventory: [], objects: [], exits: [], status: [] };
|
|
108
|
+
receivedLists = {};
|
|
109
|
+
}
|
|
110
|
+
resetLists();
|
|
111
|
+
function copy(value) {
|
|
112
|
+
return JSON.parse(JSON.stringify(value));
|
|
113
|
+
}
|
|
114
|
+
function setList(name, value) {
|
|
115
|
+
// Status is sent every turn whether it changed or not, and a game only wants to hear of a change.
|
|
116
|
+
if (receivedLists[name] && JSON.stringify(value) === JSON.stringify(lists[name])) return;
|
|
117
|
+
receivedLists[name] = true;
|
|
118
|
+
lists[name] = value;
|
|
119
|
+
emit(listEvents[name], name === "exits" ? { exits: copy(value) } : { items: copy(value) });
|
|
120
|
+
}
|
|
121
|
+
wrapGlobal("updateList", function (listName, listData) {
|
|
122
|
+
if (listName !== "inventory" && listName !== "placesobjects") return;
|
|
123
|
+
var items = [];
|
|
124
|
+
$.each(listData, function (key, value) {
|
|
125
|
+
var data = JSON.parse(value);
|
|
126
|
+
// As the pane does, places and objects leaves out the exits the compass has.
|
|
127
|
+
if (listName === "placesobjects" && $.inArray(data.Text, _compassDirs) !== -1) return;
|
|
128
|
+
items.push({
|
|
129
|
+
text: String(data.Text == null ? "" : data.Text),
|
|
130
|
+
name: String(data.ElementName == null ? "" : data.ElementName),
|
|
131
|
+
elementId: String(data.ElementId == null ? "" : data.ElementId),
|
|
132
|
+
verbs: (data.Verbs || []).map(String)
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
setList(listName === "inventory" ? "inventory" : "objects", items);
|
|
136
|
+
});
|
|
137
|
+
wrapGlobal("updateCompass", function (data) {
|
|
138
|
+
setList("exits", String(data == null ? "" : data).split("/").filter(Boolean));
|
|
139
|
+
});
|
|
140
|
+
// setStatusAttributes passes its structured items to updateStatus as text, so it leaves them
|
|
141
|
+
// here for updateStatus's wrapper; an older game's status is only ever text.
|
|
142
|
+
var pendingStatus = null;
|
|
143
|
+
wrapGlobal("updateStatus", function (text) {
|
|
144
|
+
var items = pendingStatus || String(text == null ? "" : text).split(/\r?\n|<br\s*\/?>/i)
|
|
145
|
+
.filter(function (line) { return line.trim(); })
|
|
146
|
+
.map(function (line) { return { text: line }; });
|
|
147
|
+
pendingStatus = null;
|
|
148
|
+
setList("status", items);
|
|
149
|
+
});
|
|
150
|
+
|
|
102
151
|
var originalScrollToEnd = window.scrollToEnd;
|
|
103
152
|
window.scrollToEnd = function () {
|
|
104
153
|
if (autoScroll) originalScrollToEnd.apply(this, arguments);
|
|
@@ -383,6 +432,7 @@
|
|
|
383
432
|
setLocation: function (text) { updateLocation(text); },
|
|
384
433
|
setStatusAttributes: function (items) {
|
|
385
434
|
if (typeof items === "string") items = JSON.parse(items);
|
|
435
|
+
pendingStatus = (items || []).filter(function (item) { return item && typeof item === "object"; });
|
|
386
436
|
updateStatus((items || []).map(function (item) {
|
|
387
437
|
return item.text != null ? item.text : "";
|
|
388
438
|
}).join("<br/>"));
|
|
@@ -435,6 +485,7 @@
|
|
|
435
485
|
},
|
|
436
486
|
setCommandPlaceholder: function (text) { $("#txtCommand").attr("placeholder", text); },
|
|
437
487
|
setMapInteractive: setMapInteractive,
|
|
488
|
+
lists: function () { return copy(lists); },
|
|
438
489
|
on: function (event, fn) {
|
|
439
490
|
if (typeof fn !== "function") return;
|
|
440
491
|
(listeners[event] = listeners[event] || new Set()).add(fn);
|
|
@@ -450,6 +501,7 @@
|
|
|
450
501
|
window.resetQuestUIState = function () {
|
|
451
502
|
authorPanes = {};
|
|
452
503
|
listeners = {};
|
|
504
|
+
resetLists();
|
|
453
505
|
autoScroll = true;
|
|
454
506
|
fadeOutput = false;
|
|
455
507
|
continueOnClick = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@textadventures/quest-viva-wasmplayer",
|
|
3
|
-
"version": "6.1.0-beta.
|
|
3
|
+
"version": "6.1.0-beta.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",
|