mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-05 23:07:42 -05:00
Deref Godot: thirdparty/
This commit is contained in:
12
thirdparty/enet/enet/enet.h
vendored
12
thirdparty/enet/enet/enet.h
vendored
@@ -13,7 +13,7 @@ extern "C"
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
// -- Godot start --
|
||||
// -- Redot start --
|
||||
#if 0
|
||||
#ifdef _WIN32
|
||||
#include "enet/win32.h"
|
||||
@@ -22,7 +22,7 @@ extern "C"
|
||||
#endif
|
||||
#endif
|
||||
#include "enet/godot.h"
|
||||
// -- Godot end --
|
||||
// -- Redot end --
|
||||
|
||||
#include "enet/types.h"
|
||||
#include "enet/protocol.h"
|
||||
@@ -93,7 +93,7 @@ typedef enum _ENetSocketShutdown
|
||||
* but not for enet_host_create. Once a server responds to a broadcast, the
|
||||
* address is updated from ENET_HOST_BROADCAST to the server's actual IP address.
|
||||
*/
|
||||
// -- Godot start --
|
||||
// -- Redot start --
|
||||
#if 0
|
||||
typedef struct _ENetAddress
|
||||
{
|
||||
@@ -101,7 +101,7 @@ typedef struct _ENetAddress
|
||||
enet_uint16 port;
|
||||
} ENetAddress;
|
||||
#endif
|
||||
// -- Godot end --
|
||||
// -- Redot end --
|
||||
|
||||
/**
|
||||
* Packet flag bit constants.
|
||||
@@ -618,9 +618,9 @@ ENET_API size_t enet_range_coder_decompress (void *, const enet_uint8 *, size_t,
|
||||
|
||||
extern size_t enet_protocol_command_size (enet_uint8);
|
||||
|
||||
// -- Godot start --
|
||||
// -- Redot start --
|
||||
#include "enet/godot_ext.h"
|
||||
// -- Godot end --
|
||||
// -- Redot end --
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
2
thirdparty/enet/enet/godot.h
vendored
2
thirdparty/enet/enet/godot.h
vendored
@@ -32,7 +32,7 @@
|
||||
|
||||
/**
|
||||
@file godot.h
|
||||
@brief ENet Godot header
|
||||
@brief ENet Redot header
|
||||
*/
|
||||
|
||||
#ifndef __ENET_GODOT_H__
|
||||
|
||||
2
thirdparty/enet/godot.cpp
vendored
2
thirdparty/enet/godot.cpp
vendored
@@ -32,7 +32,7 @@
|
||||
|
||||
/**
|
||||
@file godot.cpp
|
||||
@brief ENet Godot specific functions
|
||||
@brief ENet Redot specific functions
|
||||
*/
|
||||
|
||||
#include "core/io/dtls_server.h"
|
||||
|
||||
12
thirdparty/enet/patches/godot_socket.patch
vendored
12
thirdparty/enet/patches/godot_socket.patch
vendored
@@ -9,7 +9,7 @@ index 4a207041b3..5232f8a869 100644
|
||||
+#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
+// -- Godot start --
|
||||
+// -- Redot start --
|
||||
+#if 0
|
||||
#ifdef _WIN32
|
||||
#include "enet/win32.h"
|
||||
@@ -18,7 +18,7 @@ index 4a207041b3..5232f8a869 100644
|
||||
#endif
|
||||
+#endif
|
||||
+#include "enet/godot.h"
|
||||
+// -- Godot end --
|
||||
+// -- Redot end --
|
||||
|
||||
#include "enet/types.h"
|
||||
#include "enet/protocol.h"
|
||||
@@ -26,7 +26,7 @@ index 4a207041b3..5232f8a869 100644
|
||||
* but not for enet_host_create. Once a server responds to a broadcast, the
|
||||
* address is updated from ENET_HOST_BROADCAST to the server's actual IP address.
|
||||
*/
|
||||
+// -- Godot start --
|
||||
+// -- Redot start --
|
||||
+#if 0
|
||||
typedef struct _ENetAddress
|
||||
{
|
||||
@@ -34,7 +34,7 @@ index 4a207041b3..5232f8a869 100644
|
||||
enet_uint16 port;
|
||||
} ENetAddress;
|
||||
+#endif
|
||||
+// -- Godot end --
|
||||
+// -- Redot end --
|
||||
|
||||
/**
|
||||
* Packet flag bit constants.
|
||||
@@ -42,9 +42,9 @@ index 4a207041b3..5232f8a869 100644
|
||||
|
||||
extern size_t enet_protocol_command_size (enet_uint8);
|
||||
|
||||
+// -- Godot start --
|
||||
+// -- Redot start --
|
||||
+#include "enet/godot_ext.h"
|
||||
+// -- Godot end --
|
||||
+// -- Redot end --
|
||||
+
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -6,10 +6,10 @@ index 6d8202d277..8f9a3c8668 100644
|
||||
//------------------------------------------------------------------------------
|
||||
// Performs trellis-optimized quantization.
|
||||
|
||||
+// -- GODOT start --
|
||||
+// Prevents Visual Studio debugger from using this Node struct in place of the Godot Node class.
|
||||
+// -- REDOT start --
|
||||
+// Prevents Visual Studio debugger from using this Node struct in place of the Redot Node class.
|
||||
+#define Node Node_libwebp_quant
|
||||
+// -- GODOT end --
|
||||
+// -- REDOT end --
|
||||
+
|
||||
// Trellis node
|
||||
typedef struct {
|
||||
|
||||
6
thirdparty/libwebp/src/enc/quant_enc.c
vendored
6
thirdparty/libwebp/src/enc/quant_enc.c
vendored
@@ -556,10 +556,10 @@ static void AddScore(VP8ModeScore* WEBP_RESTRICT const dst,
|
||||
//------------------------------------------------------------------------------
|
||||
// Performs trellis-optimized quantization.
|
||||
|
||||
// -- GODOT start --
|
||||
// Prevents Visual Studio debugger from using this Node struct in place of the Godot Node class.
|
||||
// -- REDOT start --
|
||||
// Prevents Visual Studio debugger from using this Node struct in place of the Redot Node class.
|
||||
#define Node Node_libwebp_quant
|
||||
// -- GODOT end --
|
||||
// -- REDOT end --
|
||||
|
||||
// Trellis node
|
||||
typedef struct {
|
||||
|
||||
2
thirdparty/miniupnpc/src/miniupnpcstrings.h
vendored
2
thirdparty/miniupnpc/src/miniupnpcstrings.h
vendored
@@ -1,7 +1,7 @@
|
||||
#ifndef MINIUPNPCSTRINGS_H_INCLUDED
|
||||
#define MINIUPNPCSTRINGS_H_INCLUDED
|
||||
|
||||
#define OS_STRING "Godot Engine/1.0"
|
||||
#define OS_STRING "Redot Engine/1.0"
|
||||
#define MINIUPNPC_VERSION_STRING "2.2.8"
|
||||
|
||||
#if 0
|
||||
|
||||
2
thirdparty/misc/yuv2rgb.h
vendored
2
thirdparty/misc/yuv2rgb.h
vendored
@@ -26,7 +26,7 @@ ship it.
|
||||
|
||||
/*
|
||||
* Please note that this version has been modified for various reasons:
|
||||
* 1. Using the Godot core typedefs
|
||||
* 1. Using the Redot core typedefs
|
||||
* 2. At some point or another the code relied on the byte order of a uint32_t, this has been fixed
|
||||
* 3. Output has been reordered to struct { uint8_t r, g, b, a; } precisely in accordance with the function names
|
||||
* 4. Removing unused 'dither' parameter
|
||||
|
||||
2
thirdparty/wslay/config.h
vendored
2
thirdparty/wslay/config.h
vendored
@@ -1,7 +1,7 @@
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
/* This configuration file is custom written for Godot.
|
||||
/* This configuration file is custom written for Redot.
|
||||
* When updating the library, generate it with CMake upstream and compare
|
||||
* the contents to see if new options should be backported here.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user