From 7c9a50f0d58b19c5851edb4dac11a8d6a4427bfd Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 1 Apr 2022 00:11:42 +0200 Subject: [PATCH] Add proper license to project The project was never licensed, it only contained third party licenses. I determined to use the Source SDK 2013 license for this, as the majority of the business logic running this product is based on Valve's (the license has zero restrictions in the scope of our goal with this project). The licenses has to be included with any depots from now on in the folder 'legal' placed in the root of the project folder (the location of r5apex_ds.exe). With any new additions of third party code, the 'thirdpartylegalnotices.txt' file has to be updated accordingly. --- license/LICENSE | 43 ++++ license/detours/CREDITS.md | 118 ----------- license/detours/LICENSE.md | 23 --- license/imgui/LICENSE.txt | 21 -- license/lzham/LICENSE.txt | 19 -- license/mathlib/CRC32.txt | 2 - license/mathlib/SHA256.txt | 36 ---- license/protobuf/LICENSE.txt | 32 --- license/recast/LICENSE.txt | 18 -- license/sdl/LICENSE.txt | 18 -- license/spdlog/LICENSE.txt | 26 --- license/thirdpartylegalnotices.txt | 307 +++++++++++++++++++++++++++++ r5dev/tier0/cpu.cpp | 2 +- r5dev/tier0/cpu.h | 2 +- r5dev/tier0/fasttimer.cpp | 2 +- r5dev/tier0/fasttimer.h | 4 +- 16 files changed, 355 insertions(+), 318 deletions(-) create mode 100644 license/LICENSE delete mode 100644 license/detours/CREDITS.md delete mode 100644 license/detours/LICENSE.md delete mode 100644 license/imgui/LICENSE.txt delete mode 100644 license/lzham/LICENSE.txt delete mode 100644 license/mathlib/CRC32.txt delete mode 100644 license/mathlib/SHA256.txt delete mode 100644 license/protobuf/LICENSE.txt delete mode 100644 license/recast/LICENSE.txt delete mode 100644 license/sdl/LICENSE.txt delete mode 100644 license/spdlog/LICENSE.txt create mode 100644 license/thirdpartylegalnotices.txt diff --git a/license/LICENSE b/license/LICENSE new file mode 100644 index 00000000..3ade2f32 --- /dev/null +++ b/license/LICENSE @@ -0,0 +1,43 @@ + SOURCE 1 SDK LICENSE + +Source SDK Copyright(c) Valve Corp. + +THIS DOCUMENT DESCRIBES A CONTRACT BETWEEN YOU AND VALVE +CORPORATION ("Valve"). PLEASE READ IT BEFORE DOWNLOADING OR USING +THE SOURCE ENGINE SDK ("SDK"). BY DOWNLOADING AND/OR USING THE +SOURCE ENGINE SDK YOU ACCEPT THIS LICENSE. IF YOU DO NOT AGREE TO +THE TERMS OF THIS LICENSE PLEASE DON’T DOWNLOAD OR USE THE SDK. + + You may, free of charge, download and use the SDK to develop a modified Valve game +running on the Source engine. You may distribute your modified Valve game in source and +object code form, but only for free. Terms of use for Valve games are found in the Steam +Subscriber Agreement located here: http://store.steampowered.com/subscriber_agreement/ + + You may copy, modify, and distribute the SDK and any modifications you make to the +SDK in source and object code form, but only for free. Any distribution of this SDK must +include this LICENSE file and thirdpartylegalnotices.txt. + + Any distribution of the SDK or a substantial portion of the SDK must include the above +copyright notice and the following: + + DISCLAIMER OF WARRANTIES. THE SOURCE SDK AND ANY + OTHER MATERIAL DOWNLOADED BY LICENSEE IS PROVIDED + "AS IS". VALVE AND ITS SUPPLIERS DISCLAIM ALL + WARRANTIES WITH RESPECT TO THE SDK, EITHER EXPRESS + OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED + WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, + TITLE AND FITNESS FOR A PARTICULAR PURPOSE. + + LIMITATION OF LIABILITY. IN NO EVENT SHALL VALVE OR + ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, + INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER + (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF + BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF + BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) + ARISING OUT OF THE USE OF OR INABILITY TO USE THE + ENGINE AND/OR THE SDK, EVEN IF VALVE HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + +If you would like to use the SDK for a commercial purpose, please contact Valve at +sourceengine@valvesoftware.com. diff --git a/license/detours/CREDITS.md b/license/detours/CREDITS.md deleted file mode 100644 index 7c7c8152..00000000 --- a/license/detours/CREDITS.md +++ /dev/null @@ -1,118 +0,0 @@ -# Detours Contributor Credits - -The following individuals have helped identify specific bugs and improvements -in Detours. The entire Detours community has benefited from their help. - -* Jay Krell: Identified error in DetourFindPayload that caused a - incorrect failure when pcbData is NULL. (Build_342) - -* Jay Krell: Identified issue with VirtualSize == 0 files created in - NT 3.1 images. (Build_339) - -* Igor Odnovorov: Identified an issue with the placement of the trampoline - region when a function is detoured twice and the second - trampoline region is outside of the +/- 2GB range of - the target. (Build_337) - -* Jay Krell: Identified need for some programs to enumerate the - address of IAT entries. (Build_336) - -* Calvin Hsia: Identified need for some program to change the excluded - system region. (Build_336) - -* Adam Smith: Identified error in failure handling when VirtualProect - cannot make pages executable because the Prohibit - Dynamic Code Generation mitigation policy has been - applied to a process. (Build_335) - -* Ben Faull: Identified fix to detour_alloc_region_from_lo and - detour_alloc_region_from_hi that preserves ASLR entropy. - (Build_334) - -* Shaoxiang Su: Reported errors building with Visual Studio 2015. - (Build_332) - -* Jay Krell: Identified and resolved significant gaps in the X86, X64 - and IA64 disassemblers for instruction found in code, - but seldom found in function prologues. (Build_331) - -* Allan Murphy: Identify error in rep and jmp ds: encodings. (Build_331) - -* Philip Bacon: Identified incorrect entry point return for pure - resource-only binaries. (Build_330) - -* Jay Krell: Identified failure in DetourAttachEx to update nAlign. - (Build_330) - -* Sumit Sarin: Helped debug error with packed binaries. - (Build_329) - -* Nitya Kumar Sharma: Reported bug in DetourAfterWithDll for 32/64 agnostic - EXEs. - (Build_327) - -* Richard Black: Identified a large number of typos in documentation. - (Build_326) - -* Michael Bilodeau: Identified bug in DetourUpdateProcessWithDll when the - target process contains a Detours payload *after* all - valid PE binaries. - (Build_324) - -* Meera Jindal: Reported bug in identification of target address in - DetourCopyInstruction for jmp[] and call[] on x86 & x64, - the ff15 and ff25 opcodes. - (Build_323) - -* Ken Johnson: Assistance with SAL 2.0 annotations. - (Build_319) - -* Nick Wood: Identified bug in DetourFindFunction on ARM. - (Build_314) - -* Mark Russinovich: Helped debug DetourCreateProcessWithDllEx. - (Build_314) - -* John Lin: Implementation idea for DetoursCreateProcessWithDllEx. - (Build_314) - -* Andrew Zawadowskiy Reported an improper memory page permissions - vulnerability in Detours 2.1. (Vulnerability does not - exist in versions later than Detours 2.1.) - (Build_223) - -* Nightxie: Identified bug in detour_alloc_round_up_to_region. - (Build_310) - -* Diana Milirud: Identified bug in B* instructions on ARM. - (Build_309) - -* Juan Carlos Identified correct MSIL entry point for unsigned MSIL. - Luciani: (Build_308) - -* Lee Hunt Suggested improvements in algorithm for allocation of - Lawrence Landauer trampoline regions on x64 to avoid collisions with - Joe Laughlin: system DLLs. - (Build_307) - -* Tyler Sims Identified bug in handling of "anycpu" MSIL binaries - Darren Kennedy: on x64. - (Build_307) - -* Andre Vachon: Help with optimized binaries. - (Build 301) - -* Chris Mann: Identified fix not forward ported from 2.2 to 3.0. - (Build_301) - -* Mark Irving: Identified bug with EXEs missing second import table. - (Build_300) - -* Ben Schwarz: Identified bug in handling of multi-byte NOPs. - (Build_300) - -* Aaron Giles Coded initial ARM/Thumb2 disassembler. - Jared Henderson: (Build_300) - -* Doug Brubacher: Coded initial x86 disassembler. - (Build_100) diff --git a/license/detours/LICENSE.md b/license/detours/LICENSE.md deleted file mode 100644 index e6a4c563..00000000 --- a/license/detours/LICENSE.md +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (c) Microsoft Corporation - -All rights reserved. - -# MIT License - -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. diff --git a/license/imgui/LICENSE.txt b/license/imgui/LICENSE.txt deleted file mode 100644 index 780533dc..00000000 --- a/license/imgui/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-2021 Omar Cornut - -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. diff --git a/license/lzham/LICENSE.txt b/license/lzham/LICENSE.txt deleted file mode 100644 index 94cf6adc..00000000 --- a/license/lzham/LICENSE.txt +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2009-2011 Richard Geldreich, Jr. - -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. diff --git a/license/mathlib/CRC32.txt b/license/mathlib/CRC32.txt deleted file mode 100644 index db2dd059..00000000 --- a/license/mathlib/CRC32.txt +++ /dev/null @@ -1,2 +0,0 @@ -* COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or -* code or tables extracted from it, as desired without restriction. diff --git a/license/mathlib/SHA256.txt b/license/mathlib/SHA256.txt deleted file mode 100644 index 6bd905f6..00000000 --- a/license/mathlib/SHA256.txt +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Updated to C++, zedwood.com 2012 - * Based on Olivier Gay's version - * See Modified BSD License below: - * - * FIPS 180-2 SHA-224/256/384/512 implementation - * Issue date: 04/30/2005 - * http://www.ouah.org/ogay/sha2/ - * - * Copyright (C) 2005, 2007 Olivier Gay - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the project nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ diff --git a/license/protobuf/LICENSE.txt b/license/protobuf/LICENSE.txt deleted file mode 100644 index 19b305b0..00000000 --- a/license/protobuf/LICENSE.txt +++ /dev/null @@ -1,32 +0,0 @@ -Copyright 2008 Google Inc. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Code generated by the Protocol Buffer compiler is owned by the owner -of the input file used when generating it. This code is not -standalone and requires a support library to be linked with it. This -support library is itself covered by the above license. diff --git a/license/recast/LICENSE.txt b/license/recast/LICENSE.txt deleted file mode 100644 index 95f4bfc9..00000000 --- a/license/recast/LICENSE.txt +++ /dev/null @@ -1,18 +0,0 @@ -Copyright (c) 2009 Mikko Mononen memon@inside.org - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any damages -arising from the use of this software. - -Permission is granted to anyone to use this software for any purpose, -including commercial applications, and to alter it and redistribute it -freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must not -claim that you wrote the original software. If you use this software -in a product, an acknowledgment in the product documentation would be -appreciated but is not required. -2. Altered source versions must be plainly marked as such, and must not be -misrepresented as being the original software. -3. This notice may not be removed or altered from any source distribution. - diff --git a/license/sdl/LICENSE.txt b/license/sdl/LICENSE.txt deleted file mode 100644 index 728a3d70..00000000 --- a/license/sdl/LICENSE.txt +++ /dev/null @@ -1,18 +0,0 @@ -Copyright (C) 1997-2022 Sam Lantinga - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any damages -arising from the use of this software. - -Permission is granted to anyone to use this software for any purpose, -including commercial applications, and to alter it and redistribute it -freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. -2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. -3. This notice may not be removed or altered from any source distribution. - diff --git a/license/spdlog/LICENSE.txt b/license/spdlog/LICENSE.txt deleted file mode 100644 index c15941bc..00000000 --- a/license/spdlog/LICENSE.txt +++ /dev/null @@ -1,26 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Gabi Melman. - -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. - --- NOTE: Third party dependency used by this software -- -This software depends on the fmt lib (MIT License), -and users must comply to its license: https://github.com/fmtlib/fmt/blob/master/LICENSE.rst - diff --git a/license/thirdpartylegalnotices.txt b/license/thirdpartylegalnotices.txt new file mode 100644 index 00000000..4a8f6314 --- /dev/null +++ b/license/thirdpartylegalnotices.txt @@ -0,0 +1,307 @@ +R5Sdk Third Party code legal notices: + +************************************************************************************ +Microsoft Detours +************************************************************************************ + + // # Copyright (c) Microsoft Corporation + // + // All rights reserved. + // + // # MIT License + // + // 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. + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ +Recast & Detour +************************************************************************************ + + // Copyright (c) 2009 Mikko Mononen memon@inside.org + // + // This software is provided 'as-is', without any express or implied + // warranty. In no event will the authors be held liable for any damages + // arising from the use of this software. + // + // Permission is granted to anyone to use this software for any purpose, + // including commercial applications, and to alter it and redistribute it + // freely, subject to the following restrictions: + // + // 1. The origin of this software must not be misrepresented; you must not + // claim that you wrote the original software. If you use this software + // in a product, an acknowledgment in the product documentation would be + // appreciated but is not required. + // 2. Altered source versions must be plainly marked as such, and must not be + // misrepresented as being the original software. + // 3. This notice may not be removed or altered from any source distribution. + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ +Google protocol buffers +************************************************************************************ + + // Copyright 2008 Google Inc. All rights reserved. + // + // Redistribution and use in source and binary forms, with or without + // modification, are permitted provided that the following conditions are + // met: + // + // * Redistributions of source code must retain the above copyright + // notice, this list of conditions and the following disclaimer. + // * Redistributions in binary form must reproduce the above + // copyright notice, this list of conditions and the following disclaimer + // in the documentation and/or other materials provided with the + // distribution. + // * Neither the name of Google Inc. nor the names of its + // contributors may be used to endorse or promote products derived from + // this software without specific prior written permission. + // + // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + // + // Code generated by the Protocol Buffer compiler is owned by the owner + // of the input file used when generating it. This code is not + // standalone and requires a support library to be linked with it. This + // support library is itself covered by the above license. + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ +Dear ImGui +************************************************************************************ + + // The MIT License (MIT) + // + // Copyright (c) 2014-2021 Omar Cornut + // + // 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. + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ +Simple DirectMedia Layer 2 +************************************************************************************ + + // Copyright (C) 1997-2022 Sam Lantinga + // + // This software is provided 'as-is', without any express or implied + // warranty. In no event will the authors be held liable for any damages + // arising from the use of this software. + // + // Permission is granted to anyone to use this software for any purpose, + // including commercial applications, and to alter it and redistribute it + // freely, subject to the following restrictions: + // + // 1. The origin of this software must not be misrepresented; you must not + // claim that you wrote the original software. If you use this software + // in a product, an acknowledgment in the product documentation would be + // appreciated but is not required. + // 2. Altered source versions must be plainly marked as such, and must not be + // misrepresented as being the original software. + // 3. This notice may not be removed or altered from any source distribution. + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ +Squirrel +************************************************************************************ + + // Copyright (c) 2003-2022 Alberto Demichelis + // + // 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. + // ----------------------------------------------------- + // END OF COPYRIGHT + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ +SpdLog +************************************************************************************ + + // The MIT License (MIT) + // + // Copyright (c) 2016 Gabi Melman. + // + // 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. + // + // -- NOTE: Third party dependency used by this software -- + // This software depends on the fmt lib (MIT License), + // and users must comply to its license: https://github.com/fmtlib/fmt/blob/master/LICENSE.rst + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ +Format {fmt} +************************************************************************************ + + // Copyright (c) 2012 - present, Victor Zverovich + // + // 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. + // + // --- Optional exception to the license --- + // + // As an exception, if, as a result of your compiling your source code, portions + // of this Software are embedded into a machine-executable object form of such + // source code, you may redistribute such embedded portions in such object form + // without including the above copyright and permission notices. + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ +LZHAM +************************************************************************************ + + // Copyright (c) 2009-2011 Richard Geldreich, Jr. + // + // 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. + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ +SHA256 +************************************************************************************ + + // Updated to C++, zedwood.com 2012 + // Based on Olivier Gay's version + // See Modified BSD License below: + // + // FIPS 180-2 SHA-224/256/384/512 implementation + // Issue date: 04/30/2005 + // http://www.ouah.org/ogay/sha2/ + // + // Copyright (C) 2005, 2007 Olivier Gay + // All rights reserved. + // + // Redistribution and use in source and binary forms, with or without + // modification, are permitted provided that the following conditions + // are met: + // 1. Redistributions of source code must retain the above copyright + // notice, this list of conditions and the following disclaimer. + // 2. Redistributions in binary form must reproduce the above copyright + // notice, this list of conditions and the following disclaimer in the + // documentation and/or other materials provided with the distribution. + // 3. Neither the name of the project nor the names of its contributors + // may be used to endorse or promote products derived from this software + // without specific prior written permission. + // + // THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND + // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + // ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE + // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + // SUCH DAMAGE. + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ +CRC32 +************************************************************************************ + + // COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or + // code or tables extracted from it, as desired without restriction. + //////////////////////////////////////////////////////////////////////////// + +************************************************************************************ diff --git a/r5dev/tier0/cpu.cpp b/r5dev/tier0/cpu.cpp index a5e6a42d..ee0f478f 100644 --- a/r5dev/tier0/cpu.cpp +++ b/r5dev/tier0/cpu.cpp @@ -1,4 +1,4 @@ -//=============================================================================// +//===== Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ======// // // Purpose: // diff --git a/r5dev/tier0/cpu.h b/r5dev/tier0/cpu.h index 0543d66c..f4be7b0a 100644 --- a/r5dev/tier0/cpu.h +++ b/r5dev/tier0/cpu.h @@ -1,4 +1,4 @@ -//=============================================================================// +//===== Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ======// // // Purpose: // diff --git a/r5dev/tier0/fasttimer.cpp b/r5dev/tier0/fasttimer.cpp index 9e012a46..a59d1d38 100644 --- a/r5dev/tier0/fasttimer.cpp +++ b/r5dev/tier0/fasttimer.cpp @@ -1,4 +1,4 @@ -//=============================================================================// +//===== Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ======// // // Purpose: // diff --git a/r5dev/tier0/fasttimer.h b/r5dev/tier0/fasttimer.h index 2b7e53a6..b0596fe4 100644 --- a/r5dev/tier0/fasttimer.h +++ b/r5dev/tier0/fasttimer.h @@ -1,9 +1,9 @@ -//============================================================================// +//===== Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ======// // // Purpose: // // $NoKeywords: $ -//============================================================================// +//=============================================================================// #ifndef FASTTIMER_H #define FASTTIMER_H