Compare commits
8 commits
fe883cbeda
...
050a64014d
| Author | SHA1 | Date | |
|---|---|---|---|
| 050a64014d | |||
| 3cba805ec4 | |||
| 16ad73adfb | |||
| 37f32076be | |||
| 194f157140 | |||
| 2d247e34b4 | |||
| 4f0d2e2c4e | |||
| f731c6ffbf |
93 changed files with 2550 additions and 73 deletions
BIN
assets/fonts/Andika-Bold.ttf
Normal file
BIN
assets/fonts/Andika-Bold.ttf
Normal file
Binary file not shown.
36
assets/fonts/Andika-Bold.ttf.import
Normal file
36
assets/fonts/Andika-Bold.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bhcmpsn08ja0p"
|
||||
path="res://.godot/imported/Andika-Bold.ttf-9ab94555731f79d50486833f6315058c.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/Andika-Bold.ttf"
|
||||
dest_files=["res://.godot/imported/Andika-Bold.ttf-9ab94555731f79d50486833f6315058c.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/Andika-Italic.ttf
Normal file
BIN
assets/fonts/Andika-Italic.ttf
Normal file
Binary file not shown.
36
assets/fonts/Andika-Italic.ttf.import
Normal file
36
assets/fonts/Andika-Italic.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://1qtp0tpo56mq"
|
||||
path="res://.godot/imported/Andika-Italic.ttf-f918e89cb1d1f0f2c6d13e1d53997b0a.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/Andika-Italic.ttf"
|
||||
dest_files=["res://.godot/imported/Andika-Italic.ttf-f918e89cb1d1f0f2c6d13e1d53997b0a.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/Andika-Regular.ttf
Normal file
BIN
assets/fonts/Andika-Regular.ttf
Normal file
Binary file not shown.
36
assets/fonts/Andika-Regular.ttf.import
Normal file
36
assets/fonts/Andika-Regular.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://cyp2tgyr5kcxo"
|
||||
path="res://.godot/imported/Andika-Regular.ttf-00904cb2bff6d508136f8d8a00fe9717.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/Andika-Regular.ttf"
|
||||
dest_files=["res://.godot/imported/Andika-Regular.ttf-00904cb2bff6d508136f8d8a00fe9717.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/Cinzel-Variable.ttf
Normal file
BIN
assets/fonts/Cinzel-Variable.ttf
Normal file
Binary file not shown.
36
assets/fonts/Cinzel-Variable.ttf.import
Normal file
36
assets/fonts/Cinzel-Variable.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://860dx7ogmx0m"
|
||||
path="res://.godot/imported/Cinzel-Variable.ttf-cb8b22c0ce69aee9b0769de96b701b82.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/Cinzel-Variable.ttf"
|
||||
dest_files=["res://.godot/imported/Cinzel-Variable.ttf-cb8b22c0ce69aee9b0769de96b701b82.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/IMFellEnglish-Italic.ttf
Normal file
BIN
assets/fonts/IMFellEnglish-Italic.ttf
Normal file
Binary file not shown.
36
assets/fonts/IMFellEnglish-Italic.ttf.import
Normal file
36
assets/fonts/IMFellEnglish-Italic.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://d335g6xjoovv"
|
||||
path="res://.godot/imported/IMFellEnglish-Italic.ttf-ef0c18e92a8aa91154f2dd3d65632e6b.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/IMFellEnglish-Italic.ttf"
|
||||
dest_files=["res://.godot/imported/IMFellEnglish-Italic.ttf-ef0c18e92a8aa91154f2dd3d65632e6b.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/IMFellEnglish-Regular.ttf
Normal file
BIN
assets/fonts/IMFellEnglish-Regular.ttf
Normal file
Binary file not shown.
36
assets/fonts/IMFellEnglish-Regular.ttf.import
Normal file
36
assets/fonts/IMFellEnglish-Regular.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://dwne10b5j13q8"
|
||||
path="res://.godot/imported/IMFellEnglish-Regular.ttf-5e42b6a2f1d156d636779e545ec290b2.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/IMFellEnglish-Regular.ttf"
|
||||
dest_files=["res://.godot/imported/IMFellEnglish-Regular.ttf-5e42b6a2f1d156d636779e545ec290b2.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/Inter-Italic-Variable.ttf
Normal file
BIN
assets/fonts/Inter-Italic-Variable.ttf
Normal file
Binary file not shown.
36
assets/fonts/Inter-Italic-Variable.ttf.import
Normal file
36
assets/fonts/Inter-Italic-Variable.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://ccsi3jltdxsq"
|
||||
path="res://.godot/imported/Inter-Italic-Variable.ttf-a6201a11b555a87c32682443294fa705.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/Inter-Italic-Variable.ttf"
|
||||
dest_files=["res://.godot/imported/Inter-Italic-Variable.ttf-a6201a11b555a87c32682443294fa705.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/Inter-Variable.ttf
Normal file
BIN
assets/fonts/Inter-Variable.ttf
Normal file
Binary file not shown.
36
assets/fonts/Inter-Variable.ttf.import
Normal file
36
assets/fonts/Inter-Variable.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://cdniogvvp01rc"
|
||||
path="res://.godot/imported/Inter-Variable.ttf-e500b369badb17500bd3445af6919693.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/Inter-Variable.ttf"
|
||||
dest_files=["res://.godot/imported/Inter-Variable.ttf-e500b369badb17500bd3445af6919693.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
202
assets/fonts/LICENSE-SpecialElite.txt
Normal file
202
assets/fonts/LICENSE-SpecialElite.txt
Normal file
|
|
@ -0,0 +1,202 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
BIN
assets/fonts/Lexend-Variable.ttf
Normal file
BIN
assets/fonts/Lexend-Variable.ttf
Normal file
Binary file not shown.
36
assets/fonts/Lexend-Variable.ttf.import
Normal file
36
assets/fonts/Lexend-Variable.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://cfacecpia7dfp"
|
||||
path="res://.godot/imported/Lexend-Variable.ttf-4885cb7eafd5a5b4d2d1b8cb8467df00.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/Lexend-Variable.ttf"
|
||||
dest_files=["res://.godot/imported/Lexend-Variable.ttf-4885cb7eafd5a5b4d2d1b8cb8467df00.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/Lora-Italic-Variable.ttf
Normal file
BIN
assets/fonts/Lora-Italic-Variable.ttf
Normal file
Binary file not shown.
36
assets/fonts/Lora-Italic-Variable.ttf.import
Normal file
36
assets/fonts/Lora-Italic-Variable.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://pvg8x7a6je76"
|
||||
path="res://.godot/imported/Lora-Italic-Variable.ttf-1a64d8fb0fb646fabac788afae9e68ae.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/Lora-Italic-Variable.ttf"
|
||||
dest_files=["res://.godot/imported/Lora-Italic-Variable.ttf-1a64d8fb0fb646fabac788afae9e68ae.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/Lora-Variable.ttf
Normal file
BIN
assets/fonts/Lora-Variable.ttf
Normal file
Binary file not shown.
36
assets/fonts/Lora-Variable.ttf.import
Normal file
36
assets/fonts/Lora-Variable.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://chpsk8u4fegum"
|
||||
path="res://.godot/imported/Lora-Variable.ttf-5c3566c5ff300d6ce024388f2ec55b1f.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/Lora-Variable.ttf"
|
||||
dest_files=["res://.godot/imported/Lora-Variable.ttf-5c3566c5ff300d6ce024388f2ec55b1f.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
94
assets/fonts/OFL-Andika.txt
Normal file
94
assets/fonts/OFL-Andika.txt
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
Copyright (c) 2004-2022 SIL International (http://www.sil.org/)
|
||||
with Reserved Font Names "Andika" and "SIL".
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
93
assets/fonts/OFL-Cinzel.txt
Normal file
93
assets/fonts/OFL-Cinzel.txt
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
Copyright 2020 The Cinzel Project Authors (https://github.com/NDISCOVER/Cinzel)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
93
assets/fonts/OFL-IMFellEnglish.txt
Normal file
93
assets/fonts/OFL-IMFellEnglish.txt
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
Copyright (c) 2010, Igino Marini (mail@iginomarini.com)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
93
assets/fonts/OFL-Inter.txt
Normal file
93
assets/fonts/OFL-Inter.txt
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
93
assets/fonts/OFL-Lexend.txt
Normal file
93
assets/fonts/OFL-Lexend.txt
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
Copyright 2018 The Lexend Project Authors (https://github.com/googlefonts/lexend), with Reserved Font Name “RevReading Lexend”.
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
93
assets/fonts/OFL-Lora.txt
Normal file
93
assets/fonts/OFL-Lora.txt
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
Copyright 2011 The Lora Project Authors (https://github.com/cyrealtype/Lora-Cyrillic), with Reserved Font Name "Lora".
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
94
assets/fonts/OFL-OpenDyslexic.txt
Normal file
94
assets/fonts/OFL-OpenDyslexic.txt
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
Copyright (c) 2019-07-29, Abbie Gonzalez (https://abbiecod.es|support@abbiecod.es),
|
||||
with Reserved Font Name OpenDyslexic.
|
||||
Copyright (c) 12/2012 - 2019
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
93
assets/fonts/OFL-Orbitron.txt
Normal file
93
assets/fonts/OFL-Orbitron.txt
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
Copyright 2018 The Orbitron Project Authors (https://github.com/theleagueof/orbitron), with Reserved Font Name: "Orbitron"
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
93
assets/fonts/OFL-SourceSans3.txt
Normal file
93
assets/fonts/OFL-SourceSans3.txt
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
Copyright 2010-2020 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
|
||||
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
94
assets/fonts/OFL-UncialAntiqua.txt
Normal file
94
assets/fonts/OFL-UncialAntiqua.txt
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
Copyright (c) 2011 by Brian J. Bonislawsky DBA Astigmatic (AOETI)
|
||||
(astigma@astigmatic.com), with Reserved Font Names "Uncial Antiqua"
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
BIN
assets/fonts/OpenDyslexic-Bold.otf
Normal file
BIN
assets/fonts/OpenDyslexic-Bold.otf
Normal file
Binary file not shown.
36
assets/fonts/OpenDyslexic-Bold.otf.import
Normal file
36
assets/fonts/OpenDyslexic-Bold.otf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bxnqriias7tac"
|
||||
path="res://.godot/imported/OpenDyslexic-Bold.otf-7b4941b7016f2df4851fb2231a80ecc9.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/OpenDyslexic-Bold.otf"
|
||||
dest_files=["res://.godot/imported/OpenDyslexic-Bold.otf-7b4941b7016f2df4851fb2231a80ecc9.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/OpenDyslexic-Italic.otf
Normal file
BIN
assets/fonts/OpenDyslexic-Italic.otf
Normal file
Binary file not shown.
36
assets/fonts/OpenDyslexic-Italic.otf.import
Normal file
36
assets/fonts/OpenDyslexic-Italic.otf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://dxmr5uc62svnl"
|
||||
path="res://.godot/imported/OpenDyslexic-Italic.otf-7f224d16557b4ce069122615b1f9c8e5.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/OpenDyslexic-Italic.otf"
|
||||
dest_files=["res://.godot/imported/OpenDyslexic-Italic.otf-7f224d16557b4ce069122615b1f9c8e5.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/OpenDyslexic-Regular.otf
Normal file
BIN
assets/fonts/OpenDyslexic-Regular.otf
Normal file
Binary file not shown.
36
assets/fonts/OpenDyslexic-Regular.otf.import
Normal file
36
assets/fonts/OpenDyslexic-Regular.otf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bvbuph08mlu86"
|
||||
path="res://.godot/imported/OpenDyslexic-Regular.otf-c3e988c48cb2b5a8c8a198700757d52e.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/OpenDyslexic-Regular.otf"
|
||||
dest_files=["res://.godot/imported/OpenDyslexic-Regular.otf-c3e988c48cb2b5a8c8a198700757d52e.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/Orbitron-Variable.ttf
Normal file
BIN
assets/fonts/Orbitron-Variable.ttf
Normal file
Binary file not shown.
36
assets/fonts/Orbitron-Variable.ttf.import
Normal file
36
assets/fonts/Orbitron-Variable.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://pbaghwyb5epd"
|
||||
path="res://.godot/imported/Orbitron-Variable.ttf-9174b92b1cd1f15c90cd3fa019bb5c71.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/Orbitron-Variable.ttf"
|
||||
dest_files=["res://.godot/imported/Orbitron-Variable.ttf-9174b92b1cd1f15c90cd3fa019bb5c71.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/SourceSans3-Italic-Variable.ttf
Normal file
BIN
assets/fonts/SourceSans3-Italic-Variable.ttf
Normal file
Binary file not shown.
36
assets/fonts/SourceSans3-Italic-Variable.ttf.import
Normal file
36
assets/fonts/SourceSans3-Italic-Variable.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://kuc0ugiee2iy"
|
||||
path="res://.godot/imported/SourceSans3-Italic-Variable.ttf-94cf2330ec46556df24800e29e459312.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/SourceSans3-Italic-Variable.ttf"
|
||||
dest_files=["res://.godot/imported/SourceSans3-Italic-Variable.ttf-94cf2330ec46556df24800e29e459312.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/SourceSans3-Variable.ttf
Normal file
BIN
assets/fonts/SourceSans3-Variable.ttf
Normal file
Binary file not shown.
36
assets/fonts/SourceSans3-Variable.ttf.import
Normal file
36
assets/fonts/SourceSans3-Variable.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bvsj7rbef341h"
|
||||
path="res://.godot/imported/SourceSans3-Variable.ttf-91a87a938896295d302a79c34bf067e8.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/SourceSans3-Variable.ttf"
|
||||
dest_files=["res://.godot/imported/SourceSans3-Variable.ttf-91a87a938896295d302a79c34bf067e8.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/SpecialElite-Regular.ttf
Normal file
BIN
assets/fonts/SpecialElite-Regular.ttf
Normal file
Binary file not shown.
36
assets/fonts/SpecialElite-Regular.ttf.import
Normal file
36
assets/fonts/SpecialElite-Regular.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bpajg4j8cboj3"
|
||||
path="res://.godot/imported/SpecialElite-Regular.ttf-6b55a0e4e06225e6491057075bec14bf.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/SpecialElite-Regular.ttf"
|
||||
dest_files=["res://.godot/imported/SpecialElite-Regular.ttf-6b55a0e4e06225e6491057075bec14bf.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
assets/fonts/UncialAntiqua-Regular.ttf
Normal file
BIN
assets/fonts/UncialAntiqua-Regular.ttf
Normal file
Binary file not shown.
36
assets/fonts/UncialAntiqua-Regular.ttf.import
Normal file
36
assets/fonts/UncialAntiqua-Regular.ttf.import
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://c1cmifmu3nstq"
|
||||
path="res://.godot/imported/UncialAntiqua-Regular.ttf-90bbe5e204d48850abd60d2c7994f931.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/fonts/UncialAntiqua-Regular.ttf"
|
||||
dest_files=["res://.godot/imported/UncialAntiqua-Regular.ttf-90bbe5e204d48850abd60d2c7994f931.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
|
|
@ -32,9 +32,9 @@ const KIND_LABELS := {
|
|||
const CHOICE_LABELS := {"pick": "Which option", "number": "How many", "text": "Open ended"}
|
||||
|
||||
|
||||
## "Roll table", "Check", "Collection", ...
|
||||
## "Roll table", "Check", "Ledger", ...
|
||||
static func kind_label(t: RollTable) -> String:
|
||||
return "Collection" if t.is_collection() else str(KIND_LABELS.get(t.kind, "Card"))
|
||||
return "Ledger" if t.is_collection() else str(KIND_LABELS.get(t.kind, "Card"))
|
||||
|
||||
|
||||
## "Which option", "How many" or "Open ended".
|
||||
|
|
|
|||
|
|
@ -25,6 +25,9 @@ var details: String = ""
|
|||
var members: Array[String] = []
|
||||
## The group this one sits inside ("" = on the spread itself).
|
||||
var parent: String = ""
|
||||
## "#rrggbb", or "" for the theme's group colour (Style.GROUP). Marks the
|
||||
## frame's border and each member card's top-right corner.
|
||||
var color: String = ""
|
||||
|
||||
|
||||
func _init(p_id: String = "", p_name: String = "") -> void:
|
||||
|
|
@ -73,6 +76,8 @@ func to_dict() -> Dictionary:
|
|||
d["details"] = details
|
||||
if parent != "":
|
||||
d["parent"] = parent
|
||||
if color != "":
|
||||
d["color"] = color
|
||||
return d
|
||||
|
||||
|
||||
|
|
@ -83,6 +88,7 @@ static func from_dict(d: Dictionary) -> TableGroup:
|
|||
g.collapsed = bool(d.get("collapsed", false))
|
||||
g.details = str(d.get("details", ""))
|
||||
g.parent = str(d.get("parent", ""))
|
||||
g.color = str(d.get("color", ""))
|
||||
var src: Variant = d.get("members", [])
|
||||
if src is Array:
|
||||
for m: Variant in src:
|
||||
|
|
|
|||
|
|
@ -142,6 +142,13 @@ templates/ built-in templates · examples/logic_demo.json (original demo board)
|
|||
## 3b. Modules added 2026-11-10
|
||||
- **Theme:** `ui/style.gd` (tokens, `fill_texture`, `panel_box`), `ui/theme_store.gd`,
|
||||
`ui/builtin_themes.gd`, `ui/theme_dialog.gd`, `ui/fill_editor.gd`, `ui/color_choice.gd`.
|
||||
Fonts (2026-11-11): `ui/font_catalog.gd` lists the 13 bundled families (assets/fonts, licences
|
||||
beside them) and builds faces; `Style.set_fonts` follows the theme's `font_body`/`font_display`.
|
||||
- **2026-11-11:** `ui/deck_reveal.gd` (Deck mode: an animated roll's draws fade only when shown),
|
||||
`ui/entry_handle.gd` (Build: drag handle to reorder results; `TableCardEditing.move_entry`
|
||||
keeps ranges in place). PortLayer hides thread nodes under a card stacked above theirs.
|
||||
`ui/group_mark.gd`: a member card's top-right corner in its group's colour (`TableGroup.color`,
|
||||
else `Style.GROUP`); refreshed from `_board_changed`.
|
||||
- **Card visuals and input:** `ui/card_frame.gd` (border + shader), `ui/card_grip.gd` (resize),
|
||||
`ui/card_shield.gd` (zoomed out), `ui/sparkles.gd`; TableCard helpers `table_card_skin/input/
|
||||
geometry/list/kind_rows.gd` (next to header/rows/editing/value/text).
|
||||
|
|
@ -195,10 +202,10 @@ templates/ built-in templates · examples/logic_demo.json (original demo board)
|
|||
- The Why pop-over opens above the tray and can cover the bottom of the board.
|
||||
- Not tried by hand yet: all of this was verified with headless tests and screenshots
|
||||
only. A hands-on playtest with a checklist is overdue.
|
||||
- The Linux export preset exists, but the 4.7.2 export templates aren't installed. They're a
|
||||
large download and the user hasn't approved it. There are no Windows or Mac presets.
|
||||
- Linux and Windows export presets exist (both include `templates/*.json, help/*.txt`); no Mac
|
||||
or Android preset yet. Both presets also pack `tests/` (harmless; could be excluded).
|
||||
- Loading a big board with every group expanded takes about 5 s (building `TableCard` nodes).
|
||||
- Group frames are rectangles, so a non-member card lying inside one looks like a member.
|
||||
- Group frames are rectangles; members are told apart by their coloured top-right corner.
|
||||
Pipes into a collapsed group can't be clicked.
|
||||
- Groups aren't kept in the Canvas and GraphML exports. Logic keys survive only in TableTower JSON.
|
||||
- `{= }` dice in live sheet and variable displays re-roll when the display refreshes.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Table Tarot (repo: TableTower) — Status and Plan
|
||||
|
||||
**Engine:** Godot 4.7.2 (GDScript) · **Started:** 2026-11-08 · **Last updated:** 2026-11-10 (the
|
||||
2026-11-10 plan and the book-tables features are finished and on `main`)
|
||||
**Engine:** Godot 4.7.2 (GDScript) · **Started:** 2026-11-08 · **Last updated:** 2026-11-11 (fonts, group marks,
|
||||
Ledger rename and four playtest fixes merged to `main` and pushed)
|
||||
|
||||
The short page to read at the start of every session. Everything else is read only when needed:
|
||||
- `docs/ARCHITECTURE.md`: feature summary, file map (§3b lists the 2026-11-10 modules), storage, known gaps.
|
||||
|
|
@ -29,10 +29,10 @@ mascot (`assets/art/fortune_teller.svg`, logo variant `fortune_teller_logo.svg`,
|
|||
| Deck mode | `card_mode` |
|
||||
| Book / Page (reusable results) | `book`, `BookPage`, `TableEntry.page` |
|
||||
| Branch / Repeat (card kinds) | `router` / `loop` |
|
||||
The Collection *card kind* still needs a new UI name (not "List", not "Collection").
|
||||
| Ledger (card kind; "for the time being", user 2026-11-11) | variable card, `var_type: "collection"` |
|
||||
Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminology".
|
||||
|
||||
## 3. Where things stand (2026-11-10)
|
||||
## 3. Where things stand (2026-11-11)
|
||||
- **Everything from the 2026-11-10 plan is built, tested and on `main`** (pushed): theme system,
|
||||
rename and reskin, spread interaction, menus, Deck mode, nested groups, List view, phone layout,
|
||||
the Book, roll features (combine, batches, pause, costs, limits), sheet export, pictures, Help
|
||||
|
|
@ -52,25 +52,38 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol
|
|||
Stage II (pp. 62–78: surface features, resource details, lifeforms) is not built yet; the user
|
||||
hasn't opened the spread in the app yet (only headless runs and one screenshot).
|
||||
|
||||
**Next, likely:** the user's feedback on the Perilous Void spread; Stage II of it; a size audit (§4).
|
||||
- **2026-11-11 (merged to `main`, pushed):**
|
||||
- Theme fonts: 13 bundled families (OFL; Special Elite Apache 2.0) with Text/Title font pickers
|
||||
in the theme editor (`FontCatalog`). User tested by hand: works.
|
||||
- Drag handles reorder a card's results in Build (ranged cards keep ranges in place). Hand-tested.
|
||||
- Thread nodes under a card stacked above theirs are hidden. Hand-tested.
|
||||
- Deck mode: a drawn result fades only after the roll animation reveals it (fast rolls: at once).
|
||||
- Group marks (the user's pick, "option C"): a member card's top-right corner, and the group's
|
||||
border, take the group's colour (Colour ▸ on the group menu); uncoloured groups use the theme
|
||||
token GROUP (default gold, same as the highlight; watch for confusion).
|
||||
- The Collection card kind is called **Ledger** in the UI "for the time being". The spread
|
||||
switcher's tooltip says "Spreads".
|
||||
- Reroll rule settled by the thread option "Roll again if it comes up".
|
||||
- **Hand testing:** the user tests by hand as they go but hasn't done a full pass; a comprehensive
|
||||
playtest with a checklist is planned (they'll do it later; offer a checklist when asked).
|
||||
|
||||
**Next, likely:** the user's feedback on the Perilous Void spread; Stage II of it; a size audit (§4);
|
||||
a hand-testing checklist; untested-by-hand items: Deck mode fade timing and group marks.
|
||||
|
||||
## 4. Open items
|
||||
**Waiting on the user**
|
||||
- Android: export templates are installed (checksum verified); the Android SDK (build-tools,
|
||||
platform-tools) is not. Ask before downloading. No Android preset yet.
|
||||
- Fonts: the theme editor has no font choice until more OFL fonts are bundled.
|
||||
- A UI name for the Collection card kind.
|
||||
- Reroll rule: probably settled by the thread option "Roll again if it comes up" (a reroll thread
|
||||
can skip its own result). Confirm with the user.
|
||||
- Thread string art (the user will draw it), then use it like `CardFrame` does for cards.
|
||||
- Repo privacy on Forgejo: needs Niles/sock's username and a token from the user.
|
||||
|
||||
**Known, not urgent**
|
||||
- `export_presets.cfg` has the user's uncommitted edits (a Windows preset). Its `include_filter`
|
||||
is empty, so Windows builds lack `help/*.txt` and `templates/*.json` (the Linux preset has them).
|
||||
Tell the user rather than editing their file.
|
||||
- `export_presets.cfg` (and `project.godot`) hold the user's uncommitted edits. The Windows preset's
|
||||
`include_filter` now matches Linux (help + templates; verified by a real Windows export
|
||||
2026-11-11) but is still uncommitted with their edits; ask before committing. Both presets also
|
||||
pack `tests/` (could add `tests/*` to the exclude filter).
|
||||
- Over ~400 lines: inspector_card (593), board_tester (505), main_cli, builder (499), expr (520),
|
||||
roller, tower_board, group_card, main_rolling (417), describe (408), inspector (407). A size
|
||||
roller, tower_board, group_card, main_rolling (426), describe (408), inspector (407). A size
|
||||
audit is due. (roll_table was split: RollTableIO.)
|
||||
- Small ideas from the Perilous Void spread: an empty list shows blank in a sheet (no "none"
|
||||
default); a value change that should apply when a later value is rolled (Shattered lowers
|
||||
|
|
@ -80,7 +93,7 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol
|
|||
## 5. Working on it
|
||||
- **Godot:** `~/apps/Godot_v4.7.2-stable_linux.x86_64`. New `class_name` files need
|
||||
`godot --headless --path . --import` (the test runner does this).
|
||||
- **Tests:** `tools/run_tests.sh [filter]`: 36 suites in parallel, ~35 s. One line per suite; a
|
||||
- **Tests:** `tools/run_tests.sh [filter]`: 41 suites in parallel, ~35 s. One line per suite; a
|
||||
failing suite prints 8 lines; a compile error shared by many suites prints once. Suites extend
|
||||
`TestBase` (`tests/testbase.gd`, named so the `test_*.gd` glob skips it): `start_main()`,
|
||||
`require_sample()`, `_check`, `_eq`, `_frames`, `finish()`.
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ A choice card stops the roll and asks the player. Add one from [b]+ Card ▾[/b]
|
|||
The question can show values, such as "Your Luck is {@luck}. What now?". Answers can be saved under a name for later. [b]Cancel[/b] in the pop-up stops the whole roll, and the pop-up can be minimized to look at the spread first.
|
||||
|
||||
## Options that come and go
|
||||
An option can have [b]Show only if[/b], so it's offered only when a condition is true, such as `@gold >= 10`. A Which option card can also build its options from a collection of values, such as every skill the character has.
|
||||
An option can have [b]Show only if[/b], so it's offered only when a condition is true, such as `@gold >= 10`. A Which option card can also build its options from a ledger of values, such as every skill the character has.
|
||||
|
||||
[b]Make Camp[/b] in the sample is a Which option card.
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ An option can have [b]Show only if[/b], so it's offered only when a condition is
|
|||
A spread can remember [b]values[/b] between rolls, such as Luck, Gold or the current town. In rules a value is written with @: `@luck`.
|
||||
- Any result can have [b]changes[/b] that happen when it comes up: [b]Add 1 to Luck[/b], [b]Subtract 3 from Gold[/b], [b]Set Town to …[/b]. Edit them in the inspector as rows, or with Edit as text.
|
||||
- A [b]Variable[/b] card gives a value a name, a type and a starting value, and shows what it is now. The sample's [b]Luck[/b] card starts at 0.
|
||||
- A [b]Collection[/b] card groups related values, such as Skills, so they can be listed and picked from together.
|
||||
- A [b]Ledger[/b] card groups related values, such as Skills, so they can be listed and picked from together.
|
||||
- The tray's [b]Variables[/b] tab shows every value, and lets you clear or reset them. [b]Reset all…[/b] puts every value back to its start.
|
||||
|
||||
## Writing changes as text
|
||||
|
|
@ -157,7 +157,7 @@ Besides roll tables and choices, [b]+ Card ▾[/b] adds:
|
|||
- [b]Repeat[/b]: repeats its Each time result a number of times, or while or until a condition holds, then runs Afterwards once.
|
||||
- [b]Branch[/b]: checks its cases from top to bottom (if, else if, otherwise) and follows the first one that's true.
|
||||
- [b]Sheet[/b]: a page of text, such as a character sheet, that always shows the current values. A roll that reaches it prints it in the tray.
|
||||
- [b]Variable[/b] and [b]Collection[/b]: see [topic]Values and changes[/topic].
|
||||
- [b]Variable[/b] and [b]Ledger[/b]: see [topic]Values and changes[/topic].
|
||||
|
||||
Use [b]Test spread[/b] to check that a spread of logic cards works. See [topic]Testing a spread[/topic].
|
||||
|
||||
|
|
|
|||
58
tests/test_entry_drag.gd
Normal file
58
tests/test_entry_drag.gd
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
extends TestBase
|
||||
## Build mode: dragging a result's handle reorders the card's results. Ranged
|
||||
## cards keep their ranges in place; the move is one undo step.
|
||||
## Run: godot --headless --path . -s res://tests/test_entry_drag.gd -- --sample
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
if not await start_main():
|
||||
return
|
||||
main.set_mode(Main.Mode.BUILD)
|
||||
await _frames()
|
||||
await _test_plain()
|
||||
await _test_ranged()
|
||||
finish()
|
||||
|
||||
|
||||
func _handle(card: TableCard, eid: String) -> EntryHandle:
|
||||
var hs := (card.rows[eid] as Control).find_children("*", "EntryHandle", true, false)
|
||||
return hs[0] if not hs.is_empty() else null
|
||||
|
||||
|
||||
func _ids(t: RollTable) -> Array:
|
||||
return t.entries.map(func(e: TableEntry) -> String: return e.id)
|
||||
|
||||
|
||||
func _test_plain() -> void:
|
||||
var t := main.data.get_table("monsters")
|
||||
var card := main.card_for(t.id)
|
||||
var before := _ids(t)
|
||||
var h := _handle(card, before[0])
|
||||
_check(h != null, "build rows have a drag handle")
|
||||
var last := (card.rows[before[-1]] as Control).get_global_rect()
|
||||
_eq(h.track(last.end + Vector2(0, 10)), before.size() - 1, "below the last row lands at the end")
|
||||
_check(h._line != null and h._line.visible, "an insertion line shows")
|
||||
h.finish()
|
||||
await _frames()
|
||||
var after := _ids(t)
|
||||
_check(after[-1] == before[0] and after[0] == before[1], "the first result moved to the end")
|
||||
main.undo_redo._commit_edits()
|
||||
main.undo_redo.undo()
|
||||
await _frames()
|
||||
_eq(_ids(main.data.get_table("monsters")), before, "undo puts the order back")
|
||||
|
||||
|
||||
func _test_ranged() -> void:
|
||||
var t := main.data.get_table("wilderness")
|
||||
var card := main.card_for(t.id)
|
||||
var ranges := t.entries.map(func(e: TableEntry) -> Vector2i: return Vector2i(e.range_lo, e.range_hi))
|
||||
var moved: String = t.entries[0].id
|
||||
var h := _handle(card, moved)
|
||||
var second := (card.rows[t.entries[2].id] as Control).get_global_rect()
|
||||
h.track(second.get_center() + Vector2(0, 2))
|
||||
h.finish()
|
||||
await _frames()
|
||||
_eq(t.entries.find(t.find_entry(moved)), 2, "the result moved down two places")
|
||||
_eq(t.entries.map(func(e: TableEntry) -> Vector2i: return Vector2i(e.range_lo, e.range_hi)), ranges,
|
||||
"the ranges stay in place")
|
||||
_eq(t.range_problems(), "", "the ranges still cover the dice")
|
||||
1
tests/test_entry_drag.gd.uid
Normal file
1
tests/test_entry_drag.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://c2kadad08k3dj
|
||||
|
|
@ -39,4 +39,35 @@ func _init() -> void:
|
|||
await process_frame
|
||||
_check(main.current.get("done", false) and main.current.get("fast", false), "the interrupted roll doesn't overwrite the fast result")
|
||||
|
||||
await _test_deck_waits()
|
||||
finish()
|
||||
|
||||
|
||||
## Deck mode: an animated roll fades the drawn result only once it lights;
|
||||
## a fast roll fades it at once.
|
||||
func _test_deck_waits() -> void:
|
||||
var t := main.data.get_table("wilderness")
|
||||
t.card_mode = true
|
||||
main.reshuffle_table(t.id)
|
||||
main.layout._board_changed()
|
||||
await _frames()
|
||||
var total := main.cards_left(t.id).y
|
||||
main.start_roll(t.id)
|
||||
var eid := ""
|
||||
for st: Dictionary in main.current["all"]:
|
||||
if st.get("table_id") == t.id and st.has("entry_id"):
|
||||
eid = st["entry_id"]
|
||||
var card := main.card_for(t.id)
|
||||
_check(eid != "" and card.rows[eid].modulate.a == 1.0, "mid-animation the drawn result isn't faded yet")
|
||||
_check(main.cards_left(t.id).x == total, "mid-animation the count hasn't dropped")
|
||||
var until := Time.get_ticks_msec() + 15000
|
||||
while not main.current.get("done", false) and Time.get_ticks_msec() < until:
|
||||
await process_frame
|
||||
card = main.card_for(t.id)
|
||||
var gone := (main.decks[t.id] as DeckState).remaining(t, t.find_entry(eid)) <= 0
|
||||
_check(main.current.get("done", false), "the animated roll finished")
|
||||
_check(card.rows[eid].modulate.a < 1.0 if gone else true, "after the animation the result fades")
|
||||
_check(main.cards_left(t.id).x == total - 1, "after the animation the count drops")
|
||||
main.start_roll(t.id, true)
|
||||
_check(main.cards_left(t.id).x == total - 2, "a fast roll drops the count at once")
|
||||
t.card_mode = false
|
||||
|
|
|
|||
47
tests/test_group_marks.gd
Normal file
47
tests/test_group_marks.gd
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
extends TestBase
|
||||
## Group marks: a member card's top-right corner shows its group's colour (its
|
||||
## own, else the theme's GROUP); a card that only lies inside the frame has
|
||||
## none. The colour is saved and undoable.
|
||||
## Run: godot --headless --path . -s res://tests/test_group_marks.gd -- --sample
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
if not await start_main():
|
||||
return
|
||||
main.data.load_dict({"format_version": 2, "id": "marks-test", "name": "Marks", "tables": [
|
||||
{"id": "a", "name": "Alpha", "x": 40, "y": 60, "entries": [{"id": "e1", "text": "One"}]},
|
||||
{"id": "b", "name": "Bravo", "x": 400, "y": 60, "entries": [{"id": "e1", "text": "Two"}]},
|
||||
{"id": "c", "name": "Charlie", "x": 40, "y": 500, "entries": [{"id": "e1", "text": "Three"}]},
|
||||
]})
|
||||
main._rebuild_cards()
|
||||
main.set_mode(Main.Mode.BUILD)
|
||||
await _frames()
|
||||
var g := main.data.add_group("G", ["a", "b"])
|
||||
main.mark_dirty()
|
||||
await _frames()
|
||||
var mark := main.card_for("a").group_mark
|
||||
_check(mark.visible and mark._color == Style.GROUP, "a member shows the theme's group mark")
|
||||
_check(not main.card_for("c").group_mark.visible, "a card outside the group has no mark")
|
||||
|
||||
Actions.set_group_colour(main, g, "#3c8dd8")
|
||||
await _frames()
|
||||
_check(main.card_for("b").group_mark._color == Color("#3c8dd8"), "colouring the group recolours its members' marks")
|
||||
_eq(TableGroup.from_dict(g.to_dict()).color, "#3c8dd8", "the group colour is saved")
|
||||
main.undo_redo.undo()
|
||||
await _frames()
|
||||
_check(main.card_for("b").group_mark._color == Style.GROUP, "undo puts the theme colour back")
|
||||
|
||||
# Lying inside the frame isn't membership: no mark until it joins.
|
||||
var c := main.card_for("c")
|
||||
c.position = main.data.groups[0].position + Vector2(20, 40)
|
||||
await _frames()
|
||||
_check(not c.group_mark.visible, "a card that only overlaps the frame stays unmarked")
|
||||
main.data.add_to_group("c", main.data.groups[0].id)
|
||||
main.mark_dirty()
|
||||
await _frames()
|
||||
_check(main.card_for("c").group_mark.visible, "joining the group marks it")
|
||||
main.data.remove_from_group("c")
|
||||
main.mark_dirty()
|
||||
await _frames()
|
||||
_check(not main.card_for("c").group_mark.visible, "leaving the group clears the mark")
|
||||
finish()
|
||||
1
tests/test_group_marks.gd.uid
Normal file
1
tests/test_group_marks.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://cxb0m52mubkg1
|
||||
|
|
@ -386,7 +386,7 @@ func _test_value_picker() -> void:
|
|||
_check(names.has("@skill_pilot"), "spread members with values are offered")
|
||||
_check(not names.has("@skill_*"), "spread patterns only where they fit")
|
||||
p.allow_patterns = true
|
||||
_check(p.items().any(func(it: Dictionary) -> bool: return it["name"] == "@skill_*" and it["group"] == "Collections"), "grouped under Spreads")
|
||||
_check(p.items().any(func(it: Dictionary) -> bool: return it["name"] == "@skill_*" and it["group"] == "Ledgers"), "grouped under Spreads")
|
||||
_eq(p.filtered("lu").map(func(it: Dictionary) -> String: return it["name"]), ["@luck"], "search by label")
|
||||
p.open_menu()
|
||||
await _frames()
|
||||
|
|
@ -529,7 +529,7 @@ func _test_add_kinds() -> void:
|
|||
print("+ Card ▾")
|
||||
var labels: Array = main.editing.ADD_KINDS.map(func(k: Array) -> String: return k[0])
|
||||
_check(labels.any(func(s: String) -> bool: return s.begins_with("Check")), "Check card is in the menu")
|
||||
_check(labels.any(func(s: String) -> bool: return s.begins_with("Collection")), "Spread is in the menu")
|
||||
_check(labels.any(func(s: String) -> bool: return s.begins_with("Ledger")), "Ledger is in the menu")
|
||||
_eq(main.editing._add_menu.text, "+ Card ▾", "the button reads + Card ▾")
|
||||
var c := main.editing.add_table(RollTable.KIND_CHECK)
|
||||
_check(c.kind == RollTable.KIND_CHECK and c.name == "Check" and c.entries.size() == 2, "adding a check card")
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ func _test_collection_and_inputs() -> void:
|
|||
names.append(str(m.get_meta("member")))
|
||||
_eq(names, ["@skill_athletics", "@skill_mechanic", "@skill_recon"], "members: set ones by label, then ones the rules name")
|
||||
_check(_has(skills, "Mechanic") and _has(skills, "2") and _has(skills, "—"), "members show live values")
|
||||
_check(_has(skills, "Collection · kept between rolls"), "the spread's kind line")
|
||||
_check(_has(skills, "Ledger · kept between rolls"), "the spread's kind line")
|
||||
main.persistent_vars["skill_mechanic"] = {"value": 3, "source": ""}
|
||||
main.refresh_live()
|
||||
_check(_has(skills, "3"), "values refresh live")
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ func _init() -> void:
|
|||
_test_apply()
|
||||
_test_save_delete()
|
||||
await _test_dialog()
|
||||
_test_fonts()
|
||||
_test_own_colours()
|
||||
await _test_sparkles()
|
||||
finish()
|
||||
|
|
@ -33,6 +34,28 @@ func _test_apply() -> void:
|
|||
_check(cols.size() == ThemeStore.TOKENS.size(), "resolved colours cover every token")
|
||||
|
||||
|
||||
func _test_fonts() -> void:
|
||||
for id: String in FontCatalog.FAMILIES:
|
||||
var fam: Dictionary = FontCatalog.FAMILIES[id]
|
||||
for k: String in ["regular", "bold", "italic"]:
|
||||
if fam.has(k):
|
||||
_check(ResourceLoader.exists(FontCatalog.DIR + fam[k]), "%s %s file exists" % [id, k])
|
||||
for zoom: bool in [false, true]:
|
||||
var f := FontCatalog.face(id, 700, true, zoom)
|
||||
_check(f is FontVariation and (f as FontVariation).base_font != null, "%s builds a bold italic face" % id)
|
||||
_check(FontCatalog.options("body").size() < FontCatalog.FAMILIES.size(), "title-only fonts aren't offered for text")
|
||||
var t := BuiltinThemes.TAROT.duplicate(true)
|
||||
t["font_body"] = "lexend"
|
||||
t["font_display"] = "cinzel"
|
||||
ThemeStore.apply(t)
|
||||
_check(Style.BODY_FONT == "lexend" and Style.DISPLAY_FONT == "cinzel", "a theme sets both fonts")
|
||||
t["font_body"] = "uncial"
|
||||
ThemeStore.apply(t)
|
||||
_check(Style.BODY_FONT == FontCatalog.DEFAULT_BODY, "a title-only font falls back for text")
|
||||
ThemeStore.apply(BuiltinThemes.TAROT)
|
||||
_check(Style.BODY_FONT == "atkinson", "Tarot uses Atkinson for text")
|
||||
|
||||
|
||||
func _test_save_delete() -> void:
|
||||
var t := BuiltinThemes.TAROT.duplicate(true)
|
||||
t["name"] = "Night Sky"
|
||||
|
|
|
|||
|
|
@ -10,9 +10,27 @@ func _init() -> void:
|
|||
return
|
||||
await _test_ranged_target()
|
||||
await _test_plain_target()
|
||||
await _test_ports_under_cards()
|
||||
finish()
|
||||
|
||||
|
||||
## A card dragged over another hides the lower card's thread nodes it covers.
|
||||
func _test_ports_under_cards() -> void:
|
||||
var low := main.card_for("road")
|
||||
var top := main.card_for("monsters")
|
||||
top.position = low.position + Vector2(-20, 0)
|
||||
top.get_parent().move_child(top, -1)
|
||||
await _frames()
|
||||
var ports := main.board.ports
|
||||
ports._note_stack()
|
||||
_check(ports._covered(low.inlet_point(), low.get_index()), "the covered card's inlet is hidden")
|
||||
_check(not ports._covered(top.inlet_point(), top.get_index()), "the top card's inlet still shows")
|
||||
low.get_parent().move_child(low, -1)
|
||||
await _frames()
|
||||
ports._note_stack()
|
||||
_check(not ports._covered(low.inlet_point(), low.get_index()), "raised again, its inlet shows")
|
||||
|
||||
|
||||
func _parts(to: String) -> Dictionary:
|
||||
return main.inspector.pipe_parts.get(to, {})
|
||||
|
||||
|
|
|
|||
|
|
@ -106,6 +106,13 @@ static func set_card_colour(m: Main, t: RollTable, hex: String) -> void:
|
|||
m.undo_redo._end_edit()
|
||||
|
||||
|
||||
static func set_group_colour(m: Main, g: TableGroup, hex: String) -> void:
|
||||
m.undo_redo._begin_edit()
|
||||
g.color = hex
|
||||
m.mark_dirty()
|
||||
m.undo_redo._end_edit()
|
||||
|
||||
|
||||
## `key` is a pipe key, "tid:eid>to".
|
||||
static func thread(m: Main, key: String) -> Array:
|
||||
var tid := key.get_slice(">", 0).get_slice(":", 0)
|
||||
|
|
@ -140,6 +147,7 @@ static func group(m: Main, g: TableGroup) -> Array:
|
|||
var list: Array = [{"text": "Expand" if g.collapsed else "Collapse", "do": m.toggle_group.bind(g.id)}]
|
||||
if m.mode == Main.Mode.BUILD:
|
||||
list.append({"text": "Details…", "do": m.edit_group_details.bind(g.id)})
|
||||
list.append(colours(g.color, func(hex: String) -> void: set_group_colour(m, g, hex)))
|
||||
list.append({"text": "Save as template…", "do": m.save_template_from.bind([], "group", [g.id])})
|
||||
list.append({"sep": ""})
|
||||
list.append({"text": "Ungroup (keep the cards)", "do": m.ungroup.bind(g.id)})
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ const TAROT := {
|
|||
"DASH": "#c6b395", "HOVER_ROW": "#efe2cb", "STRIPE": "#5c0e7510",
|
||||
"TRIM": "#823d08", "TRIM_DARK": "#4a2004",
|
||||
"THREAD": "#c07a2c", "THREAD_DARK": "#5a2a06",
|
||||
"ACCENT": "#f2b84b", "ACCENT_DARK": "#6b4a0c", "LIT": "#fbe3a6", "FLICK": "#f2b84b59",
|
||||
"ACCENT": "#f2b84b", "ACCENT_DARK": "#6b4a0c", "GROUP": "#f2b84b", "LIT": "#fbe3a6", "FLICK": "#f2b84b59",
|
||||
"PULSE": "#fff3d6", "GLOW": "#2fe39a",
|
||||
"OK_INK": "#04736e", "REF_INK": "#03635f", "REF_BG": "#d3eeea", "REF_INK_ON_BG": "#7fe8c9",
|
||||
"VALUE_INK": "#7a3f06", "VALUE_INK_ON_BG": "#f2b84b", "VALUE_BG": "#fbf0d8", "VALUE_BORDER": "#e0b56a",
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ func setup(p_main: Main) -> void:
|
|||
Style.menu_button(text, false, self)
|
||||
add_theme_color_override("font_disabled_color", Style.ON_BG)
|
||||
add_theme_font_override("font", Style.body_bold())
|
||||
tooltip_text = "Collections"
|
||||
tooltip_text = "Spreads"
|
||||
ModalCard.style_popup(get_popup())
|
||||
get_popup().about_to_popup.connect(_fill)
|
||||
get_popup().id_pressed.connect(_on_id)
|
||||
|
|
|
|||
60
ui/deck_reveal.gd
Normal file
60
ui/deck_reveal.gd
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
class_name DeckReveal
|
||||
extends RefCounted
|
||||
## Deck mode during an animated roll. The roll draws its cards before the
|
||||
## animation starts; this holds those draws back so a card's result doesn't
|
||||
## fade (and the count doesn't drop) until its result lights up. Holds belong
|
||||
## to one roll: once any newer roll replaces it, they no longer count. Fast
|
||||
## rolls never hold anything.
|
||||
|
||||
var rolling: MainRolling
|
||||
## table id -> {entry id: draws not yet shown}
|
||||
var _held: Dictionary = {}
|
||||
var _token := -1
|
||||
|
||||
|
||||
func _init(p_rolling: MainRolling) -> void:
|
||||
rolling = p_rolling
|
||||
|
||||
|
||||
## Holds every Deck-mode draw among a roll's steps (Roller.flatten).
|
||||
func hold(steps: Array, token: int) -> void:
|
||||
_held.clear()
|
||||
_token = token
|
||||
for st: Dictionary in steps:
|
||||
if st.get("stop", false) or not st.has("entry_id"):
|
||||
continue
|
||||
var t := rolling.m.data.get_table(str(st.get("table_id", "")))
|
||||
if t and t.card_mode:
|
||||
var per: Dictionary = _held.get_or_add(t.id, {})
|
||||
var eid := str(st["entry_id"])
|
||||
per[eid] = int(per.get(eid, 0)) + 1
|
||||
|
||||
|
||||
## A held draw has been shown.
|
||||
func release(tid: String, eid: String) -> void:
|
||||
var per: Dictionary = _held.get(tid, {})
|
||||
if per.has(eid):
|
||||
per[eid] = int(per[eid]) - 1
|
||||
if int(per[eid]) <= 0:
|
||||
per.erase(eid)
|
||||
|
||||
|
||||
func clear() -> void:
|
||||
_held.clear()
|
||||
|
||||
|
||||
## Draws of one result not shown yet.
|
||||
func held(tid: String, eid: String) -> int:
|
||||
if _token != rolling._token:
|
||||
return 0
|
||||
return int((_held.get(tid, {}) as Dictionary).get(eid, 0))
|
||||
|
||||
|
||||
## Draws of a table not shown yet.
|
||||
func held_total(tid: String) -> int:
|
||||
if _token != rolling._token:
|
||||
return 0
|
||||
var n := 0
|
||||
for c: int in (_held.get(tid, {}) as Dictionary).values():
|
||||
n += c
|
||||
return n
|
||||
1
ui/deck_reveal.gd.uid
Normal file
1
ui/deck_reveal.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://716lsgmj6u82
|
||||
|
|
@ -305,7 +305,7 @@ func table_summary(t: RollTable) -> String:
|
|||
return "Repeat · " + RulesView.loop_rule(t, main.data, RulesView.plain(main))
|
||||
RollTable.KIND_VARIABLE:
|
||||
if RulesView.plain(main):
|
||||
return "Collection · kept between rolls" if t.is_collection() else "%s · kept between rolls" % t.var_type.capitalize()
|
||||
return "Ledger · kept between rolls" if t.is_collection() else "%s · kept between rolls" % t.var_type.capitalize()
|
||||
return "Variable @%s · %s" % [t.var_name, t.var_type]
|
||||
RollTable.KIND_CHECK:
|
||||
return RulesView.check_line(t, main.data, RulesView.plain(main))
|
||||
|
|
|
|||
124
ui/entry_handle.gd
Normal file
124
ui/entry_handle.gd
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
class_name EntryHandle
|
||||
extends Control
|
||||
## Build mode: the six-dot drag handle at the start of a result row. Drag it
|
||||
## up or down the card to reorder results; a line shows where it will land.
|
||||
## On a card with number ranges the ranges stay in place and the results move
|
||||
## through them (TableCardEditing.move_entry).
|
||||
|
||||
const W := 10.0
|
||||
|
||||
var card: TableCard
|
||||
var eid: String
|
||||
var _dragging := false
|
||||
var _target := -1
|
||||
var _line: ColorRect
|
||||
## Holds the line: the card is a container, so a direct child would be stretched.
|
||||
var _holder: Control
|
||||
|
||||
|
||||
func _init(p_card: TableCard, p_eid: String) -> void:
|
||||
card = p_card
|
||||
eid = p_eid
|
||||
custom_minimum_size = Vector2(W, 22)
|
||||
size_flags_vertical = Control.SIZE_SHRINK_CENTER
|
||||
mouse_filter = MOUSE_FILTER_STOP
|
||||
mouse_default_cursor_shape = CURSOR_MOVE
|
||||
tooltip_text = "Drag to move this result"
|
||||
mouse_entered.connect(queue_redraw)
|
||||
mouse_exited.connect(queue_redraw)
|
||||
|
||||
|
||||
func _draw() -> void:
|
||||
var hot := _dragging or get_global_rect().has_point(get_global_mouse_position())
|
||||
var c := Style.MUTED if hot else Style.FAINT
|
||||
for col in 2:
|
||||
for r in 3:
|
||||
draw_circle(Vector2(2.5 + col * 5.0, size.y / 2.0 + (r - 1) * 5.0), 1.4, c)
|
||||
|
||||
|
||||
func _gui_input(ev: InputEvent) -> void:
|
||||
var mb := ev as InputEventMouseButton
|
||||
if mb and mb.button_index == MOUSE_BUTTON_LEFT:
|
||||
if mb.pressed:
|
||||
_dragging = true
|
||||
_target = -1
|
||||
var row: Control = card.rows.get(eid)
|
||||
if row:
|
||||
row.modulate.a = 0.5
|
||||
elif _dragging:
|
||||
finish()
|
||||
accept_event()
|
||||
elif ev is InputEventMouseMotion and _dragging:
|
||||
track(get_global_mouse_position())
|
||||
accept_event()
|
||||
|
||||
|
||||
## Where the result would land for a pointer at `global`, as an index into
|
||||
## the card's entries once this one is taken out. Shows the insertion line.
|
||||
func track(global: Vector2) -> int:
|
||||
var order := _others()
|
||||
var slot := order.size()
|
||||
for i in order.size():
|
||||
var r := (card.rows[order[i].id] as Control).get_global_rect()
|
||||
if global.y < r.get_center().y:
|
||||
slot = i
|
||||
break
|
||||
var entries := card.table.entries
|
||||
_target = entries.size() - 1
|
||||
if slot < order.size():
|
||||
_target = _index_without_self(order[slot])
|
||||
elif not order.is_empty():
|
||||
_target = _index_without_self(order[-1]) + 1
|
||||
_show_line(order, slot)
|
||||
return _target
|
||||
|
||||
|
||||
## Applies the move and tidies up.
|
||||
func finish() -> void:
|
||||
_dragging = false
|
||||
if _holder and is_instance_valid(_holder):
|
||||
_holder.queue_free()
|
||||
_holder = null
|
||||
_line = null
|
||||
var row: Control = card.rows.get(eid)
|
||||
if row and is_instance_valid(row):
|
||||
row.modulate.a = 1.0
|
||||
queue_redraw()
|
||||
var from := card.table.entries.find(card.table.find_entry(eid))
|
||||
if _target >= 0 and _target != from:
|
||||
card.edit_ui.move_entry(from, _target)
|
||||
|
||||
|
||||
## The other results whose rows are on the card, top to bottom.
|
||||
func _others() -> Array[TableEntry]:
|
||||
var out: Array[TableEntry] = []
|
||||
for e in card.table.entries:
|
||||
var row: Control = card.rows.get(e.id)
|
||||
if e.id != eid and row and is_instance_valid(row) and row.is_visible_in_tree():
|
||||
out.append(e)
|
||||
return out
|
||||
|
||||
|
||||
func _index_without_self(e: TableEntry) -> int:
|
||||
var i := card.table.entries.find(e)
|
||||
var me := card.table.entries.find(card.table.find_entry(eid))
|
||||
return i - 1 if me < i else i
|
||||
|
||||
|
||||
func _show_line(order: Array[TableEntry], slot: int) -> void:
|
||||
if order.is_empty():
|
||||
return
|
||||
var above := slot >= order.size()
|
||||
var r := (card.rows[order[mini(slot, order.size() - 1)].id] as Control).get_global_rect()
|
||||
if _line == null or not is_instance_valid(_line):
|
||||
_holder = Control.new()
|
||||
_holder.mouse_filter = MOUSE_FILTER_IGNORE
|
||||
card.add_child(_holder)
|
||||
_line = ColorRect.new()
|
||||
_line.color = Style.ACCENT
|
||||
_line.mouse_filter = MOUSE_FILTER_IGNORE
|
||||
_holder.add_child(_line)
|
||||
var to_local := _holder.get_global_transform().affine_inverse()
|
||||
var y: float = (to_local * Vector2(r.position.x, r.end.y if above else r.position.y)).y
|
||||
_line.position = Vector2(0, y - 1.5)
|
||||
_line.size = Vector2(_holder.size.x, 3)
|
||||
1
ui/entry_handle.gd.uid
Normal file
1
ui/entry_handle.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://8plsydw4dmto
|
||||
107
ui/font_catalog.gd
Normal file
107
ui/font_catalog.gd
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
class_name FontCatalog
|
||||
extends RefCounted
|
||||
## The font families bundled in assets/fonts (all SIL Open Font License, except
|
||||
## Special Elite: Apache 2.0; licence files sit beside the fonts). A theme names
|
||||
## one family for body text (font_body) and one for titles (font_display).
|
||||
##
|
||||
## Family keys: name, group (shown in the picker), roles ("body" and/or
|
||||
## "display"), regular, bold, italic (file names; bold/italic optional),
|
||||
## variable (the files have a wght axis), fake_bold (false: never embolden,
|
||||
## for decorative faces).
|
||||
##
|
||||
## Cards sit on the zoomable board. Static faces use MSDF there; variable faces
|
||||
## have overlapping outlines that MSDF draws badly, so they are oversampled.
|
||||
|
||||
const DIR := "res://assets/fonts/"
|
||||
const DEFAULT_BODY := "atkinson"
|
||||
const DEFAULT_DISPLAY := "rokkitt"
|
||||
const GROUPS := ["Standard", "Easy to read", "Themed"]
|
||||
|
||||
const FAMILIES := {
|
||||
"atkinson": {"name": "Atkinson Hyperlegible", "group": "Easy to read", "roles": ["body", "display"],
|
||||
"regular": "AtkinsonHyperlegible-Regular.ttf", "bold": "AtkinsonHyperlegible-Bold.ttf",
|
||||
"italic": "AtkinsonHyperlegible-Italic.ttf"},
|
||||
"lexend": {"name": "Lexend", "group": "Easy to read", "roles": ["body", "display"],
|
||||
"regular": "Lexend-Variable.ttf", "variable": true},
|
||||
"andika": {"name": "Andika", "group": "Easy to read", "roles": ["body", "display"],
|
||||
"regular": "Andika-Regular.ttf", "bold": "Andika-Bold.ttf", "italic": "Andika-Italic.ttf"},
|
||||
"opendyslexic": {"name": "OpenDyslexic", "group": "Easy to read", "roles": ["body", "display"],
|
||||
"regular": "OpenDyslexic-Regular.otf", "bold": "OpenDyslexic-Bold.otf",
|
||||
"italic": "OpenDyslexic-Italic.otf"},
|
||||
"rokkitt": {"name": "Rokkitt", "group": "Standard", "roles": ["body", "display"],
|
||||
"regular": "Rokkitt-Variable.ttf", "variable": true},
|
||||
"inter": {"name": "Inter", "group": "Standard", "roles": ["body", "display"],
|
||||
"regular": "Inter-Variable.ttf", "italic": "Inter-Italic-Variable.ttf", "variable": true},
|
||||
"sourcesans": {"name": "Source Sans 3", "group": "Standard", "roles": ["body", "display"],
|
||||
"regular": "SourceSans3-Variable.ttf", "italic": "SourceSans3-Italic-Variable.ttf", "variable": true},
|
||||
"lora": {"name": "Lora", "group": "Standard", "roles": ["body", "display"],
|
||||
"regular": "Lora-Variable.ttf", "italic": "Lora-Italic-Variable.ttf", "variable": true},
|
||||
"cinzel": {"name": "Cinzel (classical)", "group": "Themed", "roles": ["display"],
|
||||
"regular": "Cinzel-Variable.ttf", "variable": true},
|
||||
"imfell": {"name": "IM Fell English (old book)", "group": "Themed", "roles": ["body", "display"],
|
||||
"regular": "IMFellEnglish-Regular.ttf", "italic": "IMFellEnglish-Italic.ttf"},
|
||||
"uncial": {"name": "Uncial Antiqua (Celtic)", "group": "Themed", "roles": ["display"],
|
||||
"regular": "UncialAntiqua-Regular.ttf", "fake_bold": false},
|
||||
"orbitron": {"name": "Orbitron (sci-fi)", "group": "Themed", "roles": ["display"],
|
||||
"regular": "Orbitron-Variable.ttf", "variable": true},
|
||||
"specialelite": {"name": "Special Elite (typewriter)", "group": "Themed", "roles": ["display"],
|
||||
"regular": "SpecialElite-Regular.ttf", "fake_bold": false},
|
||||
}
|
||||
|
||||
static var _files: Dictionary = {}
|
||||
|
||||
|
||||
## [[id, label], ...] for a role, grouped Standard / Easy to read / Themed.
|
||||
static func options(role: String) -> Array:
|
||||
var out := []
|
||||
for g: String in GROUPS:
|
||||
for id: String in FAMILIES:
|
||||
var f: Dictionary = FAMILIES[id]
|
||||
if f.group == g and role in f.roles:
|
||||
out.append([id, "%s — %s" % [f.name, g.to_lower()]])
|
||||
return out
|
||||
|
||||
|
||||
## A known family id for a role (unknown ids fall back to the default).
|
||||
static func resolve(id: String, role: String) -> String:
|
||||
if FAMILIES.has(id) and role in (FAMILIES[id].roles as Array):
|
||||
return id
|
||||
return DEFAULT_BODY if role == "body" else DEFAULT_DISPLAY
|
||||
|
||||
|
||||
## One face of a family. Missing bold or italic files are synthesised.
|
||||
static func face(id: String, weight: int, italic: bool, zoomable: bool) -> Font:
|
||||
var fam: Dictionary = FAMILIES.get(id, FAMILIES[DEFAULT_BODY])
|
||||
var v := FontVariation.new()
|
||||
var need_bold := weight >= 600
|
||||
if fam.get("variable", false):
|
||||
var file: String = fam.italic if italic and fam.has("italic") else fam.regular
|
||||
v.base_font = _file(file, false, 2.0 if zoomable else 0.0)
|
||||
v.variation_opentype = {TextServerManager.get_primary_interface().name_to_tag("wght"): weight}
|
||||
need_bold = false
|
||||
else:
|
||||
var file: String = fam.regular
|
||||
if need_bold and fam.has("bold"):
|
||||
file = fam.bold
|
||||
need_bold = false
|
||||
elif italic and fam.has("italic"):
|
||||
file = fam.italic
|
||||
v.base_font = _file(file, zoomable, 0.0)
|
||||
if need_bold and fam.get("fake_bold", true):
|
||||
v.variation_embolden = 0.6
|
||||
if italic and not fam.has("italic"):
|
||||
v.variation_transform = Transform2D(Vector2(1, 0), Vector2(0.2, 1), Vector2.ZERO)
|
||||
return v
|
||||
|
||||
|
||||
static func _file(file: String, msdf: bool, oversampling: float) -> FontFile:
|
||||
var key := "%s|%s|%s" % [file, msdf, oversampling]
|
||||
if not _files.has(key):
|
||||
var f: FontFile = load(DIR + file)
|
||||
if msdf or oversampling > 0.0:
|
||||
f = f.duplicate() as FontFile
|
||||
f.multichannel_signed_distance_field = msdf
|
||||
if oversampling > 0.0:
|
||||
f.oversampling = oversampling
|
||||
_files[key] = f
|
||||
return _files[key]
|
||||
1
ui/font_catalog.gd.uid
Normal file
1
ui/font_catalog.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dnhmx67wd4k0r
|
||||
|
|
@ -125,6 +125,8 @@ func _draw() -> void:
|
|||
draw_style_box(_stack_box, Rect2(off, size))
|
||||
return
|
||||
var r := Rect2(Vector2.ZERO, size)
|
||||
# The border in the group's colour, matching its members' corner marks.
|
||||
Style.bordered(_frame_box, 2, Color(GroupMark.color_of(group), 0.55))
|
||||
draw_style_box(_frame_drop if _drop or _selected else _frame_box, r)
|
||||
draw_style_box(_band_box, Rect2(0, 0, size.x, TableGroup.TITLE_H))
|
||||
|
||||
|
|
|
|||
57
ui/group_mark.gd
Normal file
57
ui/group_mark.gd
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
class_name GroupMark
|
||||
extends Control
|
||||
## The top-right corner of a card in a group, in the group's colour (its own,
|
||||
## else Style.GROUP), so members are easy to tell from cards that only lie
|
||||
## inside the group's frame. On the beaded frame it recolours that corner
|
||||
## piece; on a plain card it draws a bracket over the corner.
|
||||
##
|
||||
## Like CardFrame it draws around the host card's whole rectangle, whatever box
|
||||
## the container gives it.
|
||||
|
||||
## Plain cards: how far the bracket runs along each edge, and its width.
|
||||
const ARM := 26.0
|
||||
const WIDTH := 4.0
|
||||
const RADIUS := 10.0
|
||||
|
||||
var _color := Color(0, 0, 0, 0)
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
mouse_filter = MOUSE_FILTER_IGNORE
|
||||
texture_filter = TEXTURE_FILTER_LINEAR_WITH_MIPMAPS
|
||||
visible = false
|
||||
|
||||
|
||||
## The colour of a group's mark and border.
|
||||
static func color_of(g: TableGroup) -> Color:
|
||||
return Color.from_string(g.color, Style.GROUP) if g.color != "" else Style.GROUP
|
||||
|
||||
|
||||
## Shows the mark for the card's group, or hides it (null).
|
||||
func show_for(g: TableGroup) -> void:
|
||||
var c := color_of(g) if g else Color(0, 0, 0, 0)
|
||||
if c == _color and visible == (g != null):
|
||||
return
|
||||
_color = c
|
||||
visible = g != null
|
||||
material = CardFrame.material_for(c) if g and Style.CARD_FRAME == "ornate" else null
|
||||
queue_redraw()
|
||||
|
||||
|
||||
func _draw() -> void:
|
||||
var host := get_parent() as Control
|
||||
if host == null:
|
||||
return
|
||||
if Style.CARD_FRAME == "ornate":
|
||||
var r := Rect2(-position, host.size).grow(CardFrame.OUTSET)
|
||||
draw_set_transform(Vector2(r.end.x, r.position.y), 0.0, Vector2(-1, 1))
|
||||
draw_texture_rect(CardFrame.CORNER, Rect2(Vector2.ZERO, Vector2(CardFrame.CORNER_W, CardFrame.CORNER_H) * CardFrame.S), false)
|
||||
draw_set_transform(Vector2.ZERO)
|
||||
return
|
||||
# Plain: an L along the top and right edges, round where the card is.
|
||||
var r := Rect2(-position, host.size)
|
||||
var c := Vector2(r.end.x - RADIUS, r.position.y + RADIUS)
|
||||
var inset := WIDTH / 2.0
|
||||
draw_arc(c, RADIUS - inset, -PI / 2.0, 0.0, 12, _color, WIDTH, true)
|
||||
draw_line(Vector2(r.end.x - ARM, r.position.y + inset), Vector2(c.x, r.position.y + inset), _color, WIDTH, true)
|
||||
draw_line(Vector2(r.end.x - inset, c.y), Vector2(r.end.x - inset, r.position.y + ARM), _color, WIDTH, true)
|
||||
1
ui/group_mark.gd.uid
Normal file
1
ui/group_mark.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://whio32hdl6gm
|
||||
|
|
@ -247,7 +247,7 @@ static func _options(insp: Inspector, t: RollTable, plain: bool, err: Label) ->
|
|||
var from_picker := ValuePicker.new(main, t.options_from)
|
||||
from_picker.kinds = ["collection", "list"]
|
||||
from_picker.allow_patterns = true
|
||||
from_picker.placeholder = "a collection or list"
|
||||
from_picker.placeholder = "a ledger or list"
|
||||
insp.fields["options_from"] = from_picker
|
||||
var seg := ModalCard.segmented(["Fixed list", "From a value"], 1 if dynamic else 0, func(i: int) -> void:
|
||||
if i == 0:
|
||||
|
|
@ -255,7 +255,7 @@ static func _options(insp: Inspector, t: RollTable, plain: bool, err: Label) ->
|
|||
else:
|
||||
var first := _first_source(main.data)
|
||||
if first == "":
|
||||
InspectorKit.show_error(err, "Add a collection (+ Card ▾ → Collection) or a list value first, then pick it here.")
|
||||
InspectorKit.show_error(err, "Add a ledger (+ Card ▾ → Ledger) or a list value first, then pick it here.")
|
||||
return
|
||||
InspectorKit.show_error(err, set_options(insp, first, ""))
|
||||
)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ const ADD_KINDS := [
|
|||
["Repeat", RollTable.KIND_LOOP, "times", "Repeat"],
|
||||
["Branch: if / else if / otherwise", RollTable.KIND_ROUTER, "", "Branch"],
|
||||
["Variable", RollTable.KIND_VARIABLE, "number", "New variable"],
|
||||
["Collection (Skills, Contacts…)", RollTable.KIND_VARIABLE, RollTable.VAR_COLLECTION, "Skills"],
|
||||
["Ledger (Skills, Contacts…)", RollTable.KIND_VARIABLE, RollTable.VAR_COLLECTION, "Skills"],
|
||||
["Scale (ordered steps)", RollTable.KIND_VARIABLE, RollTable.VAR_SCALE, "New scale"],
|
||||
["Sheet", RollTable.KIND_SHEET, "", "Sheet"],
|
||||
]
|
||||
|
|
|
|||
|
|
@ -176,6 +176,10 @@ func _board_changed() -> void:
|
|||
m.view_rev += 1
|
||||
m.edit_rev += 1
|
||||
m.top_bar._schedule_endless_check()
|
||||
for c in m.cards.values():
|
||||
(c as TableCard).skin.sync_group()
|
||||
for gn in m.board.groups.get_children():
|
||||
(gn as CanvasItem).queue_redraw()
|
||||
if m.mode == Main.Mode.BUILD:
|
||||
m.refresh_live()
|
||||
if m.inspector:
|
||||
|
|
|
|||
|
|
@ -15,11 +15,14 @@ var _pulse_tween: Tween
|
|||
var _choice: ChoiceDialog
|
||||
## Rolls waiting at a paused thread.
|
||||
var pauses: RollPauses
|
||||
## Deck-mode draws not shown yet in an animated roll.
|
||||
var deck_reveal: DeckReveal
|
||||
|
||||
|
||||
func _init(p_main: Main) -> void:
|
||||
m = p_main
|
||||
pauses = RollPauses.new(p_main)
|
||||
deck_reveal = DeckReveal.new(self)
|
||||
|
||||
|
||||
## Rolls a table and plays the result down its pipes. A fast roll (Shift held
|
||||
|
|
@ -82,10 +85,14 @@ func start_roll(tid: String, fast: bool = false) -> void:
|
|||
if fast or prompted or (m.current["all"] as Array).size() > LONG_CHAIN:
|
||||
_finish_fast_roll()
|
||||
return
|
||||
deck_reveal.hold(m.current["all"], my)
|
||||
m._refresh_lit()
|
||||
m.tray.render()
|
||||
await _play_node(tree, my)
|
||||
if my == _token:
|
||||
deck_reveal.clear()
|
||||
for c in m.cards.values():
|
||||
(c as TableCard).update_deck()
|
||||
m.current["steps"] = m.current["all"]
|
||||
m.current["done"] = true
|
||||
m.tray.render()
|
||||
|
|
@ -236,6 +243,7 @@ func _play_one(n: Dictionary, my: int, depth: int) -> void:
|
|||
m.lit_entries[ek] = true
|
||||
m.lit_texts[ek] = str(n.get("summary", e.text))
|
||||
TableCardColumns.note_lit(m, ek, n)
|
||||
deck_reveal.release(t.id, e.id)
|
||||
m._refresh_lit()
|
||||
if card:
|
||||
card.reveal(e.id)
|
||||
|
|
@ -248,6 +256,7 @@ func _play_one(n: Dictionary, my: int, depth: int) -> void:
|
|||
## long lists scrolled to their result, and the full chain in the tray.
|
||||
func _finish_fast_roll() -> void:
|
||||
var all: Array = m.current["all"]
|
||||
deck_reveal.clear()
|
||||
_light_steps(all)
|
||||
m._refresh_lit()
|
||||
_reveal_steps(all)
|
||||
|
|
|
|||
|
|
@ -100,7 +100,10 @@ func cards_left(tid: String) -> Vector2i:
|
|||
if t == null:
|
||||
return Vector2i.ZERO
|
||||
var deck: DeckState = m.decks.get(tid)
|
||||
return deck.cards_left(t) if deck else DeckState.new().cards_left(t)
|
||||
var left := deck.cards_left(t) if deck else DeckState.new().cards_left(t)
|
||||
# Draws of an animated roll count as still in the deck until they show.
|
||||
left.x = mini(left.y, left.x + m.rolling.deck_reveal.held_total(tid))
|
||||
return left
|
||||
|
||||
|
||||
func reshuffle_table(tid: String) -> void:
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ var _drawn_rev := -1
|
|||
var _drawn_hover := -1
|
||||
var _drawn_mode := -1
|
||||
var _drawn_far := false
|
||||
## [stack index, rect] of each visible card, for hiding ports under other cards.
|
||||
var _stack: Array = []
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
|
|
@ -68,12 +70,14 @@ func _draw() -> void:
|
|||
return
|
||||
var build := main.mode == Main.Mode.BUILD
|
||||
var mouse := get_local_mouse_position()
|
||||
_note_stack()
|
||||
for t in main.data.tables:
|
||||
var card := main.card_for(t.id)
|
||||
if card == null or not card.is_inside_tree() or not card.visible:
|
||||
continue
|
||||
var below := card.get_index()
|
||||
# Variable cards are never rolled, so nothing pipes into them.
|
||||
if t.kind != RollTable.KIND_VARIABLE:
|
||||
if t.kind != RollTable.KIND_VARIABLE and not _covered(card.inlet_point(), below):
|
||||
_port(card.inlet_point(), Style.THREAD, Style.THREAD_DARK, 1.0)
|
||||
for e in t.entries:
|
||||
if not card.rows.has(e.id):
|
||||
|
|
@ -85,6 +89,8 @@ func _draw() -> void:
|
|||
if not build and not on:
|
||||
continue
|
||||
var pos: Vector2 = a["pos"]
|
||||
if _covered(pos, below):
|
||||
continue
|
||||
var fill := Style.THREAD if on else Style.CARD
|
||||
var ring := Style.THREAD_DARK
|
||||
var s := 1.0
|
||||
|
|
@ -100,7 +106,7 @@ func _draw() -> void:
|
|||
if card.more_row != null:
|
||||
var m := card.anchor_for("")
|
||||
var on_hidden := card.hidden_has_pipes()
|
||||
if not m.is_empty() and (on_hidden or build):
|
||||
if not m.is_empty() and (on_hidden or build) and not _covered(m["pos"], below):
|
||||
_port(m["pos"], Style.THREAD if on_hidden else Style.CARD, Style.THREAD_DARK, 1.0)
|
||||
# Collapsed groups: an inlet, and an outlet wherever member pipes leave.
|
||||
for g in main.data.groups:
|
||||
|
|
@ -118,6 +124,23 @@ func _draw() -> void:
|
|||
_draw_ghost(PipeLayer.curve(_ghost_from, _ghost_to))
|
||||
|
||||
|
||||
## Remembers where each visible card sits and how high it is stacked.
|
||||
func _note_stack() -> void:
|
||||
_stack.clear()
|
||||
for c in main.board.cards.get_children():
|
||||
var tc := c as TableCard
|
||||
if tc and tc.visible:
|
||||
_stack.append([tc.get_index(), Rect2(tc.position, tc.size)])
|
||||
|
||||
|
||||
## True when a card stacked above index `below` covers the point.
|
||||
func _covered(pos: Vector2, below: int) -> bool:
|
||||
for s: Array in _stack:
|
||||
if int(s[0]) > below and (s[1] as Rect2).has_point(pos):
|
||||
return true
|
||||
return false
|
||||
|
||||
|
||||
func _port(pos: Vector2, fill: Color, ring: Color, s: float) -> void:
|
||||
draw_circle(pos, 8.0 * s, ring)
|
||||
draw_circle(pos, 5.0 * s, fill)
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ func build() -> void:
|
|||
_var_name.text_changed.connect(func(_t: String) -> void: d._refresh())
|
||||
box.add_child(ModalCard.field("Variable name (used as @name)", _var_name))
|
||||
box.add_child(ModalCard.section("Type"))
|
||||
box.add_child(ModalCard.segmented(["Number", "Text", "List", "Collection", "Scale"], RollTable.VAR_TYPES.find(_var_type), func(i: int) -> void:
|
||||
box.add_child(ModalCard.segmented(["Number", "Text", "List", "Ledger", "Scale"], RollTable.VAR_TYPES.find(_var_type), func(i: int) -> void:
|
||||
_var_type = RollTable.VAR_TYPES[i]
|
||||
d._refresh()
|
||||
))
|
||||
|
|
|
|||
47
ui/style.gd
47
ui/style.gd
|
|
@ -33,6 +33,8 @@ static var THREAD_DARK := Color("#4f2b12")
|
|||
## Lit and selected things.
|
||||
static var ACCENT := Color("#f3c450")
|
||||
static var ACCENT_DARK := Color("#6e5410")
|
||||
## Marks group members (a card's top-right corner) when the group has no colour.
|
||||
static var GROUP := Color("#f3c450")
|
||||
static var LIT := Color("#f8e4a2")
|
||||
static var FLICK := Color(0.953, 0.769, 0.314, 0.35)
|
||||
static var PULSE := Color("#fff6d2")
|
||||
|
|
@ -65,51 +67,46 @@ static var LOGO := "none"
|
|||
## Card border art: "ornate" (CardFrame) or "plain".
|
||||
static var CARD_FRAME := "plain"
|
||||
|
||||
const FONT_DIR := "res://assets/fonts/"
|
||||
## The theme's font families (FontCatalog ids).
|
||||
static var BODY_FONT := FontCatalog.DEFAULT_BODY
|
||||
static var DISPLAY_FONT := FontCatalog.DEFAULT_DISPLAY
|
||||
|
||||
static var _fonts: Dictionary = {}
|
||||
|
||||
|
||||
# ---------- Fonts ----------
|
||||
# Cards live on the zoomable board, so they use MSDF fonts that stay sharp at any scale.
|
||||
# Cards live on the zoomable board, so their fonts stay sharp at any scale
|
||||
# (FontCatalog picks MSDF or oversampling per family).
|
||||
|
||||
static func _file(file: String, msdf: bool) -> FontFile:
|
||||
var key := "%s|%s" % [file, msdf]
|
||||
## Sets the theme's families and drops cached faces.
|
||||
static func set_fonts(body_id: String, display_id: String) -> void:
|
||||
BODY_FONT = FontCatalog.resolve(body_id, "body")
|
||||
DISPLAY_FONT = FontCatalog.resolve(display_id, "display")
|
||||
_fonts.clear()
|
||||
|
||||
|
||||
static func _face(family: String, weight: int, italic: bool, zoomable: bool) -> Font:
|
||||
var key := "%s|%d|%s|%s" % [family, weight, italic, zoomable]
|
||||
if not _fonts.has(key):
|
||||
var f: FontFile = load(FONT_DIR + file)
|
||||
if msdf:
|
||||
f = f.duplicate() as FontFile
|
||||
f.multichannel_signed_distance_field = true
|
||||
_fonts[key] = f
|
||||
_fonts[key] = FontCatalog.face(family, weight, italic, zoomable)
|
||||
return _fonts[key]
|
||||
|
||||
|
||||
static func body(msdf: bool = false) -> Font:
|
||||
return _file("AtkinsonHyperlegible-Regular.ttf", msdf)
|
||||
return _face(BODY_FONT, 400, false, msdf)
|
||||
|
||||
|
||||
static func body_bold(msdf: bool = false) -> Font:
|
||||
return _file("AtkinsonHyperlegible-Bold.ttf", msdf)
|
||||
return _face(BODY_FONT, 700, false, msdf)
|
||||
|
||||
|
||||
static func body_italic(msdf: bool = false) -> Font:
|
||||
return _file("AtkinsonHyperlegible-Italic.ttf", msdf)
|
||||
return _face(BODY_FONT, 400, true, msdf)
|
||||
|
||||
|
||||
## Rokkitt, the slab display face. It's a variable font with overlapping
|
||||
## outlines, which MSDF renders badly, so on cards it is oversampled instead.
|
||||
## The display (title) face, by default the Rokkitt slab.
|
||||
static func display(zoomable: bool = false, weight: int = 700) -> Font:
|
||||
var key := "display|%d|%s" % [weight, zoomable]
|
||||
if not _fonts.has(key):
|
||||
var v := FontVariation.new()
|
||||
var base := _file("Rokkitt-Variable.ttf", false)
|
||||
if zoomable:
|
||||
base = base.duplicate() as FontFile
|
||||
base.oversampling = 2.0
|
||||
v.base_font = base
|
||||
v.variation_opentype = {TextServerManager.get_primary_interface().name_to_tag("wght"): weight}
|
||||
_fonts[key] = v
|
||||
return _fonts[key]
|
||||
return _face(DISPLAY_FONT, weight, false, zoomable)
|
||||
|
||||
|
||||
## Bold body face with a little letter-spacing, for small uppercase labels.
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ var geometry: TableCardGeometry
|
|||
var list_ui: TableCardList
|
||||
## The ornamental border (null when the theme has none).
|
||||
var frame: CardFrame
|
||||
var group_mark: GroupMark
|
||||
## The resize handle (CardGrip), kept as the last child.
|
||||
var grip: CardGrip
|
||||
## Takes the mouse while zoomed out (CardShield).
|
||||
|
|
@ -96,6 +97,8 @@ func setup(p_main: Main, p_table: RollTable) -> void:
|
|||
if Style.CARD_FRAME == "ornate":
|
||||
frame = CardFrame.new()
|
||||
add_child(frame)
|
||||
group_mark = GroupMark.new()
|
||||
add_child(group_mark)
|
||||
grip = CardGrip.new(self)
|
||||
add_child(grip)
|
||||
shield = CardShield.new(main, _on_header_input, open_menu_on, func() -> void: main.rolling.start_roll(table.id))
|
||||
|
|
@ -115,7 +118,7 @@ func _on_rules_view_changed(_v: Variant = null) -> void:
|
|||
|
||||
func rebuild() -> void:
|
||||
for c in get_children():
|
||||
if c == frame or c == grip or c == shield:
|
||||
if c == frame or c == group_mark or c == grip or c == shield:
|
||||
continue
|
||||
remove_child(c)
|
||||
c.queue_free()
|
||||
|
|
|
|||
|
|
@ -114,13 +114,27 @@ static func mini_button(glyph: String, tip: String, enabled: bool, on_press: Cal
|
|||
|
||||
## Moves router case `index` up (-1) or down (+1).
|
||||
func _move_case(index: int, by: int) -> void:
|
||||
var table := card.table
|
||||
var to := index + by
|
||||
if to < 0 or to >= table.entries.size():
|
||||
move_entry(index, index + by)
|
||||
|
||||
|
||||
## Moves the result at `from` to `to` (an index in the list without it). On a
|
||||
## card with number ranges the ranges stay where they were, so the results
|
||||
## move through them and the numbers stay in order.
|
||||
func move_entry(from: int, to: int) -> void:
|
||||
var entries := card.table.entries
|
||||
if from == to or from < 0 or from >= entries.size() or to < 0 or to >= entries.size():
|
||||
return
|
||||
var e := table.entries[index]
|
||||
table.entries.remove_at(index)
|
||||
table.entries.insert(to, e)
|
||||
var ranges: Array = []
|
||||
for e in entries:
|
||||
ranges.append([e.has_range, e.range_lo, e.range_hi])
|
||||
var moved := entries[from]
|
||||
entries.remove_at(from)
|
||||
entries.insert(to, moved)
|
||||
if card.table.is_ranged():
|
||||
for i in entries.size():
|
||||
entries[i].has_range = ranges[i][0]
|
||||
entries[i].range_lo = ranges[i][1]
|
||||
entries[i].range_hi = ranges[i][2]
|
||||
card.rebuild()
|
||||
card.main.mark_dirty()
|
||||
|
||||
|
|
|
|||
|
|
@ -269,7 +269,7 @@ func _make_kind_header(_build: bool) -> Control:
|
|||
RollTable.KIND_VARIABLE:
|
||||
var txt := "@%s · %s" % [table.var_name, table.var_type]
|
||||
if table.is_collection():
|
||||
txt = "Collection · kept between rolls" if plain else "@%s_* (spread values)" % table.var_name
|
||||
txt = "Ledger · kept between rolls" if plain else "@%s_* (spread values)" % table.var_name
|
||||
elif plain:
|
||||
txt = "%s · kept between rolls" % table.var_type.capitalize()
|
||||
var l := Style.make_label(txt, Style.body(true), 12, Style.MUTED)
|
||||
|
|
|
|||
|
|
@ -86,6 +86,8 @@ func make_row(e: TableEntry, index: int, build: bool, ranged: bool, numw: float)
|
|||
var fixed := table.kind == RollTable.KIND_LOOP or (table.kind == RollTable.KIND_CHOICE and table.choice != "pick")
|
||||
var chosen := _is_chosen_row(index)
|
||||
|
||||
if build and not fixed and not chosen and table.entries.size() > 1:
|
||||
h.add_child(EntryHandle.new(card, e.id))
|
||||
var num: Label = null
|
||||
if build and ranged:
|
||||
var r := TableCard.hbox(2)
|
||||
|
|
|
|||
|
|
@ -18,6 +18,13 @@ func sync_frame() -> void:
|
|||
else:
|
||||
for sb: StyleBoxFlat in [card._style_normal, card._style_dragging]:
|
||||
Style.bordered(sb, 3 if own.a > 0.0 else 0, own)
|
||||
sync_group()
|
||||
|
||||
|
||||
## The top-right corner mark for the card's group (GroupMark).
|
||||
func sync_group() -> void:
|
||||
if card.group_mark:
|
||||
card.group_mark.show_for(card.main.data.group_of(card.table.id))
|
||||
|
||||
|
||||
func apply_style() -> void:
|
||||
|
|
@ -87,7 +94,8 @@ func dim_drawn() -> void:
|
|||
var row: Control = card.rows.get(e.id)
|
||||
if row == null or not is_instance_valid(row):
|
||||
continue
|
||||
var gone := deck != null and deck.remaining(card.table, e) <= 0
|
||||
var held := card.main.rolling.deck_reveal.held(card.table.id, e.id)
|
||||
var gone := deck != null and deck.remaining(card.table, e) + held <= 0
|
||||
row.modulate.a = 0.38 if gone else 1.0
|
||||
row.tooltip_text = "Already drawn: Shuffle the deck to put it back" if gone else ""
|
||||
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ static func kind_line(t: RollTable) -> String:
|
|||
RollTable.KIND_LOOP:
|
||||
return "Repeat card"
|
||||
RollTable.KIND_VARIABLE:
|
||||
return "Collection card" if t.is_collection() else "Variable card"
|
||||
return "Ledger card" if t.is_collection() else "Variable card"
|
||||
RollTable.KIND_SHEET:
|
||||
return "Sheet card"
|
||||
RollTable.KIND_ROUTER:
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ func _rebuild() -> void:
|
|||
row.add_child(ModalCard.field("Card border", _choice(ThemeStore.CARD_FRAMES, "card_frame", "plain")))
|
||||
row.add_child(ModalCard.field("Logo", _choice(ThemeStore.LOGOS, "logo", "none")))
|
||||
_content.add_child(row)
|
||||
_content.add_child(_font_row())
|
||||
_content.add_child(ModalCard.section("Colours"))
|
||||
var grid := GridContainer.new()
|
||||
grid.columns = 2
|
||||
|
|
@ -93,6 +94,31 @@ func _rebuild() -> void:
|
|||
_content.add_child(more)
|
||||
|
||||
|
||||
## Text and title font pickers, with a line drawn in each choice.
|
||||
func _font_row() -> Control:
|
||||
var box := VBoxContainer.new()
|
||||
var row := HBoxContainer.new()
|
||||
row.add_theme_constant_override("separation", 24)
|
||||
box.add_child(row)
|
||||
var sample := HBoxContainer.new()
|
||||
sample.add_theme_constant_override("separation", 16)
|
||||
box.add_child(sample)
|
||||
var show := func() -> void:
|
||||
for c in sample.get_children():
|
||||
c.queue_free()
|
||||
var b := FontCatalog.resolve(str(_work.get("font_body", "")), "body")
|
||||
var d := FontCatalog.resolve(str(_work.get("font_display", "")), "display")
|
||||
sample.add_child(Style.make_label("The Fortune Teller", FontCatalog.face(d, 700, false, false), 20, Style.INK))
|
||||
sample.add_child(Style.make_label("rolls 2d6 for 7: a quiet night.", FontCatalog.face(b, 400, false, false), 15, Style.INK))
|
||||
for spec: Array in [["Text font", "font_body", "body"], ["Title font", "font_display", "display"]]:
|
||||
var key: String = spec[1]
|
||||
var ob := _choice(FontCatalog.options(spec[2]), key, FontCatalog.resolve(str(_work.get(key, "")), spec[2]))
|
||||
ob.item_selected.connect(func(_i: int) -> void: show.call())
|
||||
row.add_child(ModalCard.field(spec[0], ob))
|
||||
show.call()
|
||||
return box
|
||||
|
||||
|
||||
func _color(tok: String) -> Color:
|
||||
return Color.from_string(str((_work["colors"] as Dictionary).get(tok, "#000")), Color.BLACK)
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ const TOKENS := [
|
|||
["TRIM_DARK", "Trim, dark", false],
|
||||
["THREAD_DARK", "Threads, dark edge", false],
|
||||
["ACCENT_DARK", "Highlight, dark", false],
|
||||
["GROUP", "Group mark (groups without a colour)", false],
|
||||
["LIT", "Lit result", false],
|
||||
["FLICK", "Rolling flicker", false],
|
||||
["PULSE", "Thread pulse", false],
|
||||
|
|
@ -126,6 +127,7 @@ static func apply(t: Dictionary) -> void:
|
|||
Style.PATTERN = str(t.get("pattern", "dots"))
|
||||
Style.LOGO = str(t.get("logo", "none"))
|
||||
Style.CARD_FRAME = str(t.get("card_frame", "plain"))
|
||||
Style.set_fonts(str(t.get("font_body", "")), str(t.get("font_display", "")))
|
||||
current = t
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extends Button
|
|||
|
||||
signal value_chosen(name: String)
|
||||
|
||||
const GROUPS := ["", "Variables", "Collections", "Other values", "Roll values"]
|
||||
const GROUPS := ["", "Variables", "Ledgers", "Other values", "Roll values"]
|
||||
const KIND_WORDS := {"number": "number", "text": "text", "list": "list", "collection": "collection", "scale": "scale"}
|
||||
|
||||
var main: Main
|
||||
|
|
@ -108,13 +108,13 @@ func items() -> Array:
|
|||
"variable":
|
||||
g = "Variables"
|
||||
"collection":
|
||||
g = "Collections"
|
||||
g = "Ledgers"
|
||||
"chain":
|
||||
g = "Roll values"
|
||||
"input":
|
||||
g = "Roll values"
|
||||
if k.has("collection"):
|
||||
g = "Collections"
|
||||
g = "Ledgers"
|
||||
out.append({"name": n, "label": str(k["label"]), "kind": kind, "group": g})
|
||||
var ordered: Array = []
|
||||
for g: String in GROUPS:
|
||||
|
|
|
|||
Loading…
Reference in a new issue