Compare commits

...

3 commits

Author SHA1 Message Date
Tony Bark
9589acd877 Upgraded license 2023-12-14 02:32:06 -05:00
Tony Bark
ceae7ebfa6 Split 2D and 3D scripts
- Moved data structure code to /scripts
2023-12-14 02:29:02 -05:00
Tony Bark
36edaaf17b Merge Kenny's City Builder Starter Kit 2023-12-14 01:41:21 -05:00
512 changed files with 2908 additions and 8187 deletions

503
.gitignore vendored
View file

@ -1,6 +1,6 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig # File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
# Created by https://www.toptal.com/developers/gitignore/api/windows,web,visualstudiocode,monodevelop,macos,linux,godot,executable,dotnetcore,backup # Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,rider,macos,linux,godot,executable,backup,visualstudio
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,web,visualstudiocode,monodevelop,macos,linux,godot,executable,dotnetcore,backup # Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,rider,macos,linux,godot,executable,backup,visualstudio
### Backup ### ### Backup ###
*.bak *.bak
@ -9,15 +9,6 @@
*.orig *.orig
*.tmp *.tmp
### DotnetCore ###
# .NET Core build folders
bin/
obj/
# Common node modules locations
/node_modules
/wwwroot/node_modules
### Executable ### ### Executable ###
*.app *.app
*.bat *.bat
@ -95,15 +86,84 @@ Temporary Items
# iCloud generated files # iCloud generated files
*.icloud *.icloud
### MonoDevelop ### ### Rider ###
#User Specific # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
*.userprefs # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
*.usertasks
#Mono Project Files # User-specific stuff
*.pidb .idea/**/workspace.xml
*.resources .idea/**/tasks.xml
test-results/ .idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# AWS User-specific
.idea/**/aws.xml
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# SonarLint plugin
.idea/sonarlint/
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
### VisualStudioCode ### ### VisualStudioCode ###
.vscode/* .vscode/*
@ -124,21 +184,6 @@ test-results/
.history .history
.ionide .ionide
### Web ###
*.asp
*.cer
*.csr
*.css
*.htm
*.html
*.js
*.jsp
*.php
*.rss
*.wasm
*.wat
*.xhtml
### Windows ### ### Windows ###
# Windows thumbnail cache files # Windows thumbnail cache files
Thumbs.db Thumbs.db
@ -165,7 +210,395 @@ $RECYCLE.BIN/
# Windows shortcuts # Windows shortcuts
*.lnk *.lnk
# End of https://www.toptal.com/developers/gitignore/api/windows,web,visualstudiocode,monodevelop,macos,linux,godot,executable,dotnetcore,backup ### VisualStudio ###
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
*.vbp
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
*.dsw
*.dsp
# Visual Studio 6 technical files
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# Visual Studio History (VSHistory) files
.vshistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
# VS Code files for those working on multiple tools
*.code-workspace
# Local History for Visual Studio Code
# Windows Installer files from build outputs
# JetBrains Rider
*.sln.iml
### VisualStudio Patch ###
# Additional files built by Visual Studio
# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,rider,macos,linux,godot,executable,backup,visualstudio
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) # Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

878
LICENSE
View file

@ -1,320 +1,674 @@
GNU GENERAL PUBLIC LICENSE GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Version 2, June 1991 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Copyright (C) 1989, 1991 Free Software Foundation, Inc. Preamble
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA The GNU General Public License is a free, copyleft license for
software and other kinds of works.
Everyone is permitted to copy and distribute verbatim copies of this license The licenses for most software and other practical works are designed
document, but changing it is not allowed. to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
Preamble When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
The licenses for most software are designed to take away your freedom to share To protect your rights, we need to prevent others from denying you
and change it. By contrast, the GNU General Public License is intended to these rights or asking you to surrender the rights. Therefore, you have
guarantee your freedom to share and change free software--to make sure the certain responsibilities if you distribute copies of the software, or if
software is free for all its users. This General Public License applies to you modify it: responsibilities to respect the freedom of others.
most of the Free Software Foundation's software and to any other program whose
authors commit to using it. (Some other Free Software Foundation software
is covered by the GNU Lesser General Public License instead.) You can apply
it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our For example, if you distribute copies of such a program, whether
General Public Licenses are designed to make sure that you have the freedom gratis or for a fee, you must pass on to the recipients the same
to distribute copies of free software (and charge for this service if you freedoms that you received. You must make sure that they, too, receive
wish), that you receive source code or can get it if you want it, that you or can get the source code. And you must show them these terms so they
can change the software or use pieces of it in new free programs; and that know their rights.
you know you can do these things.
To protect your rights, we need to make restrictions that forbid anyone to Developers that use the GNU GPL protect your rights with two steps:
deny you these rights or to ask you to surrender the rights. These restrictions (1) assert copyright on the software, and (2) offer you this License
translate to certain responsibilities for you if you distribute copies of giving you legal permission to copy, distribute and/or modify it.
the software, or if you modify it.
For example, if you distribute copies of such a program, whether gratis or For the developers' and authors' protection, the GPL clearly explains
for a fee, you must give the recipients all the rights that you have. You that there is no warranty for this free software. For both users' and
must make sure that they, too, receive or can get the source code. And you authors' sake, the GPL requires that modified versions be marked as
must show them these terms so they know their rights. changed, so that their problems will not be attributed erroneously to
authors of previous versions.
We protect your rights with two steps: (1) copyright the software, and (2) Some devices are designed to deny users access to install or run
offer you this license which gives you legal permission to copy, distribute modified versions of the software inside them, although the manufacturer
and/or modify the software. can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Also, for each author's protection and ours, we want to make certain that Finally, every program is threatened constantly by software patents.
everyone understands that there is no warranty for this free software. If States should not allow patents to restrict development and use of
the software is modified by someone else and passed on, we want its recipients software on general-purpose computers, but in those that do, we wish to
to know that what they have is not the original, so that any problems introduced avoid the special danger that patents applied to a free program could
by others will not reflect on the original authors' reputations. make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
Finally, any free program is threatened constantly by software patents. We The precise terms and conditions for copying, distribution and
wish to avoid the danger that redistributors of a free program will individually modification follow.
obtain patent licenses, in effect making the program proprietary. To prevent
this, we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
The precise terms and conditions for copying, distribution and modification TERMS AND CONDITIONS
follow.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. Definitions.
0. This License applies to any program or other work which contains a notice "This License" refers to version 3 of the GNU General Public License.
placed by the copyright holder saying it may be distributed under the terms
of this General Public License. The "Program", below, refers to any such program
or work, and a "work based on the Program" means either the Program or any
derivative work under copyright law: that is to say, a work containing the
Program or a portion of it, either verbatim or with modifications and/or translated
into another language. (Hereinafter, translation is included without limitation
in the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not covered "Copyright" also means copyright-like laws that apply to other kinds of
by this License; they are outside its scope. The act of running the Program works, such as semiconductor masks.
is not restricted, and the output from the Program is covered only if its
contents constitute a work based on the Program (independent of having been
made by running the Program). Whether that is true depends on what the Program
does.
1. You may copy and distribute verbatim copies of the Program's source code "The Program" refers to any copyrightable work licensed under this
as you receive it, in any medium, provided that you conspicuously and appropriately License. Each licensee is addressed as "you". "Licensees" and
publish on each copy an appropriate copyright notice and disclaimer of warranty; "recipients" may be individuals or organizations.
keep intact all the notices that refer to this License and to the absence
of any warranty; and give any other recipients of the Program a copy of this
License along with the Program.
You may charge a fee for the physical act of transferring a copy, and you To "modify" a work means to copy from or adapt all or part of the work
may at your option offer warranty protection in exchange for a fee. in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
2. You may modify your copy or copies of the Program or any portion of it, A "covered work" means either the unmodified Program or a work based
thus forming a work based on the Program, and copy and distribute such modifications
or work under the terms of Section 1 above, provided that you also meet all
of these conditions:
a) You must cause the modified files to carry prominent notices stating that
you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in whole or
in part contains or is derived from the Program or any part thereof, to be
licensed as a whole at no charge to all third parties under the terms of this
License.
c) If the modified program normally reads commands interactively when run,
you must cause it, when started running for such interactive use in the most
ordinary way, to print or display an announcement including an appropriate
copyright notice and a notice that there is no warranty (or else, saying that
you provide a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this License.
(Exception: if the Program itself is interactive but does not normally print
such an announcement, your work based on the Program is not required to print
an announcement.)
These requirements apply to the modified work as a whole. If identifiable
sections of that work are not derived from the Program, and can be reasonably
considered independent and separate works in themselves, then this License,
and its terms, do not apply to those sections when you distribute them as
separate works. But when you distribute the same sections as part of a whole
which is a work based on the Program, the distribution of the whole must be
on the terms of this License, whose permissions for other licensees extend
to the entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest your
rights to work written entirely by you; rather, the intent is to exercise
the right to control the distribution of derivative or collective works based
on the Program. on the Program.
In addition, mere aggregation of another work not based on the Program with To "propagate" a work means to do anything with it that, without
the Program (or with a work based on the Program) on a volume of a storage permission, would make you directly or secondarily liable for
or distribution medium does not bring the other work under the scope of this infringement under applicable copyright law, except executing it on a
License. computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
3. You may copy and distribute the Program (or a work based on it, under Section To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
2) in object code or executable form under the terms of Sections 1 and 2 above An interactive user interface displays "Appropriate Legal Notices"
provided that you also do one of the following: to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
a) Accompany it with the complete corresponding machine-readable source code, 1. Source Code.
which must be distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three years, to give The "source code" for a work means the preferred form of the work
any third party, for a charge no more than your cost of physically performing for making modifications to it. "Object code" means any non-source
source distribution, a complete machine-readable copy of the corresponding form of a work.
source code, to be distributed under the terms of Sections 1 and 2 above on
a medium customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer to distribute A "Standard Interface" means an interface that either is an official
corresponding source code. (This alternative is allowed only for noncommercial standard defined by a recognized standards body, or, in the case of
distribution and only if you received the program in object code or executable interfaces specified for a particular programming language, one that
form with such an offer, in accord with Subsection b above.) is widely used among developers working in that language.
The source code for a work means the preferred form of the work for making The "System Libraries" of an executable work include anything, other
modifications to it. For an executable work, complete source code means all than the work as a whole, that (a) is included in the normal form of
the source code for all modules it contains, plus any associated interface packaging a Major Component, but which is not part of that Major
definition files, plus the scripts used to control compilation and installation Component, and (b) serves only to enable use of the work with that
of the executable. However, as a special exception, the source code distributed Major Component, or to implement a Standard Interface for which an
need not include anything that is normally distributed (in either source or implementation is available to the public in source code form. A
binary form) with the major components (compiler, kernel, and so on) of the "Major Component", in this context, means a major essential component
operating system on which the executable runs, unless that component itself (kernel, window system, and so on) of the specific operating system
accompanies the executable. (if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
If distribution of executable or object code is made by offering access to The "Corresponding Source" for a work in object code form means all
copy from a designated place, then offering equivalent access to copy the the source code needed to generate, install, and (for an executable
source code from the same place counts as distribution of the source code, work) run the object code and to modify the work, including scripts to
even though third parties are not compelled to copy the source along with control those activities. However, it does not include the work's
the object code. System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
4. You may not copy, modify, sublicense, or distribute the Program except The Corresponding Source need not include anything that users
as expressly provided under this License. Any attempt otherwise to copy, modify, can regenerate automatically from other parts of the Corresponding
sublicense or distribute the Program is void, and will automatically terminate Source.
your rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses terminated
so long as such parties remain in full compliance.
5. You are not required to accept this License, since you have not signed The Corresponding Source for a work in source code form is that
it. However, nothing else grants you permission to modify or distribute the same work.
Program or its derivative works. These actions are prohibited by law if you
do not accept this License. Therefore, by modifying or distributing the Program
(or any work based on the Program), you indicate your acceptance of this License
to do so, and all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the Program), 2. Basic Permissions.
the recipient automatically receives a license from the original licensor
to copy, distribute or modify the Program subject to these terms and conditions.
You may not impose any further restrictions on the recipients' exercise of
the rights granted herein. You are not responsible for enforcing compliance
by third parties to this License.
7. If, as a consequence of a court judgment or allegation of patent infringement All rights granted under this License are granted for the term of
or for any other reason (not limited to patent issues), conditions are imposed copyright on the Program, and are irrevocable provided the stated
on you (whether by court order, agreement or otherwise) that contradict the conditions are met. This License explicitly affirms your unlimited
conditions of this License, they do not excuse you from the conditions of permission to run the unmodified Program. The output from running a
this License. If you cannot distribute so as to satisfy simultaneously your covered work is covered by this License only if the output, given its
obligations under this License and any other pertinent obligations, then as content, constitutes a covered work. This License acknowledges your
a consequence you may not distribute the Program at all. For example, if a rights of fair use or other equivalent, as provided by copyright law.
patent license would not permit royalty-free redistribution of the Program
by all those who receive copies directly or indirectly through you, then the
only way you could satisfy both it and this License would be to refrain entirely
from distribution of the Program.
If any portion of this section is held invalid or unenforceable under any You may make, run and propagate covered works that you do not
particular circumstance, the balance of the section is intended to apply and convey, without conditions so long as your license otherwise remains
the section as a whole is intended to apply in other circumstances. in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
It is not the purpose of this section to induce you to infringe any patents Conveying under any other circumstances is permitted solely under
or other property right claims or to contest validity of any such claims; the conditions stated below. Sublicensing is not allowed; section 10
this section has the sole purpose of protecting the integrity of the free makes it unnecessary.
software distribution system, which is implemented by public license practices.
Many people have made generous contributions to the wide range of software
distributed through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing to
distribute software through any other system and a licensee cannot impose
that choice.
This section is intended to make thoroughly clear what is believed to be a 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in certain No covered work shall be deemed part of an effective technological
countries either by patents or by copyrighted interfaces, the original copyright measure under any applicable law fulfilling obligations under article
holder who places the Program under this License may add an explicit geographical 11 of the WIPO copyright treaty adopted on 20 December 1996, or
distribution limitation excluding those countries, so that distribution is similar laws prohibiting or restricting circumvention of such
permitted only in or among countries not thus excluded. In such case, this measures.
License incorporates the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions of When you convey a covered work, you waive any legal power to forbid
the General Public License from time to time. Such new versions will be similar circumvention of technological measures to the extent such circumvention
in spirit to the present version, but may differ in detail to address new is effected by exercising rights under this License with respect to
problems or concerns. the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
Each version is given a distinguishing version number. If the Program specifies 4. Conveying Verbatim Copies.
a version number of this License which applies to it and "any later version",
you have the option of following the terms and conditions either of that version
or of any later version published by the Free Software Foundation. If the
Program does not specify a version number of this License, you may choose
any version ever published by the Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free programs You may convey verbatim copies of the Program's source code as you
whose distribution conditions are different, write to the author to ask for receive it, in any medium, provided that you conspicuously and
permission. For software which is copyrighted by the Free Software Foundation, appropriately publish on each copy an appropriate copyright notice;
write to the Free Software Foundation; we sometimes make exceptions for this. keep intact all notices stating that this License and any
Our decision will be guided by the two goals of preserving the free status non-permissive terms added in accord with section 7 apply to the code;
of all derivatives of our free software and of promoting the sharing and reuse keep intact all notices of the absence of any warranty; and give all
of software generally. recipients a copy of this License along with the Program.
NO WARRANTY You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR 5. Conveying Modified Source Versions.
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM
"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING You may convey a work based on the Program, or the modifications to
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE produce it from the Program, in the form of source code under the
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY terms of section 4, provided that you also meet all of these conditions:
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA
OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES
OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
If you develop a new program, and you want it to be of the greatest possible b) The work must carry prominent notices stating that it is
use to the public, the best way to achieve this is to make it free software released under this License and any conditions added under section
which everyone can redistribute and change under these terms. 7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
To do so, attach the following notices to the program. It is safest to attach c) You must license the entire work, as a whole, under this
them to the start of each source file to most effectively convey the exclusion License to anyone who comes into possession of a copy. This
of warranty; and each file should have at least the "copyright" line and a License will therefore apply, along with any applicable section 7
pointer to where the full notice is found. additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
<one line to give the program's name and an idea of what it does.> d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
Copyright (C) < yyyy> <name of author> A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
This program is free software; you can redistribute it and/or modify it under 6. Conveying Non-Source Forms.
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT You may convey a covered work in object code form under the terms
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS of sections 4 and 5, provided that you also convey the
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. machine-readable Corresponding Source under the terms of this License,
in one of these ways:
You should have received a copy of the GNU General Public License along with a) Convey the object code in, or embodied in, a physical product
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin (including a physical distribution medium), accompanied by the
Street, Fifth Floor, Boston, MA 02110-1301, USA. Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 2023 Tony Bark
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail. Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this when If the program does terminal interaction, make it output a short
it starts in an interactive mode: notice like this when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes <program> Copyright (C) 2023 Tony Bark
with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
and you are welcome to redistribute it under certain conditions; type `show This is free software, and you are welcome to redistribute it
c' for details. under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may be parts of the General Public License. Of course, your program's commands
called something other than `show w' and `show c'; they could even be mouse-clicks might be different; for a GUI interface, you would use an "about box".
or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your school, You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary. Here if any, to sign a "copyright disclaimer" for the program, if necessary.
is a sample; alter the names: For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' The GNU General Public License does not permit incorporating your program
(which makes passes at compilers) written by James Hacker. into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
<signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General the library. If this is what you want to do, use the GNU Lesser General
Public License does not permit incorporating your program into proprietary Public License instead of this License. But first, please read
programs. If your program is a subroutine library, you may consider it more <https://www.gnu.org/licenses/why-not-lgpl.html>.
useful to permit linking proprietary applications with the library. If this
is what you want to do, use the GNU Lesser General Public License instead
of this License.

View file

@ -7,7 +7,7 @@
<hr> <hr>
</p> </p>
Based on Godot, CityLimits is an open source reimagining of SimCity Classic based on Godot. In the long run, I plan on adding on gameplay mechanics used in later iterations. Like it's cousin, everything learned in the making of CityLimits will go towards the building and customization that I've been itching to create. CityLimits is an open source reimagining of SimCity Classic based on Godot. In the long run, I plan on adding on gameplay mechanics used in later iterations. Like it's cousin, everything learned in the making of CityLimits will go towards the building and customization that I've been itching to create.
## Getting Started ## Getting Started
@ -15,6 +15,20 @@ Based on Godot, CityLimits is an open source reimagining of SimCity Classic base
- Godot Engine 4.x - Godot Engine 4.x
### Controls
| Key | Command |
| --- | --- |
| <kbd>W</kbd> <kbd>A</kbd> <kbd>S</kbd> <kbd>D</kbd> | Move camera |
| <kbd>F</kbd> | Camera to center |
| <kbd>Middle mouse button</kbd> | Hold to rotate camera |
| <kbd>Left mouse button</kbd> | Place building |
| <kbd>DEL</kbd> | Remove building |
| <kbd>Right mouse button</kbd> | Rotate building |
| <kbd>Q</kbd> <kbd>E</kbd> | Toggle between buildings |
| <kbd>F1</kbd> | Save |
| <kbd>F2</kbd> | Load |
## Authors ## Authors
- **Tony Bark** - _Initial work_ - [tonytins](https://github.com/tonytins) - **Tony Bark** - _Initial work_ - [tonytins](https://github.com/tonytins)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 913 B

View file

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bnkl8rujlgv0h"
path="res://.godot/imported/Checker.png-95b82ca4c05ab143e1e16c56d598421b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/SpritesheetGenerator/Checker.png"
dest_files=["res://.godot/imported/Checker.png-95b82ca4c05ab143e1e16c56d598421b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -1,13 +0,0 @@
@tool
extends EditorPlugin
func _enter_tree() -> void:
add_tool_menu_item("Open Spritesheet Generator", run_generator)
get_editor_interface().get_command_palette().add_command("Open Spritesheet Generator", "addons/open_spritesheet_generator", run_generator)
func _exit_tree() -> void:
remove_tool_menu_item("Open Spritesheet Generator")
get_editor_interface().get_command_palette().remove_command("addons/open_spritesheet_generator")
func run_generator():
get_editor_interface().play_custom_scene("res://addons/SpritesheetGenerator/SpritesheetGenerator.tscn")

View file

@ -1,77 +0,0 @@
[gd_scene load_steps=3 format=3 uid="uid://cd5wndu01c1sn"]
[sub_resource type="StyleBoxFlat" id="2"]
resource_local_to_scene = true
bg_color = Color(0, 0.501961, 0.501961, 1)
[sub_resource type="GDScript" id="3"]
resource_name = "Prefab"
script/source = "extends PanelContainer
var odd: Vector2
func set_frame_margin(margin: Vector2):
$MarginContainer.add_theme_constant_override(&\"margin_left\", margin.x)
$MarginContainer.add_theme_constant_override(&\"margin_top\", margin.y)
margin += odd
$MarginContainer.add_theme_constant_override(&\"margin_right\", margin.x)
$MarginContainer.add_theme_constant_override(&\"margin_bottom\", margin.y)
func set_texture(texture: Texture2D):
%TextureRect.texture = texture
odd = Vector2(int(get_texture_size().x) % 2, int(get_texture_size().y) % 2)
func get_texture_size() -> Vector2:
return %TextureRect.texture.get_size()
func get_position2() -> Vector2:
return position + %TextureRect.position
func get_texture_data() -> Image:
return %TextureRect.texture.get_image()
func set_display_background(display: bool):
get_theme_stylebox(&\"panel\").draw_center = display
func set_background_color(color: Color):
get_theme_stylebox(&\"panel\").bg_color = color
func _get_drag_data(p: Vector2):
var preview = TextureRect.new()
preview.texture = %TextureRect.texture
preview.ignore_texture_size = true
preview.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
preview.size = Vector2(64, 64)
set_drag_preview(preview)
return {type = \"SpritesheetFrame\", node = self}
func _can_drop_data(p: Vector2, data) -> bool:
return data is Dictionary and data.get(\"type\", \"\") == \"SpritesheetFrame\"
func _drop_data(p: Vector2, data) -> void:
var index = get_index()
get_parent().move_child(self, data.node.get_index())
get_parent().move_child(data.node, index)
get_tree().current_scene.refresh_grid()
func _gui_input(event: InputEvent) -> void:
if event is InputEventMouseButton:
if event.pressed and event.button_index == MOUSE_BUTTON_RIGHT:
get_tree().current_scene.remove_frame.call_deferred(self)
"
[node name="FramePrefab" type="PanelContainer" groups=["frame"]]
theme_override_styles/panel = SubResource("2")
script = SubResource("3")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
mouse_filter = 2
[node name="TextureRect" type="TextureRect" parent="MarginContainer"]
unique_name_in_owner = true
texture_filter = 1
layout_mode = 2
stretch_mode = 4

View file

@ -1,714 +0,0 @@
[gd_scene load_steps=5 format=3 uid="uid://bf3b0i8scthbm"]
[ext_resource type="Texture2D" uid="uid://bnkl8rujlgv0h" path="res://addons/SpritesheetGenerator/Checker.png" id="1_hs1uu"]
[sub_resource type="GDScript" id="1"]
resource_name = "Generator"
script/source = "extends Control
const SUPPORTED_FORMATS: PackedStringArray = [\"bmp\", \"dds\", \"exr\", \"hdr\", \"jpg\", \"jpeg\", \"png\", \"tga\", \"svg\", \"svgz\", \"webp\"]
@onready var grid := %GridContainer
var file_list: Array
var image_list: Array
var texture_list: Array
var images_to_process: Array
var images_to_texturize: Array
var first_time := true
var image_count: int
var output_path: String
var auto := true
var margin := Vector2.ONE
var pan_origin: Vector2
var pan_start: Vector2
signal images_processed
func _enter_tree() -> void:
$SplitDialog.hide()
$StashDialog.hide()
func _ready():
$Status.text = $Status.text % \", \".join(SUPPORTED_FORMATS)
get_viewport().files_dropped.connect(load_files)
grid.minimum_size_changed.connect(refresh_background)
set_process(false)
func refresh_background():
%Background.custom_minimum_size = grid.get_minimum_size()
func load_files(files: PackedStringArray):
file_list.clear()
image_list.clear()
%CustomName.text = \"\"
%Reload.disabled = false
%SavePNG.disabled = false
if files.size() == 1 and not FileAccess.file_exists(files[0]):
var dir := DirAccess.open(files[0])
if not dir:
show_error(\"Can't open directory.\")
return
for file in dir.get_files():
if file.get_extension() in SUPPORTED_FORMATS:
file_list.append(str(dir.get_current_dir().path_join(file)))
else:
var wrong_count: int
for file in files:
if file.get_extension() in SUPPORTED_FORMATS:
file_list.append(file)
else:
wrong_count += 1
if wrong_count > 0:
show_error(\"Skipped %s file(s) with unsupported extension.\" % wrong_count)
if file_list.is_empty():
show_error(\"No valid files or directories to process.\")
return
load_images()
func load_images():
texture_list.clear()
for image in grid.get_children():
image.free()
for image in %StashImages.get_children():
image.free()
update_stash()
var size_map: Dictionary
if not file_list.is_empty():
image_list = file_list.map(func(file: String):
var image := Image.load_from_file(file)
if image:
image.set_meta(&\"path\", file)
return image)
for image in image_list:
if not image:
continue
if not image.get_size() in size_map:
size_map[image.get_size()] = []
size_map[image.get_size()].append(image)
var output_name: String
var most_common_size: Vector2i
var most_common_count: int
for size in size_map:
if size_map[size].size() > most_common_count:
most_common_size = size
most_common_count = size_map[size].size()
for image in size_map[most_common_size]:
if output_path.is_empty():
var path: String = image.get_meta(&\"path\", \"\")
output_path = path.get_base_dir()
output_name = path.get_base_dir().get_file()
images_to_process.append(image)
size_map.clear()
if not output_name.is_empty() and %CustomName.text.is_empty():
%CustomName.text = output_name
update_save_button()
if images_to_process.size() < file_list.size():
show_error(\"Rejected %s image(s) due to size mismatch.\" % (file_list.size() - images_to_process.size()))
if images_to_process.size() == 1:
if file_list.size() > 1:
images_to_process.clear()
show_error(\"Only one dropped image was valid.\")
else:
%SplitPreview.texture = ImageTexture.create_from_image(images_to_process[0])
$SplitDialog.reset_size()
$SplitDialog.popup_centered()
return
$Status.show()
%CenterContainer.hide()
image_count = images_to_process.size()
%Columns.max_value = image_count
threshold = %Threshold.value
min_x = 9999999
min_y = 9999999
max_x = -9999999
max_y = -9999999
set_process(true)
await images_processed
for texture in texture_list:
add_frame(texture)
toggle_auto(auto)
refresh_margin()
$Status.hide()
%CenterContainer.show()
var threshold: float
var min_x: int
var min_y: int
var max_x: int
var max_y: int
func _process(delta: float) -> void:
if not images_to_process.is_empty():
var image: Image = images_to_process.pop_front()
$Status.text = str(\"Preprocessing image \", image_count - images_to_process.size(), \"/\", image_count)
for x in image.get_width():
for y in image.get_height():
if image.get_pixel(x, y).a >= threshold:
min_x = mini(min_x, x)
min_y = mini(min_y, y)
max_x = maxi(max_x, x)
max_y = maxi(max_y, y)
images_to_texturize.append(image)
elif not images_to_texturize.is_empty():
var rect := Rect2i(min_x, min_y, max_x - min_x + 1, max_y - min_y + 1)
var image: Image = images_to_texturize.pop_front()
$Status.text = str(\"Creating texture \", image_count - images_to_texturize.size(), \"/\", image_count)
var true_image := Image.create(rect.size.x, rect.size.y, false, image.get_format())
true_image.blit_rect(image, rect, Vector2())
var texture := ImageTexture.create_from_image(true_image)
texture_list.append(texture)
if images_to_texturize.is_empty():
set_process(false)
images_processed.emit()
if first_time:
recenter()
first_time = false
func toggle_grid(show: bool) -> void:
get_tree().call_group(&\"frame\", &\"set_display_background\", show)
func toggle_auto(button_pressed: bool) -> void:
%Columns.editable = not button_pressed
auto = button_pressed
if button_pressed:
var best: int
var best_score = -9999999
for i in range(1, image_count + 1):
var cols = i
var rows = ceili(image_count / float(i))
var score = image_count - cols * rows - maxi(cols, rows) - rows
if score > best_score:
best = i
best_score = score
grid.columns = best
else:
grid.columns = %Columns.value
refresh_grid()
func hmargin_changed(value: float) -> void:
margin.x = value
refresh_margin()
func vmargin_changed(value: float) -> void:
margin.y = value
refresh_margin()
func refresh_margin():
get_tree().call_group(&\"frame\", &\"set_frame_margin\", margin)
func columns_changed(value: float) -> void:
grid.columns = value
refresh_grid()
func refresh_grid():
var coord: Vector2
var dark = false
for rect in grid.get_children():
rect.set_background_color(Color(0, 0, 0, 0.2 if dark else 0.1))
dark = not dark
coord.x += 1
if coord.x == grid.columns:
coord.x = 0
coord.y += 1
dark = int(coord.y) % 2 == 1
func save_png() -> void:
var image_size: Vector2 = grid.get_child(0).get_minimum_size()
var image := Image.create(image_size.x * grid.columns, image_size.y * (ceil(grid.get_child_count() / float(grid.columns))), false, Image.FORMAT_RGBA8)
for rect in grid.get_children():
image.blit_rect(rect.get_texture_data(), Rect2(Vector2(), image_size), rect.get_position2())
image.save_png(output_path.path_join(%CustomName.text) + \".png\")
func show_error(text: String):
if not %Error.visible:
%Error.show()
else:
%Error.text += \"\\n\"
%Error.text += text
%Timer.start()
func error_hidden() -> void:
%Error.text = \"\"
func _input(event: InputEvent) -> void:
if event is InputEventMouseButton:
var cc: Control = %CenterContainer
if event.button_index == MOUSE_BUTTON_MIDDLE:
if event.pressed:
pan_origin = get_local_mouse_position()
pan_start = cc.position
else:
pan_origin = Vector2()
if event.button_index == MOUSE_BUTTON_WHEEL_DOWN:
var lm = cc.get_local_mouse_position()
cc.scale -= Vector2.ONE * 0.05
if cc.scale.x <= 0:
cc.scale = Vector2.ONE * 0.05
cc.position -= (lm - cc.get_local_mouse_position()) * cc.scale
elif event.button_index == MOUSE_BUTTON_WHEEL_UP:
var lm = cc.get_local_mouse_position()
cc.scale += Vector2.ONE * 0.05
cc.position -= (lm - cc.get_local_mouse_position()) * cc.scale
if event is InputEventMouseMotion:
if pan_origin != Vector2():
%CenterContainer.position = pan_start + (get_local_mouse_position() - pan_origin)
func recenter() -> void:
%CenterContainer.position = get_viewport().size / 2 - Vector2i(%CenterContainer.size) / 2
%CenterContainer.scale = Vector2.ONE
func update_split_preview():
%SplitPreview.queue_redraw()
func draw_split_preview() -> void:
var preview: TextureRect = %SplitPreview
var frame_count := Vector2(%SplitX.value, %SplitY.value)
var frame_size := preview.size / frame_count
for x in range(1, frame_count.x):
for y in int(frame_count.y):
preview.draw_line(frame_size * Vector2(x, y), frame_size * Vector2(x, y + 1), Color.WHITE)
preview.draw_line(frame_size * Vector2(x, y) + Vector2.RIGHT, frame_size * Vector2(x, y + 1) + Vector2.RIGHT, Color.BLACK)
for y in range(1, frame_count.y):
for x in int(frame_count.x):
preview.draw_line(frame_size * Vector2(x, y), frame_size * Vector2(x + 1, y), Color.WHITE)
preview.draw_line(frame_size * Vector2(x, y) + Vector2.DOWN, frame_size * Vector2(x + 1, y) + Vector2.DOWN, Color.BLACK)
func split_spritesheet() -> void:
file_list.clear()
image_list.clear()
var image: Image = images_to_process[0]
var sub_image_size := image.get_size() / Vector2i(%SplitX.value, %SplitY.value)
for y in %SplitY.value:
for x in %SplitX.value:
image_list.append(image.get_region(Rect2i(Vector2i(x, y) * sub_image_size, sub_image_size)))
images_to_process.clear()
load_images()
func remove_frame(frame):
var image: Image = frame.get_texture_data()
var texture := ImageTexture.create_from_image(image)
var button := TextureButton.new()
button.texture_normal = texture
button.custom_minimum_size = Vector2(128, 128)
button.stretch_mode = TextureButton.STRETCH_KEEP_ASPECT_CENTERED
button.ignore_texture_size = true
button.pressed.connect(re_add_image.bind(button), CONNECT_DEFERRED)
%StashImages.add_child(button)
var ref := ReferenceRect.new()
button.add_child(ref)
ref.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
ref.mouse_filter = Control.MOUSE_FILTER_IGNORE
ref.editor_only = false
frame.free()
refresh_grid()
update_stash()
func update_stash():
%Stash.disabled = %StashImages.get_child_count() == 0
func re_add_image(tb: TextureButton):
add_frame(tb.texture_normal)
tb.free()
refresh_grid()
update_stash()
if %Stash.disabled:
$StashDialog.hide()
func add_frame(texture: Texture2D):
var rect := preload(\"res://addons/SpritesheetGenerator/SpritesheetFrame.tscn\").instantiate()
rect.set_texture(texture)
rect.set_display_background(%DisplayGrid.button_pressed)
rect.set_frame_margin(margin)
grid.add_child(rect)
func update_save_button() -> void:
%SavePNG.disabled = %CustomName.text.is_empty()
"
[sub_resource type="StyleBoxFlat" id="5"]
content_margin_left = 20.0
content_margin_top = 20.0
content_margin_right = 20.0
content_margin_bottom = 20.0
bg_color = Color(0, 0, 0, 0.25098)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_kjgn5"]
texture = ExtResource("1_hs1uu")
axis_stretch_horizontal = 1
axis_stretch_vertical = 1
[node name="Main" type="HBoxContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = SubResource("1")
[node name="MarginContainer" type="PanelContainer" parent="."]
layout_mode = 2
theme_override_styles/panel = SubResource("5")
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 10
[node name="Label5" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Alpha Threshold"
horizontal_alignment = 1
[node name="Threshold" type="SpinBox" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
max_value = 1.0
step = 0.005
value = 0.9
[node name="Reload" type="Button" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
disabled = true
text = "Reload"
[node name="HSeparator" type="HSeparator" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Columns"
horizontal_alignment = 1
[node name="Columns" type="SpinBox" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
min_value = 1.0
value = 1.0
editable = false
[node name="Grid" type="CheckButton" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
button_pressed = true
text = "Auto"
[node name="Label3" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Horizontal Margin"
horizontal_alignment = 1
[node name="MarginH" type="SpinBox" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
value = 1.0
suffix = "px"
[node name="Label4" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Vertical Margin"
horizontal_alignment = 1
[node name="MarginV" type="SpinBox" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
max_value = 128.0
value = 1.0
suffix = "px"
[node name="Stash" type="Button" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
disabled = true
text = "Image Stash"
[node name="HSeparator2" type="HSeparator" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="Button" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Recenter View
"
[node name="DisplayGrid" type="CheckBox" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
button_pressed = true
text = "Show Grid"
[node name="HSeparator3" type="HSeparator" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="CustomName" type="LineEdit" parent="MarginContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Image Name"
[node name="SavePNG" type="Button" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
disabled = true
text = "Save PNG"
[node name="Status" type="Label" parent="."]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Drop folder or image files here to start.
Images should be of the same size. If their sizes don't match, the generator will try to use the dominating size.
The images will be automatically cropped based on the Alpha Threshold value. Greater value means more exact crop.
Supported formats: %s
If you drop a single image, the generator will instead edit it as spritesheet."
horizontal_alignment = 1
vertical_alignment = 1
[node name="View" type="CanvasLayer" parent="."]
layer = -1
[node name="CenterContainer" type="CenterContainer" parent="View"]
unique_name_in_owner = true
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
[node name="Background" type="ColorRect" parent="View/CenterContainer"]
unique_name_in_owner = true
layout_mode = 2
mouse_filter = 1
color = Color(0, 0.501961, 0.501961, 1)
[node name="GridContainer" type="GridContainer" parent="View/CenterContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/h_separation = 0
theme_override_constants/v_separation = 0
columns = 3
[node name="VBoxContainer" type="GridContainer" parent="View"]
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -40.0
offset_top = -40.0
grow_horizontal = 0
grow_vertical = 0
mouse_filter = 2
columns = 3
[node name="Label" type="Label" parent="View/VBoxContainer"]
layout_mode = 2
text = "LMB"
horizontal_alignment = 1
[node name="VSeparator" type="VSeparator" parent="View/VBoxContainer"]
layout_mode = 2
[node name="Label2" type="Label" parent="View/VBoxContainer"]
layout_mode = 2
text = "rearrange images"
[node name="Label3" type="Label" parent="View/VBoxContainer"]
layout_mode = 2
text = "RMB"
horizontal_alignment = 1
[node name="VSeparator2" type="VSeparator" parent="View/VBoxContainer"]
layout_mode = 2
[node name="Label4" type="Label" parent="View/VBoxContainer"]
layout_mode = 2
text = "delete images"
[node name="Label5" type="Label" parent="View/VBoxContainer"]
layout_mode = 2
text = "MMB"
horizontal_alignment = 1
[node name="VSeparator3" type="VSeparator" parent="View/VBoxContainer"]
layout_mode = 2
[node name="Label6" type="Label" parent="View/VBoxContainer"]
layout_mode = 2
text = "pan view"
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Error" type="Label" parent="CanvasLayer"]
unique_name_in_owner = true
modulate = Color(1, 0, 0, 1)
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -14.0
grow_horizontal = 2
grow_vertical = 0
size_flags_vertical = 0
horizontal_alignment = 1
[node name="Timer" type="Timer" parent="CanvasLayer"]
unique_name_in_owner = true
wait_time = 5.0
one_shot = true
[node name="SplitDialog" type="ConfirmationDialog" parent="."]
title = "Edit Spritesheet"
position = Vector2i(-500, 0)
size = Vector2i(272, 343)
visible = true
[node name="VBoxContainer" type="VBoxContainer" parent="SplitDialog"]
offset_left = 8.0
offset_top = 8.0
offset_right = 264.0
offset_bottom = 294.0
[node name="Label" type="Label" parent="SplitDialog/VBoxContainer"]
layout_mode = 2
text = "Split Frames"
horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="SplitDialog/VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="SplitX" type="SpinBox" parent="SplitDialog/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
min_value = 1.0
max_value = 1000.0
value = 1.0
select_all_on_focus = true
[node name="Label" type="Label" parent="SplitDialog/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "x"
[node name="SplitY" type="SpinBox" parent="SplitDialog/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
min_value = 1.0
max_value = 1000.0
value = 1.0
select_all_on_focus = true
[node name="CenterContainer" type="CenterContainer" parent="SplitDialog/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="PanelContainer" type="PanelContainer" parent="SplitDialog/VBoxContainer/CenterContainer"]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_kjgn5")
[node name="SplitPreview" type="TextureRect" parent="SplitDialog/VBoxContainer/CenterContainer/PanelContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="StashDialog" type="AcceptDialog" parent="."]
title = "Image Stash"
position = Vector2i(-500, 500)
size = Vector2i(309, 100)
visible = true
[node name="VBoxContainer" type="VBoxContainer" parent="StashDialog"]
offset_left = 8.0
offset_top = 8.0
offset_right = 301.0
offset_bottom = 51.0
[node name="Label" type="Label" parent="StashDialog/VBoxContainer"]
layout_mode = 2
text = "Click frame to re-add it to spritesheet."
horizontal_alignment = 1
[node name="StashImages" type="HFlowContainer" parent="StashDialog/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
[connection signal="pressed" from="MarginContainer/VBoxContainer/Reload" to="." method="load_images"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/Columns" to="." method="columns_changed"]
[connection signal="toggled" from="MarginContainer/VBoxContainer/Grid" to="." method="toggle_auto"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/MarginH" to="." method="hmargin_changed"]
[connection signal="value_changed" from="MarginContainer/VBoxContainer/MarginV" to="." method="vmargin_changed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Stash" to="StashDialog" method="popup_centered_ratio" binds= [0.5]]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Button" to="." method="recenter"]
[connection signal="toggled" from="MarginContainer/VBoxContainer/DisplayGrid" to="." method="toggle_grid"]
[connection signal="text_changed" from="MarginContainer/VBoxContainer/HBoxContainer/CustomName" to="." method="update_save_button" unbinds=1]
[connection signal="pressed" from="MarginContainer/VBoxContainer/SavePNG" to="." method="save_png"]
[connection signal="hidden" from="CanvasLayer/Error" to="." method="error_hidden"]
[connection signal="timeout" from="CanvasLayer/Timer" to="CanvasLayer/Error" method="hide"]
[connection signal="confirmed" from="SplitDialog" to="." method="split_spritesheet"]
[connection signal="value_changed" from="SplitDialog/VBoxContainer/HBoxContainer/SplitX" to="." method="update_split_preview" unbinds=1]
[connection signal="value_changed" from="SplitDialog/VBoxContainer/HBoxContainer/SplitY" to="." method="update_split_preview" unbinds=1]
[connection signal="draw" from="SplitDialog/VBoxContainer/CenterContainer/PanelContainer/SplitPreview" to="." method="draw_split_preview"]

View file

@ -1,7 +0,0 @@
[plugin]
name="Spritesheet Generator"
description="Generates cropped spritesheets from multiple images."
author="KoBeWi"
version="1.2"
script="SpriteSheetGenerator.gd"

File diff suppressed because it is too large Load diff

View file

@ -1,44 +0,0 @@
@tool
extends Label
@export_category("FontAwesome")
@export_range(1, 16384) var icon_size: int = 16: set = set_icon_size
@export_enum("solid", "regular", "brands") var icon_type: String = "solid": set = set_icon_type
@export var icon_name: String = "circle-question": set = set_icon_name
const icon_fonts: Dictionary = {
"solid": "res://addons/fontawesome/fonts/fa-solid-900.woff2",
"regular": "res://addons/fontawesome/fonts/fa-regular-400.woff2",
"brands": "res://addons/fontawesome/fonts/fa-brands-400.woff2"
}
const cheatsheet: Dictionary = preload("res://addons/fontawesome/All.gd").all
func _init():
horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER
vertical_alignment = VERTICAL_ALIGNMENT_CENTER
# disable some things, this is icon not text
auto_translate = false
localize_numeral_system = false
set_icon_type(icon_type)
set_icon_size(icon_size)
set_icon_name(icon_name)
func set_icon_size(new_size: int):
icon_size = clamp(new_size, 1, 16384)
add_theme_font_size_override("font_size", icon_size)
size = Vector2(icon_size, icon_size)
func set_icon_type(new_type: String):
icon_type = new_type
match icon_type:
"solid", "regular", "brands":
add_theme_font_override("font", load(icon_fonts[icon_type]))
func set_icon_name(new_name: String):
icon_name = new_name
var iconcode = ""
if icon_name in cheatsheet[icon_type]:
iconcode = cheatsheet[icon_type][icon_name]
set_text(iconcode)

View file

@ -1,21 +0,0 @@
MIT License
Copyright (c) 2023 LetterN
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -1 +0,0 @@
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="flag" class="svg-inline--fa fa-flag fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="16" height="16"><path stroke="black" stroke-width="2" fill="#a5efac" d="M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"></path></svg>

Before

Width:  |  Height:  |  Size: 806 B

View file

@ -1,37 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cdk6bwkag1wre"
path="res://.godot/imported/flag-solid.svg-f443982cac7d006eea43c772e2428bae.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/fontawesome/flag-solid.svg"
dest_files=["res://.godot/imported/flag-solid.svg-f443982cac7d006eea43c772e2428bae.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View file

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://clt4puu367e82"
path="res://.godot/imported/fa-brands-400.woff2-01946f939132baa0e37dbdeac9412933.fontdata"
[deps]
source_file="res://addons/fontawesome/fonts/fa-brands-400.woff2"
dest_files=["res://.godot/imported/fa-brands-400.woff2-01946f939132baa0e37dbdeac9412933.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://ew3t30vlpjit"
path="res://.godot/imported/fa-regular-400.woff2-bb494eebb9050a2fb4b1382e97f43781.fontdata"
[deps]
source_file="res://addons/fontawesome/fonts/fa-regular-400.woff2"
dest_files=["res://.godot/imported/fa-regular-400.woff2-bb494eebb9050a2fb4b1382e97f43781.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://bkqnxsphaabhw"
path="res://.godot/imported/fa-solid-900.woff2-a9219e5bf1517e35af668434330a4deb.fontdata"
[deps]
source_file="res://addons/fontawesome/fonts/fa-solid-900.woff2"
dest_files=["res://.godot/imported/fa-solid-900.woff2-a9219e5bf1517e35af668434330a4deb.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -1,6 +0,0 @@
[plugin]
name="FontAwesome"
description="FontAwesome 6 Icons"
author="LetterN"
version="6.3.0"
script="plugin.gd"

View file

@ -1,8 +0,0 @@
@tool
extends EditorPlugin
func _enter_tree():
add_custom_type("FontAwesome", "Label", preload("res://addons/fontawesome/FontAwesome.gd"), preload("res://addons/fontawesome/flag-solid.svg"))
func _exit_tree():
remove_custom_type("FontAwesome")

View file

@ -1,21 +0,0 @@
UI SFX Set
by Kenney Vleugels (Kenney.nl)
------------------------------
License (Creative Commons Zero, CC0)
http://creativecommons.org/publicdomain/zero/1.0/
You may use these assets in personal and commercial projects.
Credit (Kenney or www.kenney.nl) would be nice but is not mandatory.
------------------------------
Donate: http://support.kenney.nl
Request: http://request.kenney.nl
Follow on Twitter for updates:
@KenneyNL

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://qsfmauhsas17"
path="res://.godot/imported/click1.wav-6455415d999fb02a4d0e65426c8e3fbb.sample"
[deps]
source_file="res://addons/kenney_ui_audio/click1.wav"
dest_files=["res://.godot/imported/click1.wav-6455415d999fb02a4d0e65426c8e3fbb.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://vjq6jqpqpyxm"
path="res://.godot/imported/click2.wav-e4d4f6fc85d10146603686d4a7b23a41.sample"
[deps]
source_file="res://addons/kenney_ui_audio/click2.wav"
dest_files=["res://.godot/imported/click2.wav-e4d4f6fc85d10146603686d4a7b23a41.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://d3koabe21yusw"
path="res://.godot/imported/click3.wav-191e18de041e05b52c4992cf5dba790b.sample"
[deps]
source_file="res://addons/kenney_ui_audio/click3.wav"
dest_files=["res://.godot/imported/click3.wav-191e18de041e05b52c4992cf5dba790b.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://de0mgr75dqogp"
path="res://.godot/imported/click4.wav-d9ec980ae5410495fe7f07a33dce82bb.sample"
[deps]
source_file="res://addons/kenney_ui_audio/click4.wav"
dest_files=["res://.godot/imported/click4.wav-d9ec980ae5410495fe7f07a33dce82bb.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://d0mc5wktyasre"
path="res://.godot/imported/click5.wav-69a681cdf29c823e702327e1e8f5476b.sample"
[deps]
source_file="res://addons/kenney_ui_audio/click5.wav"
dest_files=["res://.godot/imported/click5.wav-69a681cdf29c823e702327e1e8f5476b.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://djpfxob43wiul"
path="res://.godot/imported/mouseclick1.wav-50584c065a760e99151dd6a173cc33ec.sample"
[deps]
source_file="res://addons/kenney_ui_audio/mouseclick1.wav"
dest_files=["res://.godot/imported/mouseclick1.wav-50584c065a760e99151dd6a173cc33ec.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://jehejt5mpgdh"
path="res://.godot/imported/mouserelease1.wav-925ae13f439fe21624dc79f7c203d6eb.sample"
[deps]
source_file="res://addons/kenney_ui_audio/mouserelease1.wav"
dest_files=["res://.godot/imported/mouserelease1.wav-925ae13f439fe21624dc79f7c203d6eb.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://blc0r2oliif3m"
path="res://.godot/imported/rollover1.wav-2290a57362715e9e23e123b2bbb2adba.sample"
[deps]
source_file="res://addons/kenney_ui_audio/rollover1.wav"
dest_files=["res://.godot/imported/rollover1.wav-2290a57362715e9e23e123b2bbb2adba.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://w64g2ahka6dk"
path="res://.godot/imported/rollover2.wav-76041bda4383c69214b9e7ccf1a2051e.sample"
[deps]
source_file="res://addons/kenney_ui_audio/rollover2.wav"
dest_files=["res://.godot/imported/rollover2.wav-76041bda4383c69214b9e7ccf1a2051e.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://4rjpsf1lkph1"
path="res://.godot/imported/rollover3.wav-8a4f0c940c94c60009c4b5b83a84ddf0.sample"
[deps]
source_file="res://addons/kenney_ui_audio/rollover3.wav"
dest_files=["res://.godot/imported/rollover3.wav-8a4f0c940c94c60009c4b5b83a84ddf0.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://d275uw1nvvnhu"
path="res://.godot/imported/rollover4.wav-c67a43968eafc478e9fdb0188e82bcaf.sample"
[deps]
source_file="res://addons/kenney_ui_audio/rollover4.wav"
dest_files=["res://.godot/imported/rollover4.wav-c67a43968eafc478e9fdb0188e82bcaf.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bh8617vgogm38"
path="res://.godot/imported/rollover5.wav-764adea13c87e7d15f82dd85339d9c65.sample"
[deps]
source_file="res://addons/kenney_ui_audio/rollover5.wav"
dest_files=["res://.godot/imported/rollover5.wav-764adea13c87e7d15f82dd85339d9c65.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://b5etqpq8bq66i"
path="res://.godot/imported/rollover6.wav-5b4b75ae4621ba2f0753784e2b2f1c07.sample"
[deps]
source_file="res://addons/kenney_ui_audio/rollover6.wav"
dest_files=["res://.godot/imported/rollover6.wav-5b4b75ae4621ba2f0753784e2b2f1c07.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://c2gdjew17v5rb"
path="res://.godot/imported/switch1.wav-49860a273fb84f64ada51aa5f0c1fb32.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch1.wav"
dest_files=["res://.godot/imported/switch1.wav-49860a273fb84f64ada51aa5f0c1fb32.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://cl6yeh0ac8o8s"
path="res://.godot/imported/switch10.wav-e25e39fd217c6c92fcc7fa9e725113dd.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch10.wav"
dest_files=["res://.godot/imported/switch10.wav-e25e39fd217c6c92fcc7fa9e725113dd.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://btmwmg064j55y"
path="res://.godot/imported/switch11.wav-dd799b7d6a321bd4bf7ad99179889d2f.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch11.wav"
dest_files=["res://.godot/imported/switch11.wav-dd799b7d6a321bd4bf7ad99179889d2f.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://c4frog61dyv5q"
path="res://.godot/imported/switch12.wav-11a273a32ba3db16df867f4ff5a04360.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch12.wav"
dest_files=["res://.godot/imported/switch12.wav-11a273a32ba3db16df867f4ff5a04360.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dsgjokwvkbcgi"
path="res://.godot/imported/switch13.wav-a06d1bafecd411d3f1bb80d48e308bec.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch13.wav"
dest_files=["res://.godot/imported/switch13.wav-a06d1bafecd411d3f1bb80d48e308bec.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://ytymxv6u0780"
path="res://.godot/imported/switch14.wav-407774019f5dd6aa7e70f9fd3fa5489d.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch14.wav"
dest_files=["res://.godot/imported/switch14.wav-407774019f5dd6aa7e70f9fd3fa5489d.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bd7j1lk0hv7qh"
path="res://.godot/imported/switch15.wav-db1d62c5a4d9439335ac0f95dc0e619f.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch15.wav"
dest_files=["res://.godot/imported/switch15.wav-db1d62c5a4d9439335ac0f95dc0e619f.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://cn2t8ft6nosb4"
path="res://.godot/imported/switch16.wav-c4112140396afc1b2d36178d6c49c40c.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch16.wav"
dest_files=["res://.godot/imported/switch16.wav-c4112140396afc1b2d36178d6c49c40c.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://c0l1cdq5b5npn"
path="res://.godot/imported/switch17.wav-670b57edd62be09830bdd22627c799c5.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch17.wav"
dest_files=["res://.godot/imported/switch17.wav-670b57edd62be09830bdd22627c799c5.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dos7071gdsgx5"
path="res://.godot/imported/switch18.wav-65be9ca1cdea7fa5d09ec8896ee33792.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch18.wav"
dest_files=["res://.godot/imported/switch18.wav-65be9ca1cdea7fa5d09ec8896ee33792.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bdv77j62j4pwe"
path="res://.godot/imported/switch19.wav-fe04c5ae10fb08b254e642147cdcc822.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch19.wav"
dest_files=["res://.godot/imported/switch19.wav-fe04c5ae10fb08b254e642147cdcc822.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bvrxe0vxh3e8p"
path="res://.godot/imported/switch2.wav-ed517ffaa6f14bdd73fd3371bdf79cb7.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch2.wav"
dest_files=["res://.godot/imported/switch2.wav-ed517ffaa6f14bdd73fd3371bdf79cb7.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://done74gww38t0"
path="res://.godot/imported/switch20.wav-9636539e81da6e33e01e70300e0359a1.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch20.wav"
dest_files=["res://.godot/imported/switch20.wav-9636539e81da6e33e01e70300e0359a1.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dlf4xa2hok7k5"
path="res://.godot/imported/switch21.wav-510c5f69909c2b7a8ffa835ff38911bc.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch21.wav"
dest_files=["res://.godot/imported/switch21.wav-510c5f69909c2b7a8ffa835ff38911bc.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bq2wj3laeuqev"
path="res://.godot/imported/switch22.wav-3f139a30e3a59e44b1338d53a3ed2db2.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch22.wav"
dest_files=["res://.godot/imported/switch22.wav-3f139a30e3a59e44b1338d53a3ed2db2.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://fhk13nrud16d"
path="res://.godot/imported/switch23.wav-cbe79ac12494b64dcf8592499fd45943.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch23.wav"
dest_files=["res://.godot/imported/switch23.wav-cbe79ac12494b64dcf8592499fd45943.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://k102cb3r3so6"
path="res://.godot/imported/switch24.wav-d78702457e3037d3e442ffa9f491a233.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch24.wav"
dest_files=["res://.godot/imported/switch24.wav-d78702457e3037d3e442ffa9f491a233.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dk0xypj8w53c6"
path="res://.godot/imported/switch25.wav-3084dc0e8799b7c7642353637b8ee6d9.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch25.wav"
dest_files=["res://.godot/imported/switch25.wav-3084dc0e8799b7c7642353637b8ee6d9.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bqj5ir00eibn5"
path="res://.godot/imported/switch26.wav-d5a7e4e7f2b93b80c57e83e23cfcce44.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch26.wav"
dest_files=["res://.godot/imported/switch26.wav-d5a7e4e7f2b93b80c57e83e23cfcce44.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://m11etanqcw1j"
path="res://.godot/imported/switch27.wav-8cfb1e1957d61484e98a000b23c8235e.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch27.wav"
dest_files=["res://.godot/imported/switch27.wav-8cfb1e1957d61484e98a000b23c8235e.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://c1dawxq8yba0p"
path="res://.godot/imported/switch28.wav-ff2685c2f081f5d35c3851ea3fed5d9d.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch28.wav"
dest_files=["res://.godot/imported/switch28.wav-ff2685c2f081f5d35c3851ea3fed5d9d.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://b82sxkmw3kih4"
path="res://.godot/imported/switch29.wav-a972c4cb7e4b7ecc8feb7d741d7a457a.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch29.wav"
dest_files=["res://.godot/imported/switch29.wav-a972c4cb7e4b7ecc8feb7d741d7a457a.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bs8npgsvmkoi6"
path="res://.godot/imported/switch3.wav-d5bafaa3cd1d942b879acd4703db9dee.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch3.wav"
dest_files=["res://.godot/imported/switch3.wav-d5bafaa3cd1d942b879acd4703db9dee.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dokyp5h8t2gk4"
path="res://.godot/imported/switch30.wav-132fce3f6994d6372657ec5f19880428.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch30.wav"
dest_files=["res://.godot/imported/switch30.wav-132fce3f6994d6372657ec5f19880428.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View file

@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dasvl7gtguf2c"
path="res://.godot/imported/switch31.wav-b646841697882c6b050db5f8e3066922.sample"
[deps]
source_file="res://addons/kenney_ui_audio/switch31.wav"
dest_files=["res://.godot/imported/switch31.wav-b646841697882c6b050db5f8e3066922.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more