You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

381 lines
22 KiB

11 years ago
9 years ago
9 years ago
  1. license
  2. =======
  3. source code
  4. -----------
  5. raylib is licensed under an unmodified zlib/libpng license, which is an OSI-certified,
  6. BSD-like license that allows static linking with closed source software:
  7. Copyright (c) 2013-2016 Ramon Santamaria (@raysan5)
  8. This software is provided "as-is", without any express or implied warranty. In no event
  9. will the authors be held liable for any damages arising from the use of this software.
  10. Permission is granted to anyone to use this software for any purpose, including commercial
  11. applications, and to alter it and redistribute it freely, subject to the following restrictions:
  12. 1. The origin of this software must not be misrepresented; you must not claim that you
  13. wrote the original software. If you use this software in a product, an acknowledgment
  14. in the product documentation would be appreciated but is not required.
  15. 2. Altered source versions must be plainly marked as such, and must not be misrepresented
  16. as being the original software.
  17. 3. This notice may not be removed or altered from any source distribution.
  18. fonts
  19. ------
  20. All rBMF fonts provided with raylib are free to use (freeware) and have been designed by the following people:
  21. * Alpha Beta - Brian Kent (AEnigma)
  22. * Setback - Brian Kent (AEnigma)
  23. * Jupiter Crash - Brian Kent (AEnigma)
  24. * Alagard - Hewett Tsoi
  25. * Romulus - Hewett Tsoi
  26. * Mecha - Captain Falcon
  27. * PixelPlay - Aleksander Shevchuk
  28. * PixAntiqua - Gerhard Großmann
  29. 3d models
  30. ---------
  31. dwarf 3d model used in examples is created by David Moreno and licensed as Creative Commons Attribution-NonCommercial 3.0
  32. Full license provided below:
  33. Creative Commons Legal Code
  34. Attribution-NonCommercial 3.0 Unported
  35. CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
  36. LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
  37. ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
  38. INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
  39. REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
  40. DAMAGES RESULTING FROM ITS USE.
  41. License
  42. THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
  43. COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
  44. COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
  45. AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
  46. BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
  47. TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
  48. BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
  49. CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
  50. CONDITIONS.
  51. 1. Definitions
  52. a. "Adaptation" means a work based upon the Work, or upon the Work and
  53. other pre-existing works, such as a translation, adaptation,
  54. derivative work, arrangement of music or other alterations of a
  55. literary or artistic work, or phonogram or performance and includes
  56. cinematographic adaptations or any other form in which the Work may be
  57. recast, transformed, or adapted including in any form recognizably
  58. derived from the original, except that a work that constitutes a
  59. Collection will not be considered an Adaptation for the purpose of
  60. this License. For the avoidance of doubt, where the Work is a musical
  61. work, performance or phonogram, the synchronization of the Work in
  62. timed-relation with a moving image ("synching") will be considered an
  63. Adaptation for the purpose of this License.
  64. b. "Collection" means a collection of literary or artistic works, such as
  65. encyclopedias and anthologies, or performances, phonograms or
  66. broadcasts, or other works or subject matter other than works listed
  67. in Section 1(f) below, which, by reason of the selection and
  68. arrangement of their contents, constitute intellectual creations, in
  69. which the Work is included in its entirety in unmodified form along
  70. with one or more other contributions, each constituting separate and
  71. independent works in themselves, which together are assembled into a
  72. collective whole. A work that constitutes a Collection will not be
  73. considered an Adaptation (as defined above) for the purposes of this
  74. License.
  75. c. "Distribute" means to make available to the public the original and
  76. copies of the Work or Adaptation, as appropriate, through sale or
  77. other transfer of ownership.
  78. d. "Licensor" means the individual, individuals, entity or entities that
  79. offer(s) the Work under the terms of this License.
  80. e. "Original Author" means, in the case of a literary or artistic work,
  81. the individual, individuals, entity or entities who created the Work
  82. or if no individual or entity can be identified, the publisher; and in
  83. addition (i) in the case of a performance the actors, singers,
  84. musicians, dancers, and other persons who act, sing, deliver, declaim,
  85. play in, interpret or otherwise perform literary or artistic works or
  86. expressions of folklore; (ii) in the case of a phonogram the producer
  87. being the person or legal entity who first fixes the sounds of a
  88. performance or other sounds; and, (iii) in the case of broadcasts, the
  89. organization that transmits the broadcast.
  90. f. "Work" means the literary and/or artistic work offered under the terms
  91. of this License including without limitation any production in the
  92. literary, scientific and artistic domain, whatever may be the mode or
  93. form of its expression including digital form, such as a book,
  94. pamphlet and other writing; a lecture, address, sermon or other work
  95. of the same nature; a dramatic or dramatico-musical work; a
  96. choreographic work or entertainment in dumb show; a musical
  97. composition with or without words; a cinematographic work to which are
  98. assimilated works expressed by a process analogous to cinematography;
  99. a work of drawing, painting, architecture, sculpture, engraving or
  100. lithography; a photographic work to which are assimilated works
  101. expressed by a process analogous to photography; a work of applied
  102. art; an illustration, map, plan, sketch or three-dimensional work
  103. relative to geography, topography, architecture or science; a
  104. performance; a broadcast; a phonogram; a compilation of data to the
  105. extent it is protected as a copyrightable work; or a work performed by
  106. a variety or circus performer to the extent it is not otherwise
  107. considered a literary or artistic work.
  108. g. "You" means an individual or entity exercising rights under this
  109. License who has not previously violated the terms of this License with
  110. respect to the Work, or who has received express permission from the
  111. Licensor to exercise rights under this License despite a previous
  112. violation.
  113. h. "Publicly Perform" means to perform public recitations of the Work and
  114. to communicate to the public those public recitations, by any means or
  115. process, including by wire or wireless means or public digital
  116. performances; to make available to the public Works in such a way that
  117. members of the public may access these Works from a place and at a
  118. place individually chosen by them; to perform the Work to the public
  119. by any means or process and the communication to the public of the
  120. performances of the Work, including by public digital performance; to
  121. broadcast and rebroadcast the Work by any means including signs,
  122. sounds or images.
  123. i. "Reproduce" means to make copies of the Work by any means including
  124. without limitation by sound or visual recordings and the right of
  125. fixation and reproducing fixations of the Work, including storage of a
  126. protected performance or phonogram in digital form or other electronic
  127. medium.
  128. 2. Fair Dealing Rights. Nothing in this License is intended to reduce,
  129. limit, or restrict any uses free from copyright or rights arising from
  130. limitations or exceptions that are provided for in connection with the
  131. copyright protection under copyright law or other applicable laws.
  132. 3. License Grant. Subject to the terms and conditions of this License,
  133. Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
  134. perpetual (for the duration of the applicable copyright) license to
  135. exercise the rights in the Work as stated below:
  136. a. to Reproduce the Work, to incorporate the Work into one or more
  137. Collections, and to Reproduce the Work as incorporated in the
  138. Collections;
  139. b. to create and Reproduce Adaptations provided that any such Adaptation,
  140. including any translation in any medium, takes reasonable steps to
  141. clearly label, demarcate or otherwise identify that changes were made
  142. to the original Work. For example, a translation could be marked "The
  143. original work was translated from English to Spanish," or a
  144. modification could indicate "The original work has been modified.";
  145. c. to Distribute and Publicly Perform the Work including as incorporated
  146. in Collections; and,
  147. d. to Distribute and Publicly Perform Adaptations.
  148. The above rights may be exercised in all media and formats whether now
  149. known or hereafter devised. The above rights include the right to make
  150. such modifications as are technically necessary to exercise the rights in
  151. other media and formats. Subject to Section 8(f), all rights not expressly
  152. granted by Licensor are hereby reserved, including but not limited to the
  153. rights set forth in Section 4(d).
  154. 4. Restrictions. The license granted in Section 3 above is expressly made
  155. subject to and limited by the following restrictions:
  156. a. You may Distribute or Publicly Perform the Work only under the terms
  157. of this License. You must include a copy of, or the Uniform Resource
  158. Identifier (URI) for, this License with every copy of the Work You
  159. Distribute or Publicly Perform. You may not offer or impose any terms
  160. on the Work that restrict the terms of this License or the ability of
  161. the recipient of the Work to exercise the rights granted to that
  162. recipient under the terms of the License. You may not sublicense the
  163. Work. You must keep intact all notices that refer to this License and
  164. to the disclaimer of warranties with every copy of the Work You
  165. Distribute or Publicly Perform. When You Distribute or Publicly
  166. Perform the Work, You may not impose any effective technological
  167. measures on the Work that restrict the ability of a recipient of the
  168. Work from You to exercise the rights granted to that recipient under
  169. the terms of the License. This Section 4(a) applies to the Work as
  170. incorporated in a Collection, but this does not require the Collection
  171. apart from the Work itself to be made subject to the terms of this
  172. License. If You create a Collection, upon notice from any Licensor You
  173. must, to the extent practicable, remove from the Collection any credit
  174. as required by Section 4(c), as requested. If You create an
  175. Adaptation, upon notice from any Licensor You must, to the extent
  176. practicable, remove from the Adaptation any credit as required by
  177. Section 4(c), as requested.
  178. b. You may not exercise any of the rights granted to You in Section 3
  179. above in any manner that is primarily intended for or directed toward
  180. commercial advantage or private monetary compensation. The exchange of
  181. the Work for other copyrighted works by means of digital file-sharing
  182. or otherwise shall not be considered to be intended for or directed
  183. toward commercial advantage or private monetary compensation, provided
  184. there is no payment of any monetary compensation in connection with
  185. the exchange of copyrighted works.
  186. c. If You Distribute, or Publicly Perform the Work or any Adaptations or
  187. Collections, You must, unless a request has been made pursuant to
  188. Section 4(a), keep intact all copyright notices for the Work and
  189. provide, reasonable to the medium or means You are utilizing: (i) the
  190. name of the Original Author (or pseudonym, if applicable) if supplied,
  191. and/or if the Original Author and/or Licensor designate another party
  192. or parties (e.g., a sponsor institute, publishing entity, journal) for
  193. attribution ("Attribution Parties") in Licensor's copyright notice,
  194. terms of service or by other reasonable means, the name of such party
  195. or parties; (ii) the title of the Work if supplied; (iii) to the
  196. extent reasonably practicable, the URI, if any, that Licensor
  197. specifies to be associated with the Work, unless such URI does not
  198. refer to the copyright notice or licensing information for the Work;
  199. and, (iv) consistent with Section 3(b), in the case of an Adaptation,
  200. a credit identifying the use of the Work in the Adaptation (e.g.,
  201. "French translation of the Work by Original Author," or "Screenplay
  202. based on original Work by Original Author"). The credit required by
  203. this Section 4(c) may be implemented in any reasonable manner;
  204. provided, however, that in the case of a Adaptation or Collection, at
  205. a minimum such credit will appear, if a credit for all contributing
  206. authors of the Adaptation or Collection appears, then as part of these
  207. credits and in a manner at least as prominent as the credits for the
  208. other contributing authors. For the avoidance of doubt, You may only
  209. use the credit required by this Section for the purpose of attribution
  210. in the manner set out above and, by exercising Your rights under this
  211. License, You may not implicitly or explicitly assert or imply any
  212. connection with, sponsorship or endorsement by the Original Author,
  213. Licensor and/or Attribution Parties, as appropriate, of You or Your
  214. use of the Work, without the separate, express prior written
  215. permission of the Original Author, Licensor and/or Attribution
  216. Parties.
  217. d. For the avoidance of doubt:
  218. i. Non-waivable Compulsory License Schemes. In those jurisdictions in
  219. which the right to collect royalties through any statutory or
  220. compulsory licensing scheme cannot be waived, the Licensor
  221. reserves the exclusive right to collect such royalties for any
  222. exercise by You of the rights granted under this License;
  223. ii. Waivable Compulsory License Schemes. In those jurisdictions in
  224. which the right to collect royalties through any statutory or
  225. compulsory licensing scheme can be waived, the Licensor reserves
  226. the exclusive right to collect such royalties for any exercise by
  227. You of the rights granted under this License if Your exercise of
  228. such rights is for a purpose or use which is otherwise than
  229. noncommercial as permitted under Section 4(b) and otherwise waives
  230. the right to collect royalties through any statutory or compulsory
  231. licensing scheme; and,
  232. iii. Voluntary License Schemes. The Licensor reserves the right to
  233. collect royalties, whether individually or, in the event that the
  234. Licensor is a member of a collecting society that administers
  235. voluntary licensing schemes, via that society, from any exercise
  236. by You of the rights granted under this License that is for a
  237. purpose or use which is otherwise than noncommercial as permitted
  238. under Section 4(c).
  239. e. Except as otherwise agreed in writing by the Licensor or as may be
  240. otherwise permitted by applicable law, if You Reproduce, Distribute or
  241. Publicly Perform the Work either by itself or as part of any
  242. Adaptations or Collections, You must not distort, mutilate, modify or
  243. take other derogatory action in relation to the Work which would be
  244. prejudicial to the Original Author's honor or reputation. Licensor
  245. agrees that in those jurisdictions (e.g. Japan), in which any exercise
  246. of the right granted in Section 3(b) of this License (the right to
  247. make Adaptations) would be deemed to be a distortion, mutilation,
  248. modification or other derogatory action prejudicial to the Original
  249. Author's honor and reputation, the Licensor will waive or not assert,
  250. as appropriate, this Section, to the fullest extent permitted by the
  251. applicable national law, to enable You to reasonably exercise Your
  252. right under Section 3(b) of this License (right to make Adaptations)
  253. but not otherwise.
  254. 5. Representations, Warranties and Disclaimer
  255. UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
  256. OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
  257. KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
  258. INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
  259. FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
  260. LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
  261. WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
  262. OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
  263. 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
  264. LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
  265. ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
  266. ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
  267. BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  268. 7. Termination
  269. a. This License and the rights granted hereunder will terminate
  270. automatically upon any breach by You of the terms of this License.
  271. Individuals or entities who have received Adaptations or Collections
  272. from You under this License, however, will not have their licenses
  273. terminated provided such individuals or entities remain in full
  274. compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
  275. survive any termination of this License.
  276. b. Subject to the above terms and conditions, the license granted here is
  277. perpetual (for the duration of the applicable copyright in the Work).
  278. Notwithstanding the above, Licensor reserves the right to release the
  279. Work under different license terms or to stop distributing the Work at
  280. any time; provided, however that any such election will not serve to
  281. withdraw this License (or any other license that has been, or is
  282. required to be, granted under the terms of this License), and this
  283. License will continue in full force and effect unless terminated as
  284. stated above.
  285. 8. Miscellaneous
  286. a. Each time You Distribute or Publicly Perform the Work or a Collection,
  287. the Licensor offers to the recipient a license to the Work on the same
  288. terms and conditions as the license granted to You under this License.
  289. b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
  290. offers to the recipient a license to the original Work on the same
  291. terms and conditions as the license granted to You under this License.
  292. c. If any provision of this License is invalid or unenforceable under
  293. applicable law, it shall not affect the validity or enforceability of
  294. the remainder of the terms of this License, and without further action
  295. by the parties to this agreement, such provision shall be reformed to
  296. the minimum extent necessary to make such provision valid and
  297. enforceable.
  298. d. No term or provision of this License shall be deemed waived and no
  299. breach consented to unless such waiver or consent shall be in writing
  300. and signed by the party to be charged with such waiver or consent.
  301. e. This License constitutes the entire agreement between the parties with
  302. respect to the Work licensed here. There are no understandings,
  303. agreements or representations with respect to the Work not specified
  304. here. Licensor shall not be bound by any additional provisions that
  305. may appear in any communication from You. This License may not be
  306. modified without the mutual written agreement of the Licensor and You.
  307. f. The rights granted under, and the subject matter referenced, in this
  308. License were drafted utilizing the terminology of the Berne Convention
  309. for the Protection of Literary and Artistic Works (as amended on
  310. September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
  311. Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
  312. and the Universal Copyright Convention (as revised on July 24, 1971).
  313. These rights and subject matter take effect in the relevant
  314. jurisdiction in which the License terms are sought to be enforced
  315. according to the corresponding provisions of the implementation of
  316. those treaty provisions in the applicable national law. If the
  317. standard suite of rights granted under applicable copyright law
  318. includes additional rights not granted under this License, such
  319. additional rights are deemed to be included in the License; this
  320. License is not intended to restrict the license of any rights under
  321. applicable law.
  322. Creative Commons Notice
  323. Creative Commons is not a party to this License, and makes no warranty
  324. whatsoever in connection with the Work. Creative Commons will not be
  325. liable to You or any party on any legal theory for any damages
  326. whatsoever, including without limitation any general, special,
  327. incidental or consequential damages arising in connection to this
  328. license. Notwithstanding the foregoing two (2) sentences, if Creative
  329. Commons has expressly identified itself as the Licensor hereunder, it
  330. shall have all rights and obligations of Licensor.
  331. Except for the limited purpose of indicating to the public that the
  332. Work is licensed under the CCPL, Creative Commons does not authorize
  333. the use by either party of the trademark "Creative Commons" or any
  334. related trademark or logo of Creative Commons without the prior
  335. written consent of Creative Commons. Any permitted use will be in
  336. compliance with Creative Commons' then-current trademark usage
  337. guidelines, as may be published on its website or otherwise made
  338. available upon request from time to time. For the avoidance of doubt,
  339. this trademark restriction does not form part of the License.
  340. Creative Commons may be contacted at https://creativecommons.org/.