Reorganized core/ directory, it was too fatty already

-Removed FuncRef, since Callable makes it obsolete
-Removed int_types.h as its obsolete in c++11+
-Changed color names code
This commit is contained in:
reduz
2020-11-07 19:33:38 -03:00
parent 30b6db99a9
commit 127458ed17
811 changed files with 2232 additions and 2488 deletions

View File

@ -30,7 +30,7 @@
#include "editor_debugger_server_websocket.h"
#include "core/project_settings.h"
#include "core/config/project_settings.h"
#include "editor/editor_settings.h"
#include "modules/websocket/remote_debugger_peer_websocket.h"

View File

@ -31,8 +31,8 @@
#ifdef JAVASCRIPT_ENABLED
#include "emws_client.h"
#include "core/config/project_settings.h"
#include "core/io/ip.h"
#include "core/project_settings.h"
#include "emscripten.h"
extern "C" {

View File

@ -33,7 +33,7 @@
#ifdef JAVASCRIPT_ENABLED
#include "core/error_list.h"
#include "core/error/error_list.h"
#include "emws_peer.h"
#include "websocket_client.h"

View File

@ -33,9 +33,9 @@
#ifdef JAVASCRIPT_ENABLED
#include "core/error_list.h"
#include "core/error/error_list.h"
#include "core/io/packet_peer.h"
#include "core/ring_buffer.h"
#include "core/templates/ring_buffer.h"
#include "emscripten.h"
#include "packet_buffer.h"
#include "websocket_peer.h"

View File

@ -33,7 +33,7 @@
#ifdef JAVASCRIPT_ENABLED
#include "core/reference.h"
#include "core/object/reference.h"
#include "emws_peer.h"
#include "websocket_server.h"

View File

@ -32,7 +32,7 @@
#define PACKET_BUFFER_H
#include "core/os/copymem.h"
#include "core/ring_buffer.h"
#include "core/templates/ring_buffer.h"
template <class T>
class PacketBuffer {

View File

@ -29,8 +29,8 @@
/*************************************************************************/
#include "register_types.h"
#include "core/error_macros.h"
#include "core/project_settings.h"
#include "core/config/project_settings.h"
#include "core/error/error_macros.h"
#ifdef JAVASCRIPT_ENABLED
#include "emscripten.h"
#include "emws_client.h"

View File

@ -30,7 +30,7 @@
#include "remote_debugger_peer_websocket.h"
#include "core/project_settings.h"
#include "core/config/project_settings.h"
Error RemoteDebuggerPeerWebSocket::connect_to_host(const String &p_uri) {
Vector<String> protocols;

View File

@ -32,7 +32,7 @@
#define WEBSOCKET_CLIENT_H
#include "core/crypto/crypto.h"
#include "core/error_list.h"
#include "core/error/error_list.h"
#include "websocket_multiplayer_peer.h"
#include "websocket_peer.h"

View File

@ -31,9 +31,9 @@
#ifndef WEBSOCKET_MULTIPLAYER_PEER_H
#define WEBSOCKET_MULTIPLAYER_PEER_H
#include "core/error_list.h"
#include "core/error/error_list.h"
#include "core/io/networked_multiplayer_peer.h"
#include "core/list.h"
#include "core/templates/list.h"
#include "websocket_peer.h"
class WebSocketMultiplayerPeer : public NetworkedMultiplayerPeer {

View File

@ -31,7 +31,7 @@
#ifndef WEBSOCKETPEER_H
#define WEBSOCKETPEER_H
#include "core/error_list.h"
#include "core/error/error_list.h"
#include "core/io/packet_peer.h"
#include "websocket_macros.h"

View File

@ -32,7 +32,7 @@
#define WEBSOCKET_H
#include "core/crypto/crypto.h"
#include "core/reference.h"
#include "core/object/reference.h"
#include "websocket_multiplayer_peer.h"
#include "websocket_peer.h"

View File

@ -31,8 +31,8 @@
#ifndef JAVASCRIPT_ENABLED
#include "wsl_client.h"
#include "core/config/project_settings.h"
#include "core/io/ip.h"
#include "core/project_settings.h"
void WSLClient::_do_handshake() {
if (_requested < _request.size() - 1) {

View File

@ -33,7 +33,7 @@
#ifndef JAVASCRIPT_ENABLED
#include "core/error_list.h"
#include "core/error/error_list.h"
#include "core/io/stream_peer_ssl.h"
#include "core/io/stream_peer_tcp.h"
#include "websocket_client.h"

View File

@ -33,10 +33,10 @@
#ifndef JAVASCRIPT_ENABLED
#include "core/error_list.h"
#include "core/error/error_list.h"
#include "core/io/packet_peer.h"
#include "core/io/stream_peer_tcp.h"
#include "core/ring_buffer.h"
#include "core/templates/ring_buffer.h"
#include "packet_buffer.h"
#include "websocket_peer.h"
#include "wslay/wslay.h"

View File

@ -31,8 +31,8 @@
#ifndef JAVASCRIPT_ENABLED
#include "wsl_server.h"
#include "core/config/project_settings.h"
#include "core/os/os.h"
#include "core/project_settings.h"
WSLServer::PendingPeer::PendingPeer() {
use_ssl = false;