NOTICE.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. SquidLib
  2. Copyright 2011-Forever Eben Howard
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. This product includes software developed at
  13. SquidPony (http://squidpony.com)
  14. Thanks to TSMI and notostraca (Tommy Ettinger) of #rgrd for help in developing SquidLib.
  15. Portions of Bresenham methods are derived from Bob Pendletons C algorithm, which is in turn derived from Paul Heckberts algorithm ("Digital Line Drawing" from "Graphics Gems", Academic Press, 1990.
  16. Portions of FOV and LOS classes are derived from works by Steven Blacken originally distributed as part of the Blacken Library for roguelike games under the Apache 2.0 license.
  17. Portions of some classes are derived from works by Jice originally distributed in the libtcod library under the BSD license with the statement provided below in this document.
  18. Portions of some classes are derived from works in the rot.js library with the statement provided below in this document.
  19. The @Beta annotation is from Google's Guava library under the Apache 2.0 license; the @GwtIncompatible annotation is probably from Google's GWT library or its documentation, but may also be from Guava.
  20. The JRotation class (no longer in SquidLib) was based on code by Savvas Dalkitsis on stackoverflow.com.
  21. The RNG class is based on the Mersenne Twister implementation by Daniel Dyer as part of the Uncommons Maths library, which is in turn based on the original C algorithm by Makoto Matsumoto and Takuji Nishimura.
  22. The squidpony.squidgrid.mapping.styled package and the JSON resources are derived from Sean T. Barrett's Herringbone Wang Tiles library, part of the nothings set of libraries, which were released into the public domain.
  23. The LightRNG class is based on SplitMix64.c by Sebastiano Vigna, released into the public domain and made available on http://xorshift.di.unimi.it/
  24. The XorRNG class is based on the C implementation of XorShift 128+ by Sebastiano Vigna, released into the public domain and made available on http://xorshift.di.unimi.it/
  25. LongPeriodRNG is based on XorShift 1024* , XoRoRNG is based on XoRoShiRo 64+ , and the other credit for these is the same as XorRNG.
  26. The PermutedRNG class is based on the aforementioned SplitMix64.c by Sebastiano Vigna and on the paper, http://www.pcg-random.org/paper.html , describing PCG-Random and its methodology written by Melissa E. O'Neill.
  27. The SobolQRNG class and the resource in the resources/qrng folder were ported from Apache Commons Math, where Stephen Joe and Frances Kuo are credited for the implementation.
  28. The IsaacRNG class is based off a Java implementation given for the Isaac cipher/RNG (usable for either) from http://www.burtleburtle.net/bob/rand/isaacafa.html (public domain); the version uses here is a mix of the C code in isaac64.c and the Java implementation by Bob Jenkins for 32-bit generation, and it produces 64 bits at a time in Java.
  29. The NeuralParticle and WeightedLetterNamegen classes are based on work by Ebyan Alvarez-Buylla .
  30. ShortSet, ShortVLA, and IntVLA are based closely off primitive-backed collections from libGDX, Apache-licensed.
  31. IntDoubleOrderedMap, OrderedMap, and OrderedSet are based on similar code from Sebastiano Vigna's fastutil library, https://github.com/vigna/fastutil .
  32. The DijkstraMap class is original but owes substantial credit to Edsger Dijkstra
  33. for creating the algorithm that shares his name, Brian Pender and Joshua Day for
  34. pioneering Progressive Dijkstra Scan, and the IRC user known as kaw for a
  35. Clojure-language implementation that would help shape this design, which is, it
  36. turns out, subtly different from Dijkstra's Pathfinding Algorithm and is closer
  37. to Breadth-First Search, though it still produces what is usually called a
  38. Dijkstra Map by roguelike developers.
  39. The Spill class derives much of its implementation from DijkstraMap but also from
  40. techniques Joshua Day described for using randomized floodfill and a Lua implementation related to his postings on the subject.
  41. The SoundMap class also derives much of its implementation from DijkstraMap but
  42. is otherwise practically novel.
  43. The squidpony.squidai.AOE interface and its implementing classes are essentially
  44. made possible by the Progressive Dijkstra Scan technique, so more thanks must go
  45. to Brian Pender and Joshua Day.
  46. The hashing techniques used in CrossHash include FNV-1a, which is public domain
  47. and is the work of Glenn Fowler, Landon Curt Noll, and Phong Vo, site at
  48. http://www.isthe.com/chongo/tech/comp/fnv/index.html and SipHash, by Daniel
  49. Bernstein and Jean-Philippe Aumasson, CC0-licensed (close to public domain),
  50. site at https://131002.net/siphash/ , though specifically this uses code from
  51. https://github.com/nahi/siphash-java-inline , which is Apache licensed like
  52. SquidLib. Lightning hash, also in CrossHash, is not derived (at least not
  53. intentionally) from any other hashing algorithm.
  54. The phonetic locality-sensitive hashing of word sounds in NaturalLanguageCipher
  55. owes some credit to eudex, a Rust library for the same type of hashing which can
  56. be found at https://github.com/ticki/eudex , because eudex showed there was
  57. (more than one) way to encode a word sound approximately in 64 bits. No code is
  58. shared between eudex and SquidLib, however.
  59. Small but important bugfixes and additions were contributed by Ivan Polozhēntsev
  60. ( https://github.com/uzername/ , introduced the concept and some code for
  61. SquidKeys.ignoreInput), David Becker (found and fixed several GDX-related bugs),
  62. and Shane Chubb (found and fixed a bug in the LibGDX TextCellFactory).
  63. This is not a complete list of bugfix contributors.
  64. MimicFill and DetailedMimic are direct ports of https://github.com/mxgmn/ConvChain and
  65. https://github.com/mxgmn/SynTex from C# to Java; the former is public domain while the
  66. latter is MIT-licensed.
  67. A substantial amount of work on SquidLib has been done by smelC, https://github.com/smelc ,
  68. especially in the areas of color handling, text layout, and shape analysis for dungeons.
  69. His help has been very welcome in helping to manage the growing codebase and to keep
  70. complex code clean and robust, as well.
  71. All of the TrueType and bitmap fonts in the assets directory of the source tree were made by Tommy
  72. Ettinger and released into the public domain, except:
  73. * Inconsolata and the fonts based on it (all containing Inconsolata in their filename are derived from Raph
  74. Levien's work as modified in https://github.com/MihailJP/Inconsolata-LGC , all with SIL OFL as their license
  75. and any alterations made here do not change the original work's licensing). Portions of the fonts derived
  76. from Inconsolata also incorporate glyphs from DejaVu Sans Mono, http://dejavu-fonts.org/wiki/Main_Page ,
  77. which has a different license but our usage seems to be specifically allowed on their license page,
  78. http://dejavu-fonts.org/wiki/License :
  79. ```
  80. The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or
  81. characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts,
  82. only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera".
  83. ```
  84. * The fonts containing CM-Custom in their names are modified from Computer Modern Unicode, also SIL OFL, and
  85. the originals, plus some related fonts, can be found at https://fontlibrary.org/en/font/cmu-typewriter .
  86. They were originally the work of Donald Knuth for the TeX typesetting system.
  87. * Gentium is SIL OFL, originally by SIL, and has had minimal modification, if any. The original site is
  88. http://software.sil.org/gentium/ .
  89. * Noto Sans is SIL OFL, originally by Google, Inc., and has had minimal modification. The original files, as
  90. well as Noto Serif and specialized versions, can be obtained from https://www.google.com/get/noto/ .
  91. * The .png images containing the name Tentacle are public domain, originally by Henrique Lazarini (also known
  92. as 7Soul1, http://7soul1.deviantart.com/ ); some have modifications applied to a vector trace of the
  93. original pixel art.
  94. * icons.png is derived from the many icons supplied by http://game-icons.net/ ; it has its own license and
  95. people to credit in a file distributed with it, icons-license.txt .
  96. libtcod 1.5.2 license text:
  97. Copyright (c) 2008,2009,2010,2012 Jice & Mingos
  98. All rights reserved.
  99. Redistribution and use in source and binary forms, with or without
  100. modification, are permitted provided that the following conditions are met:
  101. * Redistributions of source code must retain the above copyright
  102. notice, this list of conditions and the following disclaimer.
  103. * Redistributions in binary form must reproduce the above copyright
  104. notice, this list of conditions and the following disclaimer in the
  105. documentation and/or other materials provided with the distribution.
  106. * The name of Jice or Mingos may not be used to endorse or promote products
  107. derived from this software without specific prior written permission.
  108. THIS SOFTWARE IS PROVIDED BY JICE AND MINGOS ``AS IS'' AND ANY
  109. EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  110. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  111. DISCLAIMED. IN NO EVENT SHALL JICE OR MINGOS BE LIABLE FOR ANY
  112. DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  113. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  114. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  115. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  116. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  117. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  118. rot.js license text:
  119. Copyright (c) 2012-now(), Ondrej Zara
  120. All rights reserved.
  121. Redistribution and use in source and binary forms, with or without modification,
  122. are permitted provided that the following conditions are met:
  123. * Redistributions of source code must retain the above copyright notice,
  124. this list of conditions and the following disclaimer.
  125. * Redistributions in binary form must reproduce the above copyright notice,
  126. this list of conditions and the following disclaimer in the documentation
  127. and/or other materials provided with the distribution.
  128. * Neither the name of Ondrej Zara nor the names of its contributors may be used
  129. to endorse or promote products derived from this software without specific
  130. prior written permission.
  131. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  132. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  133. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  134. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  135. INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  136. BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  137. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
  138. OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  139. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  140. EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.