Used the include guard script on core classes.

This commit is contained in:
Relintai 2022-03-17 21:58:11 +01:00
parent 95ce2f224f
commit 7d8a93324e
157 changed files with 628 additions and 314 deletions

View File

@ -1,3 +1,5 @@
#ifndef ARRAY_H
#define ARRAY_H
/*************************************************************************/ /*************************************************************************/
/* array.h */ /* array.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef ARRAY_H
#define ARRAY_H
#include "core/typedefs.h" #include "core/typedefs.h"

View File

@ -1,3 +1,5 @@
#ifndef CORE_BIND_H
#define CORE_BIND_H
/*************************************************************************/ /*************************************************************************/
/* core_bind.h */ /* core_bind.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CORE_BIND_H
#define CORE_BIND_H
#include "core/image.h" #include "core/image.h"
#include "core/io/compression.h" #include "core/io/compression.h"

View File

@ -1,3 +1,5 @@
#ifndef BITFIELD_DYNAMIC_H
#define BITFIELD_DYNAMIC_H
/*************************************************************************/ /*************************************************************************/
/* bitfield_dynamic.h */ /* bitfield_dynamic.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef BITFIELD_DYNAMIC_H
#define BITFIELD_DYNAMIC_H
#include "core/error_macros.h" #include "core/error_macros.h"

View File

@ -1,3 +1,5 @@
#ifndef CLASS_DB_H
#define CLASS_DB_H
/*************************************************************************/ /*************************************************************************/
/* class_db.h */ /* class_db.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CLASS_DB_H
#define CLASS_DB_H
#include "core/method_bind.h" #include "core/method_bind.h"
#include "core/object.h" #include "core/object.h"

View File

@ -1,3 +1,5 @@
#ifndef COLOR_H
#define COLOR_H
/*************************************************************************/ /*************************************************************************/
/* color.h */ /* color.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef COLOR_H
#define COLOR_H
#include "core/math/math_funcs.h" #include "core/math/math_funcs.h"
#include "core/ustring.h" #include "core/ustring.h"

View File

@ -1,3 +1,5 @@
#ifndef COMMAND_QUEUE_MT_H
#define COMMAND_QUEUE_MT_H
/*************************************************************************/ /*************************************************************************/
/* command_queue_mt.h */ /* command_queue_mt.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef COMMAND_QUEUE_MT_H
#define COMMAND_QUEUE_MT_H
#include "core/os/memory.h" #include "core/os/memory.h"
#include "core/os/mutex.h" #include "core/os/mutex.h"

View File

@ -1,3 +1,5 @@
#ifndef COMPRESSED_TRANSLATION_H
#define COMPRESSED_TRANSLATION_H
/*************************************************************************/ /*************************************************************************/
/* compressed_translation.h */ /* compressed_translation.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef COMPRESSED_TRANSLATION_H
#define COMPRESSED_TRANSLATION_H
#include "core/translation.h" #include "core/translation.h"

View File

@ -1,3 +1,5 @@
#ifndef CORE_STRING_NAMES_H
#define CORE_STRING_NAMES_H
/*************************************************************************/ /*************************************************************************/
/* core_string_names.h */ /* core_string_names.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CORE_STRING_NAMES_H
#define CORE_STRING_NAMES_H
#include "core/string_name.h" #include "core/string_name.h"

View File

@ -1,3 +1,5 @@
#ifndef COWDATA_H_
#define COWDATA_H_
/*************************************************************************/ /*************************************************************************/
/* cowdata.h */ /* cowdata.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef COWDATA_H_
#define COWDATA_H_
#include <string.h> #include <string.h>

View File

@ -1,3 +1,5 @@
#ifndef AES_CONTEXT_H
#define AES_CONTEXT_H
/*************************************************************************/ /*************************************************************************/
/* aes_context.h */ /* aes_context.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef AES_CONTEXT_H
#define AES_CONTEXT_H
#include "core/crypto/crypto_core.h" #include "core/crypto/crypto_core.h"
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef CRYPTO_H
#define CRYPTO_H
/*************************************************************************/ /*************************************************************************/
/* crypto.h */ /* crypto.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CRYPTO_H
#define CRYPTO_H
#include "core/crypto/hashing_context.h" #include "core/crypto/hashing_context.h"
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef CRYPTO_CORE_H
#define CRYPTO_CORE_H
/*************************************************************************/ /*************************************************************************/
/* crypto_core.h */ /* crypto_core.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CRYPTO_CORE_H
#define CRYPTO_CORE_H
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef HASHING_CONTEXT_H
#define HASHING_CONTEXT_H
/*************************************************************************/ /*************************************************************************/
/* hashing_context.h */ /* hashing_context.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef HASHING_CONTEXT_H
#define HASHING_CONTEXT_H
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef DICTIONARY_H
#define DICTIONARY_H
/*************************************************************************/ /*************************************************************************/
/* dictionary.h */ /* dictionary.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef DICTIONARY_H
#define DICTIONARY_H
#include "core/array.h" #include "core/array.h"
#include "core/list.h" #include "core/list.h"

View File

@ -1,3 +1,5 @@
#ifndef ENGINE_H
#define ENGINE_H
/*************************************************************************/ /*************************************************************************/
/* engine.h */ /* engine.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef ENGINE_H
#define ENGINE_H
#include "core/list.h" #include "core/list.h"
#include "core/os/main_loop.h" #include "core/os/main_loop.h"

View File

@ -1,3 +1,5 @@
#ifndef ERROR_LIST_H
#define ERROR_LIST_H
/*************************************************************************/ /*************************************************************************/
/* error_list.h */ /* error_list.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef ERROR_LIST_H
#define ERROR_LIST_H
/** Error List. Please never compare an error against FAILED /** Error List. Please never compare an error against FAILED
* Either do result != OK , or !result. This way, Error fail * Either do result != OK , or !result. This way, Error fail

View File

@ -1,3 +1,5 @@
#ifndef ERROR_MACROS_H
#define ERROR_MACROS_H
/*************************************************************************/ /*************************************************************************/
/* error_macros.h */ /* error_macros.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef ERROR_MACROS_H
#define ERROR_MACROS_H
#include "core/safe_refcount.h" #include "core/safe_refcount.h"
#include "core/typedefs.h" #include "core/typedefs.h"

View File

@ -1,3 +1,5 @@
#ifndef FUNC_REF_H
#define FUNC_REF_H
/*************************************************************************/ /*************************************************************************/
/* func_ref.h */ /* func_ref.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef FUNC_REF_H
#define FUNC_REF_H
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef GLOBAL_CONSTANTS_H
#define GLOBAL_CONSTANTS_H
/*************************************************************************/ /*************************************************************************/
/* global_constants.h */ /* global_constants.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef GLOBAL_CONSTANTS_H
#define GLOBAL_CONSTANTS_H
#include "core/string_name.h" #include "core/string_name.h"

View File

@ -1,3 +1,5 @@
#ifndef HASH_MAP_H
#define HASH_MAP_H
/*************************************************************************/ /*************************************************************************/
/* hash_map.h */ /* hash_map.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef HASH_MAP_H
#define HASH_MAP_H
#include "core/error_macros.h" #include "core/error_macros.h"
#include "core/hashfuncs.h" #include "core/hashfuncs.h"

View File

@ -1,3 +1,5 @@
#ifndef HASHFUNCS_H
#define HASHFUNCS_H
/*************************************************************************/ /*************************************************************************/
/* hashfuncs.h */ /* hashfuncs.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef HASHFUNCS_H
#define HASHFUNCS_H
#include "core/math/math_defs.h" #include "core/math/math_defs.h"
#include "core/math/math_funcs.h" #include "core/math/math_funcs.h"

View File

@ -1,3 +1,5 @@
#ifndef IMAGE_H
#define IMAGE_H
/*************************************************************************/ /*************************************************************************/
/* image.h */ /* image.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef IMAGE_H
#define IMAGE_H
#include "core/color.h" #include "core/color.h"
#include "core/math/rect2.h" #include "core/math/rect2.h"

View File

@ -1,3 +1,5 @@
#ifndef INPUT_MAP_H
#define INPUT_MAP_H
/*************************************************************************/ /*************************************************************************/
/* input_map.h */ /* input_map.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef INPUT_MAP_H
#define INPUT_MAP_H
#include "core/object.h" #include "core/object.h"
#include "core/os/input_event.h" #include "core/os/input_event.h"

View File

@ -1,3 +1,5 @@
#ifndef COMPRESSION_H
#define COMPRESSION_H
/*************************************************************************/ /*************************************************************************/
/* compression.h */ /* compression.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef COMPRESSION_H
#define COMPRESSION_H
#include "core/pool_vector.h" #include "core/pool_vector.h"
#include "core/typedefs.h" #include "core/typedefs.h"

View File

@ -1,3 +1,5 @@
#ifndef CONFIG_FILE_H
#define CONFIG_FILE_H
/*************************************************************************/ /*************************************************************************/
/* config_file.h */ /* config_file.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CONFIG_FILE_H
#define CONFIG_FILE_H
#include "core/ordered_hash_map.h" #include "core/ordered_hash_map.h"
#include "core/os/file_access.h" #include "core/os/file_access.h"

View File

@ -1,3 +1,5 @@
#ifndef DTLS_SERVER_H
#define DTLS_SERVER_H
/*************************************************************************/ /*************************************************************************/
/* dtls_server.h */ /* dtls_server.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef DTLS_SERVER_H
#define DTLS_SERVER_H
#include "core/io/net_socket.h" #include "core/io/net_socket.h"
#include "core/io/packet_peer_dtls.h" #include "core/io/packet_peer_dtls.h"

View File

@ -1,3 +1,5 @@
#ifndef FILE_ACCESS_COMPRESSED_H
#define FILE_ACCESS_COMPRESSED_H
/*************************************************************************/ /*************************************************************************/
/* file_access_compressed.h */ /* file_access_compressed.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef FILE_ACCESS_COMPRESSED_H
#define FILE_ACCESS_COMPRESSED_H
#include "core/io/compression.h" #include "core/io/compression.h"
#include "core/os/file_access.h" #include "core/os/file_access.h"

View File

@ -1,3 +1,5 @@
#ifndef FILE_ACCESS_ENCRYPTED_H
#define FILE_ACCESS_ENCRYPTED_H
/*************************************************************************/ /*************************************************************************/
/* file_access_encrypted.h */ /* file_access_encrypted.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef FILE_ACCESS_ENCRYPTED_H
#define FILE_ACCESS_ENCRYPTED_H
#include "core/os/file_access.h" #include "core/os/file_access.h"

View File

@ -1,3 +1,5 @@
#ifndef FILE_ACCESS_MEMORY_H
#define FILE_ACCESS_MEMORY_H
/*************************************************************************/ /*************************************************************************/
/* file_access_memory.h */ /* file_access_memory.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef FILE_ACCESS_MEMORY_H
#define FILE_ACCESS_MEMORY_H
#include "core/os/file_access.h" #include "core/os/file_access.h"

View File

@ -1,3 +1,5 @@
#ifndef FILE_ACCESS_NETWORK_H
#define FILE_ACCESS_NETWORK_H
/*************************************************************************/ /*************************************************************************/
/* file_access_network.h */ /* file_access_network.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef FILE_ACCESS_NETWORK_H
#define FILE_ACCESS_NETWORK_H
#include "core/io/stream_peer_tcp.h" #include "core/io/stream_peer_tcp.h"
#include "core/os/file_access.h" #include "core/os/file_access.h"

View File

@ -1,3 +1,5 @@
#ifndef FILE_ACCESS_PACK_H
#define FILE_ACCESS_PACK_H
/*************************************************************************/ /*************************************************************************/
/* file_access_pack.h */ /* file_access_pack.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef FILE_ACCESS_PACK_H
#define FILE_ACCESS_PACK_H
#include "core/list.h" #include "core/list.h"
#include "core/map.h" #include "core/map.h"

View File

@ -1,3 +1,5 @@
#ifndef FILE_ACCESS_ZIP_H
#define FILE_ACCESS_ZIP_H
/*************************************************************************/ /*************************************************************************/
/* file_access_zip.h */ /* file_access_zip.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef FILE_ACCESS_ZIP_H
#define FILE_ACCESS_ZIP_H
#ifdef MINIZIP_ENABLED #ifdef MINIZIP_ENABLED

View File

@ -1,3 +1,5 @@
#ifndef HTTP_CLIENT_H
#define HTTP_CLIENT_H
/*************************************************************************/ /*************************************************************************/
/* http_client.h */ /* http_client.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef HTTP_CLIENT_H
#define HTTP_CLIENT_H
#include "core/io/ip.h" #include "core/io/ip.h"
#include "core/io/stream_peer.h" #include "core/io/stream_peer.h"

View File

@ -1,3 +1,5 @@
#ifndef IMAGE_LOADER_H
#define IMAGE_LOADER_H
/*************************************************************************/ /*************************************************************************/
/* image_loader.h */ /* image_loader.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef IMAGE_LOADER_H
#define IMAGE_LOADER_H
#include "core/image.h" #include "core/image.h"
#include "core/io/resource_loader.h" #include "core/io/resource_loader.h"

View File

@ -1,3 +1,5 @@
#ifndef IP_H
#define IP_H
/*************************************************************************/ /*************************************************************************/
/* ip.h */ /* ip.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef IP_H
#define IP_H
#include "core/io/ip_address.h" #include "core/io/ip_address.h"
#include "core/os/os.h" #include "core/os/os.h"

View File

@ -1,3 +1,5 @@
#ifndef IP_ADDRESS_H
#define IP_ADDRESS_H
/*************************************************************************/ /*************************************************************************/
/* ip_address.h */ /* ip_address.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef IP_ADDRESS_H
#define IP_ADDRESS_H
#include "core/ustring.h" #include "core/ustring.h"

View File

@ -1,3 +1,5 @@
#ifndef JSON_H
#define JSON_H
/*************************************************************************/ /*************************************************************************/
/* json.h */ /* json.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JSON_H
#define JSON_H
#include "core/variant.h" #include "core/variant.h"

View File

@ -1,3 +1,5 @@
#ifndef LOGGER_H
#define LOGGER_H
/*************************************************************************/ /*************************************************************************/
/* logger.h */ /* logger.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef LOGGER_H
#define LOGGER_H
#include "core/os/file_access.h" #include "core/os/file_access.h"
#include "core/ustring.h" #include "core/ustring.h"

View File

@ -1,3 +1,5 @@
#ifndef MARSHALLS_H
#define MARSHALLS_H
/*************************************************************************/ /*************************************************************************/
/* marshalls.h */ /* marshalls.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef MARSHALLS_H
#define MARSHALLS_H
#include "core/reference.h" #include "core/reference.h"
#include "core/typedefs.h" #include "core/typedefs.h"

View File

@ -1,3 +1,5 @@
#ifndef MULTIPLAYER_PROTOCOL_H
#define MULTIPLAYER_PROTOCOL_H
/*************************************************************************/ /*************************************************************************/
/* multiplayer_api.h */ /* multiplayer_api.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef MULTIPLAYER_PROTOCOL_H
#define MULTIPLAYER_PROTOCOL_H
#include "core/io/networked_multiplayer_peer.h" #include "core/io/networked_multiplayer_peer.h"
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef NET_SOCKET_H
#define NET_SOCKET_H
/*************************************************************************/ /*************************************************************************/
/* net_socket.h */ /* net_socket.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef NET_SOCKET_H
#define NET_SOCKET_H
#include "core/io/ip.h" #include "core/io/ip.h"
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef NETWORKED_MULTIPLAYER_PEER_H
#define NETWORKED_MULTIPLAYER_PEER_H
/*************************************************************************/ /*************************************************************************/
/* networked_multiplayer_peer.h */ /* networked_multiplayer_peer.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef NETWORKED_MULTIPLAYER_PEER_H
#define NETWORKED_MULTIPLAYER_PEER_H
#include "core/io/packet_peer.h" #include "core/io/packet_peer.h"

View File

@ -1,3 +1,5 @@
#ifndef PACKET_PEER_H
#define PACKET_PEER_H
/*************************************************************************/ /*************************************************************************/
/* packet_peer.h */ /* packet_peer.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef PACKET_PEER_H
#define PACKET_PEER_H
#include "core/io/stream_peer.h" #include "core/io/stream_peer.h"
#include "core/object.h" #include "core/object.h"

View File

@ -1,3 +1,5 @@
#ifndef PACKET_PEER_DTLS_H
#define PACKET_PEER_DTLS_H
/*************************************************************************/ /*************************************************************************/
/* packet_peer_dtls.h */ /* packet_peer_dtls.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef PACKET_PEER_DTLS_H
#define PACKET_PEER_DTLS_H
#include "core/crypto/crypto.h" #include "core/crypto/crypto.h"
#include "core/io/packet_peer_udp.h" #include "core/io/packet_peer_udp.h"

View File

@ -1,3 +1,5 @@
#ifndef PACKET_PEER_UDP_H
#define PACKET_PEER_UDP_H
/*************************************************************************/ /*************************************************************************/
/* packet_peer_udp.h */ /* packet_peer_udp.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef PACKET_PEER_UDP_H
#define PACKET_PEER_UDP_H
#include "core/io/ip.h" #include "core/io/ip.h"
#include "core/io/net_socket.h" #include "core/io/net_socket.h"

View File

@ -1,3 +1,5 @@
#ifndef PCK_PACKER_H
#define PCK_PACKER_H
/*************************************************************************/ /*************************************************************************/
/* pck_packer.h */ /* pck_packer.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef PCK_PACKER_H
#define PCK_PACKER_H
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef RESOURCE_FORMAT_BINARY_H
#define RESOURCE_FORMAT_BINARY_H
/*************************************************************************/ /*************************************************************************/
/* resource_format_binary.h */ /* resource_format_binary.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef RESOURCE_FORMAT_BINARY_H
#define RESOURCE_FORMAT_BINARY_H
#include "core/io/resource_loader.h" #include "core/io/resource_loader.h"
#include "core/io/resource_saver.h" #include "core/io/resource_saver.h"

View File

@ -1,3 +1,5 @@
#ifndef RESOURCE_IMPORTER_H
#define RESOURCE_IMPORTER_H
/*************************************************************************/ /*************************************************************************/
/* resource_importer.h */ /* resource_importer.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef RESOURCE_IMPORTER_H
#define RESOURCE_IMPORTER_H
#include "core/io/resource_loader.h" #include "core/io/resource_loader.h"

View File

@ -1,3 +1,5 @@
#ifndef RESOURCE_LOADER_H
#define RESOURCE_LOADER_H
/*************************************************************************/ /*************************************************************************/
/* resource_loader.h */ /* resource_loader.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef RESOURCE_LOADER_H
#define RESOURCE_LOADER_H
#include "core/os/thread.h" #include "core/os/thread.h"
#include "core/resource.h" #include "core/resource.h"

View File

@ -1,3 +1,5 @@
#ifndef RESOURCE_SAVER_H
#define RESOURCE_SAVER_H
/*************************************************************************/ /*************************************************************************/
/* resource_saver.h */ /* resource_saver.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef RESOURCE_SAVER_H
#define RESOURCE_SAVER_H
#include "core/resource.h" #include "core/resource.h"

View File

@ -1,3 +1,5 @@
#ifndef STREAM_PEER_H
#define STREAM_PEER_H
/*************************************************************************/ /*************************************************************************/
/* stream_peer.h */ /* stream_peer.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef STREAM_PEER_H
#define STREAM_PEER_H
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef STREAM_PEER_SSL_H
#define STREAM_PEER_SSL_H
/*************************************************************************/ /*************************************************************************/
/* stream_peer_ssl.h */ /* stream_peer_ssl.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef STREAM_PEER_SSL_H
#define STREAM_PEER_SSL_H
#include "core/crypto/crypto.h" #include "core/crypto/crypto.h"
#include "core/io/stream_peer.h" #include "core/io/stream_peer.h"

View File

@ -1,3 +1,5 @@
#ifndef STREAM_PEER_TCP_H
#define STREAM_PEER_TCP_H
/*************************************************************************/ /*************************************************************************/
/* stream_peer_tcp.h */ /* stream_peer_tcp.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef STREAM_PEER_TCP_H
#define STREAM_PEER_TCP_H
#include "core/io/ip.h" #include "core/io/ip.h"
#include "core/io/ip_address.h" #include "core/io/ip_address.h"

View File

@ -1,3 +1,5 @@
#ifndef TCP_SERVER_H
#define TCP_SERVER_H
/*************************************************************************/ /*************************************************************************/
/* tcp_server.h */ /* tcp_server.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef TCP_SERVER_H
#define TCP_SERVER_H
#include "core/io/ip.h" #include "core/io/ip.h"
#include "core/io/net_socket.h" #include "core/io/net_socket.h"

View File

@ -1,3 +1,5 @@
#ifndef TRANSLATION_LOADER_PO_H
#define TRANSLATION_LOADER_PO_H
/*************************************************************************/ /*************************************************************************/
/* translation_loader_po.h */ /* translation_loader_po.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef TRANSLATION_LOADER_PO_H
#define TRANSLATION_LOADER_PO_H
#include "core/io/resource_loader.h" #include "core/io/resource_loader.h"
#include "core/os/file_access.h" #include "core/os/file_access.h"

View File

@ -1,3 +1,5 @@
#ifndef UDP_SERVER_H
#define UDP_SERVER_H
/*************************************************************************/ /*************************************************************************/
/* udp_server.h */ /* udp_server.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef UDP_SERVER_H
#define UDP_SERVER_H
#include "core/io/net_socket.h" #include "core/io/net_socket.h"
#include "core/io/packet_peer_udp.h" #include "core/io/packet_peer_udp.h"

View File

@ -1,3 +1,5 @@
#ifndef XML_PARSER_H
#define XML_PARSER_H
/*************************************************************************/ /*************************************************************************/
/* xml_parser.h */ /* xml_parser.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef XML_PARSER_H
#define XML_PARSER_H
#include "core/os/file_access.h" #include "core/os/file_access.h"
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef ZIP_IO_H
#define ZIP_IO_H
/*************************************************************************/ /*************************************************************************/
/* zip_io.h */ /* zip_io.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef ZIP_IO_H
#define ZIP_IO_H
#include "core/os/file_access.h" #include "core/os/file_access.h"

View File

@ -1,3 +1,5 @@
#ifndef GLOBALS_LIST_H
#define GLOBALS_LIST_H
/*************************************************************************/ /*************************************************************************/
/* list.h */ /* list.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef GLOBALS_LIST_H
#define GLOBALS_LIST_H
#include "core/error_macros.h" #include "core/error_macros.h"
#include "core/os/memory.h" #include "core/os/memory.h"

View File

@ -1,3 +1,5 @@
#ifndef LOCAL_VECTOR_H
#define LOCAL_VECTOR_H
/*************************************************************************/ /*************************************************************************/
/* local_vector.h */ /* local_vector.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef LOCAL_VECTOR_H
#define LOCAL_VECTOR_H
#include "core/error_macros.h" #include "core/error_macros.h"
#include "core/os/memory.h" #include "core/os/memory.h"

View File

@ -1,3 +1,5 @@
#ifndef MAP_H
#define MAP_H
/*************************************************************************/ /*************************************************************************/
/* map.h */ /* map.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef MAP_H
#define MAP_H
#include "core/error_macros.h" #include "core/error_macros.h"
#include "core/os/memory.h" #include "core/os/memory.h"

View File

@ -1,3 +1,5 @@
#ifndef ASTAR_H
#define ASTAR_H
/*************************************************************************/ /*************************************************************************/
/* a_star.h */ /* a_star.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef ASTAR_H
#define ASTAR_H
#include "core/oa_hash_map.h" #include "core/oa_hash_map.h"
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef AABB_H
#define AABB_H
/*************************************************************************/ /*************************************************************************/
/* aabb.h */ /* aabb.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef AABB_H
#define AABB_H
#include "core/math/math_defs.h" #include "core/math/math_defs.h"
#include "core/math/plane.h" #include "core/math/plane.h"

View File

@ -1,3 +1,5 @@
#ifndef AUDIOFRAME_H
#define AUDIOFRAME_H
/*************************************************************************/ /*************************************************************************/
/* audio_frame.h */ /* audio_frame.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef AUDIOFRAME_H
#define AUDIOFRAME_H
#include "core/math/vector2.h" #include "core/math/vector2.h"
#include "core/typedefs.h" #include "core/typedefs.h"

View File

@ -1,3 +1,5 @@
#ifndef BASIS_H
#define BASIS_H
/*************************************************************************/ /*************************************************************************/
/* basis.h */ /* basis.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef BASIS_H
#define BASIS_H
#include "core/math/quat.h" #include "core/math/quat.h"
#include "core/math/vector3.h" #include "core/math/vector3.h"

View File

@ -1,3 +1,5 @@
#ifndef BSP_TREE_H
#define BSP_TREE_H
/*************************************************************************/ /*************************************************************************/
/* bsp_tree.h */ /* bsp_tree.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef BSP_TREE_H
#define BSP_TREE_H
#include "core/math/aabb.h" #include "core/math/aabb.h"
#include "core/math/face3.h" #include "core/math/face3.h"

View File

@ -1,3 +1,5 @@
#ifndef BVH_H
#define BVH_H
/*************************************************************************/ /*************************************************************************/
/* bvh.h */ /* bvh.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef BVH_H
#define BVH_H
// BVH // BVH
// This class provides a wrapper around BVH tree, which contains most of the functionality // This class provides a wrapper around BVH tree, which contains most of the functionality

View File

@ -1,3 +1,5 @@
#ifndef BVH_ABB_H
#define BVH_ABB_H
/*************************************************************************/ /*************************************************************************/
/* bvh_abb.h */ /* bvh_abb.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef BVH_ABB_H
#define BVH_ABB_H
// special optimized version of axis aligned bounding box // special optimized version of axis aligned bounding box
template <class BOUNDS = AABB, class POINT = Vector3> template <class BOUNDS = AABB, class POINT = Vector3>

View File

@ -1,3 +1,5 @@
#ifndef BVH_TREE_H
#define BVH_TREE_H
/*************************************************************************/ /*************************************************************************/
/* bvh_tree.h */ /* bvh_tree.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef BVH_TREE_H
#define BVH_TREE_H
// BVH Tree // BVH Tree
// This is an implementation of a dynamic BVH with templated leaf size. // This is an implementation of a dynamic BVH with templated leaf size.

View File

@ -1,3 +1,5 @@
#ifndef CAMERA_MATRIX_H
#define CAMERA_MATRIX_H
/*************************************************************************/ /*************************************************************************/
/* camera_matrix.h */ /* camera_matrix.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CAMERA_MATRIX_H
#define CAMERA_MATRIX_H
#include "core/math/rect2.h" #include "core/math/rect2.h"
#include "core/math/transform.h" #include "core/math/transform.h"

View File

@ -1,3 +1,5 @@
#ifndef CONVEX_HULL_H
#define CONVEX_HULL_H
/*************************************************************************/ /*************************************************************************/
/* convex_hull.h */ /* convex_hull.h */
/*************************************************************************/ /*************************************************************************/
@ -42,8 +44,8 @@ subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef CONVEX_HULL_H
#define CONVEX_HULL_H
#include "core/local_vector.h" #include "core/local_vector.h"
#include "core/math/geometry.h" #include "core/math/geometry.h"

