456 lines
22 KiB
Text
456 lines
22 KiB
Text
GNU GENERAL PUBLIC LICENSE
|
|
Version 3, 29 June 2007
|
|
|
|
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.
|
|
|
|
Preamble
|
|
|
|
The GNU General Public License is a free, copyleft license for
|
|
software and other kinds of works.
|
|
|
|
The licenses for most software and other works are designed 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.
|
|
|
|
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 or can get it for free if
|
|
you receive 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.
|
|
|
|
To protect your rights, we need to prevent others from denying you
|
|
these rights or asking you to surrender the rights. Therefore, you have
|
|
certain responsibilities if you distribute copies of the software: if you
|
|
modify it, you must pass on the same freedoms to the recipients.
|
|
Responsibilities include passing along copyright notices, license text,
|
|
and noting any changes.
|
|
|
|
Developers that use the GNU GPL protect your rights with two steps:
|
|
(1) assert copyright on the software, and (2) offer you this License
|
|
giving you legal permission to copy, distribute and/or modify it.
|
|
|
|
For developers' and users' protection, the GPL clearly explains that
|
|
there is no warranty for this free software. Both users' and
|
|
developers' interests require that the software be maintained, and the
|
|
GPL requires that modified versions be marked as changed so that
|
|
problems will not be attributed erroneously to previous authors.
|
|
|
|
Finally, the GPL requires that software patents cannot be used to
|
|
render the non-free program effectively proprietary. To prevent this,
|
|
the GPL promises that patents cannot be used to restrict the making,
|
|
using, or selling of a program, or to restrict the freedoms that the
|
|
GPL guarantees.
|
|
|
|
The precise terms and conditions for copying, distribution and
|
|
modification follow.
|
|
|
|
TERMS AND CONDITIONS
|
|
|
|
0. Definitions.
|
|
|
|
"This License" refers to version 3 of the GNU General Public License.
|
|
|
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
works, such as semiconductor masks.
|
|
|
|
"The Program" refers to any copyrightable work licensed under this
|
|
License. Each licensee is addressed as "You" and "your". "Licensees"
|
|
and "recipients" may be individuals or organizations.
|
|
|
|
To "modify" a work means to copy from or adapt all or part of the work
|
|
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.
|
|
|
|
A "covered work" means either the unmodified Program or a work based
|
|
on the Program.
|
|
|
|
To "propagate" a work means to do anything with it that, without
|
|
permission, would make you infringe under applicable copyright law,
|
|
except executing it on a computer or modifying a private copy.
|
|
Propagation includes copying, distribution (with or without making
|
|
the work available to the public), making available in some countries,
|
|
and other acts of public distribution.
|
|
|
|
To "convey" a work means any kind of propagation that enables other
|
|
parties to make or modify copies. Mere interaction with a computer
|
|
network, without transfer of a copy, does not convey a work.
|
|
|
|
An interactive user interface displays "Appropriate Legal Notices"
|
|
to the extent that it includes a convenient and prominent 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 the licensees may convey the work under
|
|
this License, and how to view a copy of this License. If the interface
|
|
presents a specific list of user commands or options, such as a menu,
|
|
that satisfies this criterion.
|
|
|
|
1. Source Code.
|
|
|
|
The "source code" for a work means the preferred form of the work
|
|
for making modifications to it. "Object code" means any non-source
|
|
form of a work.
|
|
|
|
A "Standard Interface" means an interface that either is an
|
|
established standard recognized by an international standards body, or,
|
|
in the case of interfaces for a given programming language, one that
|
|
is widely used among developers working in that language. The standard
|
|
interface for a function call is its name, parameter list, and return
|
|
value type.
|
|
|
|
The "System Libraries" for a work include anything, other than the
|
|
work as a whole, that (a) is included in the normal manner that the
|
|
operating system is distributed in, and (b) that makes the major
|
|
components of the operating system (such as the kernel, window system,
|
|
and command-line shells) function, but which are not themselves
|
|
considered major components of the system. A "System Library" is
|
|
anything included with the work that can be considered the operating
|
|
system's compiler, or a major compiler used to produce the work, or the
|
|
dynamic linker used to load the work for execution.
|
|
|
|
The "Corresponding Source" for a work in object code form means all
|
|
the source code needed to generate, install, and (for an executable
|
|
work) run the object code and to make modifications to the work,
|
|
including scripts to control those activities. However, it does not
|
|
include the work's 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 shared libraries
|
|
and dynamic linker scripts for an executable work.
|
|
|
|
The Corresponding Source need not include anything that users can
|
|
regenerate automatically from other parts of the Corresponding Source.
|
|
|
|
The Corresponding Source for a work in source code form is that
|
|
same work.
|
|
|
|
2. Basic Permissions.
|
|
|
|
All rights granted under this License are granted for the copyright
|
|
of the Program, and are irrevocable provided the stated conditions are
|
|
met. This License explicitly affirms your unlimited permission to run
|
|
the unmodified Program. The output from running a covered work is
|
|
covered by this License only if the output, given its content,
|
|
constitutes a covered work. This License acknowledges your rights of
|
|
fair use or other equivalent, as provided by any copyright law.
|
|
|
|
You may make, run and propagate covered works that you do not convey,
|
|
without conditions so long as your license otherwise remains in force.
|
|
You may convey covered works to others for the sole purpose of having
|
|
them make modifications exclusively for you, or providing 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 additional use of
|
|
the copyrighted material.
|
|
|
|
Conveying under any other permission is permitted solely under the
|
|
conditions stated below. Sublicensing is not permitted; section 10
|
|
makes it unnecessary.
|
|
|
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
|
|
No covered work shall be deemed part of an effective technological
|
|
measure under any applicable law fulfilling obligations under article
|
|
11 of the WIPO copyright treaty adopted on 26 May 1996, or under any
|
|
similar law prohibiting or restricting circumvention of such measures.
|
|
|
|
When you convey a covered work, you waive any legal power to
|
|
prohibit circumvention of technological measures to the extent such
|
|
circumvention is effected by exercising rights under this License with
|
|
respect to the covered work, and you intend that the waiver not restrict
|
|
the operation or interaction of the work with technological measures.
|
|
|
|
4. Conveying Verbatim Copies.
|
|
|
|
You may convey verbatim copies of the Program's source code as you
|
|
receive it, in any medium, on any condition, provided that you
|
|
conspicuously and appropriately publish on each copy an appropriate
|
|
copyright notice and disclaimer of warranty; keep intact all notices
|
|
stating that this License and the additional terms apply to the Program;
|
|
keep intact all notices of the absence of any warranty; and give all
|
|
recipients a copy of this License along with the Program.
|
|
|
|
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.
|
|
|
|
5. Conveying Modified Source Versions.
|
|
|
|
You must convey a modified version of the Program under terms that
|
|
ensure that the construction of the modified version is licensed under
|
|
this License. The modified version must be licensed under this License,
|
|
and you must make the source code of the modified version available
|
|
under the terms of this License. A modified version of the Program
|
|
must be licensed under this License, not under any other license.
|
|
Moreover, you must make it clear that the license of the modified
|
|
version is this License, not any other license.
|
|
|
|
6. Conveying Non-Source Forms.
|
|
|
|
If you convey a covered work in object code form, you must also
|
|
convey the Corresponding Source under the terms of this License,
|
|
together with information sufficient to allow the recipient to produce
|
|
the Corresponding Source. This may be done in one of the following
|
|
ways:
|
|
|
|
a) Accompany the object code with 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, to give anyone who possesses the
|
|
object code a complete copy of the Corresponding Source, under the
|
|
terms of this License, plus a nominal fee for the cost of physically
|
|
performing this transfer.
|
|
|
|
b) Accompany the object code with 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, to provide a copy of the
|
|
Corresponding Source from a public server or from a similar
|
|
server that is chargeable.
|
|
|
|
c) Accompany the object code with a copy of the written offer
|
|
given to the individual. This is only possible if you convey the
|
|
object code in response to such an offer.
|
|
|
|
d) Convey the object code with a written offer that allows the
|
|
recipient limited distribution of the object code and under terms
|
|
that permit the recipient to reconstruct the Corresponding Source.
|
|
|
|
If the object code is conveyed in a tailed approach (i.e., with a
|
|
written offer that is valid for at least three years and valid
|
|
for as long as you offer spare parts or customer support for that
|
|
product), the Corresponding Source must be provided under the terms
|
|
of this License, plus a nominal fee for the cost of physically
|
|
performing this transfer.
|
|
|
|
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 apply to the entire Program shall be
|
|
treated as if they were included in the 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 terms.
|
|
|
|
Notwithstanding the above, no additional terms may be applied to
|
|
the Program if they alter or restrict the meaning of this License.
|
|
|
|
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 terms
|
|
of this License).
|
|
|
|
However, if you cease all violation of a particular licensee, then
|
|
their license from you under this License is reinstated (a)
|
|
provisionally, unless and until the licensor explicitly and finally
|
|
terminates your license, and (b) permanently, if the licensor fails to
|
|
notify the violation by some reasonable means prior to 60 days after
|
|
the notification.
|
|
|
|
Moreover, a license from you under this License is reinstated
|
|
permanently if the licensee notifies you of the violation by some
|
|
reasonable means, this is the first time you have received notice of
|
|
this violation under this License, and the licensee cures the
|
|
violation within 30 days after receiving 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 are not eligible 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 result of having interacted with the Program
|
|
without any such propagation does not require acceptance. However,
|
|
nothing else grants you permission to propagate or modify the Program.
|
|
These actions infringe copyright if you do not have this License. If
|
|
you do not accept this License then you may not modify the Program
|
|
beyond the scope of fair use or other exceptions provided by
|
|
copyright law.
|
|
|
|
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 ensuring compliance by third parties with this License.
|
|
|
|
An "entity transaction" is a transfer of control of an organization,
|
|
or substantially all assets of one, or a corporation, or a partnership,
|
|
or an organization with or without a legal personality. If you convey
|
|
a covered work to an entity transaction, and the entity received the
|
|
covered work is granted a license for the work, then the license is
|
|
also granted to the successor in interest that benefits from such a
|
|
conveyance, but only if the successor agrees to the terms of this
|
|
License.
|
|
|
|
11. Patents.
|
|
|
|
A "contributor" is a copyright holder who authorizes use under this
|
|
License of either the Program or a work on which the Program is based.
|
|
|
|
Each contributor retains the exclusive right, under their own
|
|
patent law, to grant permission for making, using, selling, offering
|
|
for sale, or importing the contribution, and to sublicense those
|
|
rights at or through the contributor's own patent office.
|
|
|
|
If a patent holder conveys a covered work, and the work was
|
|
included in the Program for the purpose of practicing the patent
|
|
without a license, then the patent holder's license from you for
|
|
the work is void, and the patent holder's patent license for the
|
|
work will not be extended to the work by the terms of this License.
|
|
|
|
If a patent holder conveys a covered work as part of a larger
|
|
fabrication, and the work was included in the Program for the
|
|
purpose of practicing the patent without a license, then the patent
|
|
holder's license from you for the work is void.
|
|
|
|
If a contributor that conveys a covered work is a patent licensee
|
|
that extends the license to a larger fabrication, and the work was
|
|
included in the Program for the purpose of practicing the patent
|
|
without a license, then the license is void.
|
|
|
|
12. No Surrender of Others' Freedom.
|
|
|
|
If conditions are imposed on you (whether by court order, agreement
|
|
or otherwise) that could require you to surrender the freedom granted
|
|
under this License, you may not convey a covered work unless you also
|
|
accept those conditions. For example, if you convey a covered work
|
|
under terms that oblige you to convey the same freedom to others, you
|
|
would be doing so only if you could also ensure the freedom of the
|
|
recipients to receive and modify the work under this License.
|
|
|
|
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 program, and to convey the resulting work. The terms
|
|
of this License will apply to the Program part of the work, and the
|
|
terms of the GNU Affero General Public License will apply to the
|
|
part of the work that is licensed under that license.
|
|
|
|
14. Revised Versions of this License.
|
|
|
|
The Free Software Foundation may publish new and/or revised 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 of either that numbered
|
|
version or 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 for the
|
|
Program, that proxy's public statement of acceptance of a version
|
|
permanently authorizes that version for the use of the Program.
|
|
|
|
15. Disclaimer of Warranty.
|
|
|
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
APPLICABLE LAW. OTHERWISE THE PROGRAM IS PROVIDED "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 SERVICE, REPAIR OR
|
|
CORRECTION.
|
|
|
|
16. Limitation of Liability.
|
|
|
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW 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 effect, then the effect of those provisions is
|
|
reduced to a minimum, and the Program shall be treated as subject to
|
|
an implied warranty of merchantability and a right to damages for
|
|
breach of contract or breach of the implied warranty of a
|
|
merchantable quality.
|
|
|
|
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 the best
|
|
possible program, the best way to achieve this is to make it free
|
|
software which everyone can redistribute and change under these terms.
|
|
|
|
To do this, attach the following notices to your 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 can be found.
|
|
|
|
tssr — Tiny Soccer Simulator Rust
|
|
Copyright (C) 2026 Mark Robillard Jr (MARKMENTAL)
|
|
|
|
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 physical mail.
|
|
|
|
If your program can perform simple terminal interactions, attach a
|
|
short notice like this when the program starts:
|
|
|
|
<program> Copyright (C) <year> <name of author>
|
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w`.
|
|
This is free software, and you are welcome to distribute it under
|
|
certain conditions; type `show c` for details.
|
|
|
|
The hypothetical commands `show w` and `show c` should show the
|
|
appropriate parts of the General Public License.
|
|
|
|
You should also get your employer (if you work as a student) or
|
|
your school, if any, to sign a "copyright disclaimer" for the
|
|
program, if necessary. For more information on how to do this, see
|
|
<https://www.gnu.org/licenses/>.
|
|
|
|
The GNU General Public License does not permit incorporating your
|
|
program into proprietary programs. If your program is a terminal
|
|
emulator or a very simple text editor, the License does not permit
|
|
incorporating it into a larger application. If you are building a
|
|
tool to be used by the public, you might consider using the GNU
|
|
Affero General Public License instead. For more information, see
|
|
<https://www.gnu.org/licenses/licenses.html>.
|