Removing copyright. This software is now entirely in the public domain.

This commit is contained in:
richgel999
2020-09-15 14:12:38 -04:00
parent 44c8402e24
commit 57353fa9ac
137 changed files with 186 additions and 245 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_arealist.cpp - 2D shape algebra (currently unused) // File: crn_arealist.cpp - 2D shape algebra (currently unused)
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
// Ported from the PowerView DOS image viewer, a product I wrote back in 1993. Not currently used in the open source release of crnlib. // Ported from the PowerView DOS image viewer, a product I wrote back in 1993. Not currently used in the open source release of crnlib.
#include "crn_core.h" #include "crn_core.h"
#include "crn_arealist.h" #include "crn_arealist.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_arealist.h - 2D shape algebra // File: crn_arealist.h - 2D shape algebra
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_assert.cpp // File: crn_assert.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#if CRNLIB_USE_WIN32_API #if CRNLIB_USE_WIN32_API
#include "crn_winhdr.h" #include "crn_winhdr.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_assert.h // File: crn_assert.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
const unsigned int CRNLIB_FAIL_EXCEPTION_CODE = 256U; const unsigned int CRNLIB_FAIL_EXCEPTION_CODE = 256U;
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_buffer_stream.h // File: crn_buffer_stream.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_data_stream.h" #include "crn_data_stream.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_cfile_stream.h // File: crn_cfile_stream.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_data_stream.h" #include "crn_data_stream.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_clusterizer.h // File: crn_clusterizer.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_matrix.h" #include "crn_matrix.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_color.h // File: crn_color.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_core.h" #include "crn_core.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_colorized_console.cpp // File: crn_colorized_console.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_colorized_console.h" #include "crn_colorized_console.h"
#ifdef CRNLIB_USE_WIN32_API #ifdef CRNLIB_USE_WIN32_API
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_colorized_console.h // File: crn_colorized_console.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_console.h" #include "crn_console.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_command_line_params.cpp // File: crn_command_line_params.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_command_line_params.h" #include "crn_command_line_params.h"
#include "crn_console.h" #include "crn_console.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_command_line_params.h // File: crn_command_line_params.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_value.h" #include "crn_value.h"
#include <map> #include <map>
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_comp.cpp // File: crn_comp.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_console.h" #include "crn_console.h"
#include "crn_comp.h" #include "crn_comp.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_comp.h // File: crn_comp.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#define CRND_HEADER_FILE_ONLY #define CRND_HEADER_FILE_ONLY
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_console.cpp // File: crn_console.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_console.h" #include "crn_console.h"
#include "crn_data_stream.h" #include "crn_data_stream.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_console.h // File: crn_console.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_dynamic_string.h" #include "crn_dynamic_string.h"
+2 -2
View File
@@ -1,5 +1,5 @@
// File: crn_core.cpp // File: crn_core.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#if CRNLIB_USE_WIN32_API #if CRNLIB_USE_WIN32_API
@@ -8,7 +8,7 @@
namespace crnlib namespace crnlib
{ {
const char *g_copyright_str = "Copyright (c) 2010-2016 Richard Geldreich, Jr. All rights reserved."; const char *g_copyright_str = "This is Public Domain Software, please see license.txt.";
const char *g_sig_str = "C8cfRlaorj0wLtnMSxrBJxTC85rho2L9hUZKHcBL"; const char *g_sig_str = "C8cfRlaorj0wLtnMSxrBJxTC85rho2L9hUZKHcBL";
} // namespace crnlib } // namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_core.h // File: crn_core.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#if defined(WIN32) && defined(_MSC_VER) #if defined(WIN32) && defined(_MSC_VER)
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_data_stream.cpp // File: crn_data_stream.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_data_stream.h" #include "crn_data_stream.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_data_stream.h // File: crn_data_stream.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: data_stream_serializer.h // File: data_stream_serializer.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_data_stream.h" #include "crn_data_stream.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dds_comp.cpp // File: crn_dds_comp.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_dds_comp.h" #include "crn_dds_comp.h"
#include "crn_dynamic_stream.h" #include "crn_dynamic_stream.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_comp.h // File: crn_comp.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_comp.h" #include "crn_comp.h"
#include "crn_mipmapped_texture.h" #include "crn_mipmapped_texture.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_decomp.cpp // File: crn_decomp.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
// Include the single-file header library with no defines, which brings in the full CRN decompressor. // Include the single-file header library with no defines, which brings in the full CRN decompressor.
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt.cpp // File: crn_dxt.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_dxt.h" #include "crn_dxt.h"
#include "crn_dxt1.h" #include "crn_dxt1.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt.h // File: crn_dxt.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "../inc/crnlib.h" #include "../inc/crnlib.h"
#include "crn_color.h" #include "crn_color.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt1.cpp // File: crn_dxt1.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
// //
// Notes: // Notes:
// This class is not optimized for performance on small blocks, unlike typical DXT1 compressors. It's optimized for scalability and quality: // This class is not optimized for performance on small blocks, unlike typical DXT1 compressors. It's optimized for scalability and quality:
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt1.h // File: crn_dxt1.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_dxt.h" #include "crn_dxt.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt5a.cpp // File: crn_dxt5a.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_dxt5a.h" #include "crn_dxt5a.h"
#include "crn_ryg_dxt.hpp" #include "crn_ryg_dxt.hpp"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt5a.h // File: crn_dxt5a.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_dxt.h" #include "crn_dxt.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt_endpoint_refiner.cpp // File: crn_dxt_endpoint_refiner.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_dxt_endpoint_refiner.h" #include "crn_dxt_endpoint_refiner.h"
#include "crn_dxt1.h" #include "crn_dxt1.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt_endpoint_refiner.h // File: crn_dxt_endpoint_refiner.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_dxt.h" #include "crn_dxt.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt_fast.cpp // File: crn_dxt_fast.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
// Parts of this module are derived from RYG's excellent public domain DXTx compressor. // Parts of this module are derived from RYG's excellent public domain DXTx compressor.
#include "crn_core.h" #include "crn_core.h"
#include "crn_dxt_fast.h" #include "crn_dxt_fast.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt_fast.h // File: crn_dxt_fast.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_color.h" #include "crn_color.h"
#include "crn_dxt.h" #include "crn_dxt.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt_hc.cpp // File: crn_dxt_hc.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_dxt_hc.h" #include "crn_dxt_hc.h"
#include "crn_image_utils.h" #include "crn_image_utils.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt_hc.h // File: crn_dxt_hc.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_dxt1.h" #include "crn_dxt1.h"
#include "crn_dxt5a.h" #include "crn_dxt5a.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt_hc_common.cpp // File: crn_dxt_hc_common.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_dxt_hc_common.h" #include "crn_dxt_hc_common.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt_hc_common.h // File: crn_dxt_hc_common.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt_image.cpp // File: crn_dxt_image.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_dxt_image.h" #include "crn_dxt_image.h"
#if CRNLIB_SUPPORT_SQUISH #if CRNLIB_SUPPORT_SQUISH
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dxt_image.h // File: crn_dxt_image.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_dxt1.h" #include "crn_dxt1.h"
#include "crn_dxt5a.h" #include "crn_dxt5a.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dynamic_stream.h // File: crn_dynamic_stream.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_data_stream.h" #include "crn_data_stream.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dynamic_string.cpp // File: crn_dynamic_string.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_strutils.h" #include "crn_strutils.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dynamic_string.h // File: crn_dynamic_string.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_etc.cpp // File: crn_etc.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_etc.h" #include "crn_etc.h"
#include "crn_radix_sort.h" #include "crn_radix_sort.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_etc.h // File: crn_etc.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "../inc/crnlib.h" #include "../inc/crnlib.h"
#include "crn_dxt.h" #include "crn_dxt.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_file_utils.cpp // File: crn_file_utils.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_file_utils.h" #include "crn_file_utils.h"
#include "crn_strutils.h" #include "crn_strutils.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_file_utils.h // File: crn_file_utils.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_win32_find_files.cpp // File: crn_win32_find_files.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_find_files.h" #include "crn_find_files.h"
#include "crn_file_utils.h" #include "crn_file_utils.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_win32_find_files.h // File: crn_win32_find_files.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_freeimage_image_utils.h // File: crn_freeimage_image_utils.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
// Note: This header file requires FreeImage/FreeImagePlus. // Note: This header file requires FreeImage/FreeImagePlus.
#include "crn_image_utils.h" #include "crn_image_utils.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_hash.h // File: crn_hash.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_hash_map.cpp // File: crn_hash_map.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_hash_map.h" #include "crn_hash_map.h"
#include "crn_rand.h" #include "crn_rand.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_hash_map.h // File: crn_hash_map.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
// //
// Notes: // Notes:
// stl-like hash map/hash set, with predictable performance across platforms/compilers/C run times/etc. // stl-like hash map/hash set, with predictable performance across platforms/compilers/C run times/etc.
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_helpers.h // File: crn_helpers.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#define CRNLIB_NO_COPY_OR_ASSIGNMENT_OP(c) c(const c&); c& operator= (const c&); #define CRNLIB_NO_COPY_OR_ASSIGNMENT_OP(c) c(const c&); c& operator= (const c&);
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_huffman_codes.cpp // File: crn_huffman_codes.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_huffman_codes.h" #include "crn_huffman_codes.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_huffman_codes.h // File: crn_huffman_codes.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_image.h // File: crn_image.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_color.h" #include "crn_color.h"
#include "crn_vec.h" #include "crn_vec.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_image_utils.cpp // File: crn_image_utils.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_image_utils.h" #include "crn_image_utils.h"
#include "crn_console.h" #include "crn_console.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_image_utils.h // File: crn_image_utils.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_image.h" #include "crn_image.h"
#include "crn_data_stream_serializer.h" #include "crn_data_stream_serializer.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_intersect.h // File: crn_intersect.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_ray.h" #include "crn_ray.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_lzma_codec.cpp // File: crn_lzma_codec.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_lzma_codec.h" #include "crn_lzma_codec.h"
#include "crn_strutils.h" #include "crn_strutils.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_lzma_codec.h // File: crn_lzma_codec.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_packed_uint.h" #include "crn_packed_uint.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_math.cpp // File: crn_math.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_math.h // File: crn_math.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#if defined(_M_IX86) && defined(_MSC_VER) #if defined(_M_IX86) && defined(_MSC_VER)
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_matrix.h // File: crn_matrix.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_vec.h" #include "crn_vec.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_mem.cpp // File: crn_mem.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_console.h" #include "crn_console.h"
#include "../inc/crnlib.h" #include "../inc/crnlib.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_mem.h // File: crn_mem.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#ifndef CRNLIB_MIN_ALLOC_ALIGNMENT #ifndef CRNLIB_MIN_ALLOC_ALIGNMENT
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_dds_texture.cpp - Actually supports both .DDS and .KTX. Probably will rename this eventually. // File: crn_dds_texture.cpp - Actually supports both .DDS and .KTX. Probably will rename this eventually.
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_mipmapped_texture.h" #include "crn_mipmapped_texture.h"
#include "crn_cfile_stream.h" #include "crn_cfile_stream.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_mipmapped_texture.h // File: crn_mipmapped_texture.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_dxt_image.h" #include "crn_dxt_image.h"
#include "../inc/dds_defs.h" #include "../inc/dds_defs.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_packed_uint // File: crn_packed_uint
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_pixel_format.cpp // File: crn_pixel_format.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_pixel_format.h" #include "crn_pixel_format.h"
#include "crn_image.h" #include "crn_image.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_pixel_format.h // File: crn_pixel_format.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_dxt.h" #include "crn_dxt.h"
#include "../inc/crnlib.h" #include "../inc/crnlib.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_platform.cpp // File: crn_platform.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#if CRNLIB_USE_WIN32_API #if CRNLIB_USE_WIN32_API
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_platform.h // File: crn_platform.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
bool crnlib_is_debugger_present(void); bool crnlib_is_debugger_present(void);
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_prefix_coding.cpp // File: crn_prefix_coding.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_prefix_coding.h" #include "crn_prefix_coding.h"
//#include "rand.h" //#include "rand.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_prefix_coding.h // File: crn_prefix_coding.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_qdxt.cpp // File: crn_qdxt.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_qdxt1.h" #include "crn_qdxt1.h"
#include "crn_dxt1.h" #include "crn_dxt1.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_qdxt1.h // File: crn_qdxt1.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_dxt.h" #include "crn_dxt.h"
#include "crn_hash_map.h" #include "crn_hash_map.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_qdxt5.cpp // File: crn_qdxt5.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_qdxt5.h" #include "crn_qdxt5.h"
#include "crn_dxt5a.h" #include "crn_dxt5a.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_qdxt5.h // File: crn_qdxt5.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_hash_map.h" #include "crn_hash_map.h"
#include "crn_clusterizer.h" #include "crn_clusterizer.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_radix_sort.h // File: crn_radix_sort.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_rand.cpp // File: crn_rand.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
// See: // See:
// http://www.ciphersbyritter.com/NEWS4/RANDC.HTM // http://www.ciphersbyritter.com/NEWS4/RANDC.HTM
// http://burtleburtle.net/bob/rand/smallprng.html // http://burtleburtle.net/bob/rand/smallprng.html
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_rand.h // File: crn_rand.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_ray.h // File: crn_ray.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_vec.h" #include "crn_vec.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_rect.h // File: crn_rect.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_vec.h" #include "crn_vec.h"
#include "crn_hash.h" #include "crn_hash.h"
+1 -27
View File
@@ -1,5 +1,5 @@
// File: rg_etc1.h - Fast, high quality ETC1 block packer/unpacker - Rich Geldreich <richgel99@gmail.com> // File: rg_etc1.h - Fast, high quality ETC1 block packer/unpacker - Rich Geldreich <richgel99@gmail.com>
// Please see ZLIB license at the end of this file. // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib { namespace crnlib {
@@ -52,29 +52,3 @@ namespace rg_etc1
} // namespace crnlib } // namespace crnlib
//------------------------------------------------------------------------------
//
// rg_etc1 uses the ZLIB license:
// http://opensource.org/licenses/Zlib
//
// Copyright (c) 2012 Rich Geldreich
//
// 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.
//
//------------------------------------------------------------------------------
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_sparse_array.h // File: crn_sparse_array.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_sparse_bit_array.h // File: crn_sparse_bit_array.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_sparse_bit_array.h" #include "crn_sparse_bit_array.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_sparse_bit_array.h // File: crn_sparse_bit_array.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
namespace crnlib namespace crnlib
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_strutils.cpp // File: crn_strutils.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_strutils.h" #include "crn_strutils.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_strutils.h // File: crn_strutils.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#ifdef WIN32 #ifdef WIN32
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_symbol_codec.cpp // File: crn_symbol_codec.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_symbol_codec.h" #include "crn_symbol_codec.h"
#include "crn_huffman_codes.h" #include "crn_huffman_codes.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_symbol_codec.h // File: crn_symbol_codec.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_prefix_coding.h" #include "crn_prefix_coding.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_texture_comp.cpp // File: crn_texture_comp.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_texture_comp.h" #include "crn_texture_comp.h"
#include "crn_dds_comp.h" #include "crn_dds_comp.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_texture_comp.h // File: crn_texture_comp.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "../inc/crnlib.h" #include "../inc/crnlib.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_texture_conversion.cpp // File: crn_texture_conversion.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_texture_conversion.h" #include "crn_texture_conversion.h"
#include "crn_console.h" #include "crn_console.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_texture_conversion.h // File: crn_texture_conversion.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_dxt_image.h" #include "crn_dxt_image.h"
#include "crn_mipmapped_texture.h" #include "crn_mipmapped_texture.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_texture_file_types.cpp // File: crn_texture_file_types.cpp
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#include "crn_core.h" #include "crn_core.h"
#include "crn_texture_file_types.h" #include "crn_texture_file_types.h"
#include "crn_file_utils.h" #include "crn_file_utils.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_texture_file_types.h // File: crn_texture_file_types.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "../inc/crnlib.h" #include "../inc/crnlib.h"
#include "crn_vec.h" #include "crn_vec.h"
+1 -1
View File
@@ -1,5 +1,5 @@
// File: crn_threaded_clusterizer.h // File: crn_threaded_clusterizer.h
// See Copyright Notice and license at the end of inc/crnlib.h // This software is in the public domain. Please see license.txt.
#pragma once #pragma once
#include "crn_clusterizer.h" #include "crn_clusterizer.h"
#include "crn_threading.h" #include "crn_threading.h"

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