View File

@ -1,3 +1,5 @@
#ifndef DELAUNAY_H
#define DELAUNAY_H
/*************************************************************************/ /*************************************************************************/
/* delaunay.h */ /* delaunay.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef DELAUNAY_H
#define DELAUNAY_H
#include "core/math/rect2.h" #include "core/math/rect2.h"

View File

@ -1,3 +1,5 @@
#ifndef DISJOINT_SET_H
#define DISJOINT_SET_H
/*************************************************************************/ /*************************************************************************/
/* disjoint_set.h */ /* disjoint_set.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef DISJOINT_SET_H
#define DISJOINT_SET_H
#include "core/map.h" #include "core/map.h"
#include "core/vector.h" #include "core/vector.h"

View File

@ -1,3 +1,5 @@
#ifndef EXPRESSION_H
#define EXPRESSION_H
/*************************************************************************/ /*************************************************************************/
/* expression.h */ /* expression.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef EXPRESSION_H
#define EXPRESSION_H
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef FACE3_H
#define FACE3_H
/*************************************************************************/ /*************************************************************************/
/* face3.h */ /* face3.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef FACE3_H
#define FACE3_H
#include "core/math/aabb.h" #include "core/math/aabb.h"
#include "core/math/plane.h" #include "core/math/plane.h"

View File

@ -1,3 +1,5 @@
#ifndef GEOMETRY_H
#define GEOMETRY_H
/*************************************************************************/ /*************************************************************************/
/* geometry.h */ /* geometry.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef GEOMETRY_H
#define GEOMETRY_H
#include "core/math/delaunay.h" #include "core/math/delaunay.h"
#include "core/math/face3.h" #include "core/math/face3.h"

View File

@ -1,3 +1,5 @@
#ifndef MATH_DEFS_H
#define MATH_DEFS_H
/*************************************************************************/ /*************************************************************************/
/* math_defs.h */ /* math_defs.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef MATH_DEFS_H
#define MATH_DEFS_H
#define CMP_EPSILON 0.00001 #define CMP_EPSILON 0.00001
#define CMP_EPSILON2 (CMP_EPSILON * CMP_EPSILON) #define CMP_EPSILON2 (CMP_EPSILON * CMP_EPSILON)

View File

@ -1,3 +1,5 @@
#ifndef MATH_FIELDWISE_H
#define MATH_FIELDWISE_H
/*************************************************************************/ /*************************************************************************/
/* math_fieldwise.h */ /* math_fieldwise.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef MATH_FIELDWISE_H
#define MATH_FIELDWISE_H
#ifdef TOOLS_ENABLED #ifdef TOOLS_ENABLED

View File

@ -1,3 +1,5 @@
#ifndef MATH_FUNCS_H
#define MATH_FUNCS_H
/*************************************************************************/ /*************************************************************************/
/* math_funcs.h */ /* math_funcs.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef MATH_FUNCS_H
#define MATH_FUNCS_H
#include "core/math/math_defs.h" #include "core/math/math_defs.h"
#include "core/math/random_pcg.h" #include "core/math/random_pcg.h"

View File

@ -1,3 +1,5 @@
#ifndef OCTREE_H
#define OCTREE_H
/*************************************************************************/ /*************************************************************************/
/* octree.h */ /* octree.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OCTREE_H
#define OCTREE_H
#define OCTREE_ELEMENT_INVALID_ID 0 #define OCTREE_ELEMENT_INVALID_ID 0
#define OCTREE_SIZE_LIMIT 1e15 #define OCTREE_SIZE_LIMIT 1e15

View File

@ -1,3 +1,5 @@
#ifndef PLANE_H
#define PLANE_H
/*************************************************************************/ /*************************************************************************/
/* plane.h */ /* plane.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef PLANE_H
#define PLANE_H
#include "core/math/vector3.h" #include "core/math/vector3.h"

View File

@ -1,3 +1,5 @@
#ifndef QUAT_H
#define QUAT_H
/*************************************************************************/ /*************************************************************************/
/* quat.h */ /* quat.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef QUAT_H
#define QUAT_H
#include "core/math/math_defs.h" #include "core/math/math_defs.h"
#include "core/math/math_funcs.h" #include "core/math/math_funcs.h"

View File

@ -1,3 +1,5 @@
#ifndef QUICK_HULL_H
#define QUICK_HULL_H
/*************************************************************************/ /*************************************************************************/
/* quick_hull.h */ /* quick_hull.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef QUICK_HULL_H
#define QUICK_HULL_H
#include "core/list.h" #include "core/list.h"
#include "core/math/aabb.h" #include "core/math/aabb.h"

View File

@ -1,3 +1,5 @@
#ifndef RANDOM_NUMBER_GENERATOR_H
#define RANDOM_NUMBER_GENERATOR_H
/*************************************************************************/ /*************************************************************************/
/* random_number_generator.h */ /* random_number_generator.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef RANDOM_NUMBER_GENERATOR_H
#define RANDOM_NUMBER_GENERATOR_H
#include "core/math/random_pcg.h" #include "core/math/random_pcg.h"
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef RANDOM_PCG_H
#define RANDOM_PCG_H
/*************************************************************************/ /*************************************************************************/
/* random_pcg.h */ /* random_pcg.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef RANDOM_PCG_H
#define RANDOM_PCG_H
#include <math.h> #include <math.h>

View File

@ -1,3 +1,5 @@
#ifndef RECT2_H
#define RECT2_H
/*************************************************************************/ /*************************************************************************/
/* rect2.h */ /* rect2.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef RECT2_H
#define RECT2_H
#include "core/math/vector2.h" // also includes math_funcs and ustring #include "core/math/vector2.h" // also includes math_funcs and ustring

View File

@ -1,3 +1,5 @@
#ifndef TRANSFORM_H
#define TRANSFORM_H
/*************************************************************************/ /*************************************************************************/
/* transform.h */ /* transform.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef TRANSFORM_H
#define TRANSFORM_H
#include "core/math/aabb.h" #include "core/math/aabb.h"
#include "core/math/basis.h" #include "core/math/basis.h"

View File

@ -1,3 +1,5 @@
#ifndef TRANSFORM_2D_H
#define TRANSFORM_2D_H
/*************************************************************************/ /*************************************************************************/
/* transform_2d.h */ /* transform_2d.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef TRANSFORM_2D_H
#define TRANSFORM_2D_H
#include "core/math/rect2.h" // also includes vector2, math_funcs, and ustring #include "core/math/rect2.h" // also includes vector2, math_funcs, and ustring
#include "core/pool_vector.h" #include "core/pool_vector.h"

View File

@ -1,3 +1,5 @@
#ifndef TRANSFORM_INTERPOLATOR_H
#define TRANSFORM_INTERPOLATOR_H
/*************************************************************************/ /*************************************************************************/
/* transform_interpolator.h */ /* transform_interpolator.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef TRANSFORM_INTERPOLATOR_H
#define TRANSFORM_INTERPOLATOR_H
#include "core/math/math_defs.h" #include "core/math/math_defs.h"
#include "core/math/quat.h" #include "core/math/quat.h"

View File

@ -1,3 +1,5 @@
#ifndef TRIANGLE_MESH_H
#define TRIANGLE_MESH_H
/*************************************************************************/ /*************************************************************************/
/* triangle_mesh.h */ /* triangle_mesh.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef TRIANGLE_MESH_H
#define TRIANGLE_MESH_H
#include "core/math/face3.h" #include "core/math/face3.h"
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef TRIANGULATE_H
#define TRIANGULATE_H
/*************************************************************************/ /*************************************************************************/
/* triangulate.h */ /* triangulate.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef TRIANGULATE_H
#define TRIANGULATE_H
#include "core/math/vector2.h" #include "core/math/vector2.h"

View File

@ -1,3 +1,5 @@
#ifndef VECTOR2_H
#define VECTOR2_H
/*************************************************************************/ /*************************************************************************/
/* vector2.h */ /* vector2.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef VECTOR2_H
#define VECTOR2_H
#include "core/math/math_funcs.h" #include "core/math/math_funcs.h"
#include "core/ustring.h" #include "core/ustring.h"

View File

@ -1,3 +1,5 @@
#ifndef VECTOR3_H
#define VECTOR3_H
/*************************************************************************/ /*************************************************************************/
/* vector3.h */ /* vector3.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef VECTOR3_H
#define VECTOR3_H
#include "core/math/math_funcs.h" #include "core/math/math_funcs.h"
#include "core/ustring.h" #include "core/ustring.h"

View File

@ -1,3 +1,5 @@
#ifndef MESSAGE_QUEUE_H
#define MESSAGE_QUEUE_H
/*************************************************************************/ /*************************************************************************/
/* message_queue.h */ /* message_queue.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef MESSAGE_QUEUE_H
#define MESSAGE_QUEUE_H
#include "core/object.h" #include "core/object.h"
#include "core/os/thread_safe.h" #include "core/os/thread_safe.h"

View File

@ -1,3 +1,5 @@
#ifndef METHOD_BIND_H
#define METHOD_BIND_H
/*************************************************************************/ /*************************************************************************/
/* method_bind.h */ /* method_bind.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef METHOD_BIND_H
#define METHOD_BIND_H
#include "core/list.h" #include "core/list.h"
#include "core/method_ptrcall.h" #include "core/method_ptrcall.h"

View File

@ -1,3 +1,5 @@
#ifndef METHOD_PTRCALL_H
#define METHOD_PTRCALL_H
/*************************************************************************/ /*************************************************************************/
/* method_ptrcall.h */ /* method_ptrcall.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef METHOD_PTRCALL_H
#define METHOD_PTRCALL_H
#include "core/math/transform_2d.h" #include "core/math/transform_2d.h"
#include "core/typedefs.h" #include "core/typedefs.h"

View File

@ -1,3 +1,5 @@
#ifndef NODE_PATH_H
#define NODE_PATH_H
/*************************************************************************/ /*************************************************************************/
/* node_path.h */ /* node_path.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef NODE_PATH_H
#define NODE_PATH_H
#include "core/string_name.h" #include "core/string_name.h"
#include "core/ustring.h" #include "core/ustring.h"

View File

@ -1,3 +1,5 @@
#ifndef OA_HASH_MAP_H
#define OA_HASH_MAP_H
/*************************************************************************/ /*************************************************************************/
/* oa_hash_map.h */ /* oa_hash_map.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OA_HASH_MAP_H
#define OA_HASH_MAP_H
#include "core/hashfuncs.h" #include "core/hashfuncs.h"
#include "core/math/math_funcs.h" #include "core/math/math_funcs.h"

View File

@ -1,3 +1,5 @@
#ifndef OBJECT_H
#define OBJECT_H
/*************************************************************************/ /*************************************************************************/
/* object.h */ /* object.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OBJECT_H
#define OBJECT_H
#include "core/hash_map.h" #include "core/hash_map.h"
#include "core/list.h" #include "core/list.h"

View File

@ -1,3 +1,5 @@
#ifndef OBJECTID_H
#define OBJECTID_H
/*************************************************************************/ /*************************************************************************/
/* object_id.h */ /* object_id.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OBJECTID_H
#define OBJECTID_H
#include "core/int_types.h" #include "core/int_types.h"

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