Merge pull request #25821 from akien-mga/sync-class-and-filenames

Ensure classes match their header filename
This commit is contained in:
Rémi Verschelde 2019-02-13 08:49:39 +01:00 committed by GitHub
commit 55ca2a7c88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
178 changed files with 495 additions and 1658 deletions

View file

@ -32,7 +32,7 @@
#include "core/math/face3.h"
#include "core/math/geometry.h"
#include "core/os/os.h"
#include "core/sort.h"
#include "core/sort_array.h"
#include "thirdparty/misc/triangulator.h"
void CSGBrush::clear() {

View file

@ -31,7 +31,6 @@
#ifndef CSG_H
#define CSG_H
#include "core/dvector.h"
#include "core/map.h"
#include "core/math/aabb.h"
#include "core/math/plane.h"
@ -39,6 +38,7 @@
#include "core/math/transform.h"
#include "core/math/vector3.h"
#include "core/oa_hash_map.h"
#include "core/pool_vector.h"
#include "scene/resources/material.h"
struct CSGBrush {

View file

@ -31,7 +31,7 @@
#include "arvr_interface_gdnative.h"
#include "main/input_default.h"
#include "servers/arvr/arvr_positional_tracker.h"
#include "servers/visual/visual_server_global.h"
#include "servers/visual/visual_server_globals.h"
ARVRInterfaceGDNative::ARVRInterfaceGDNative() {
// testing

View file

@ -34,7 +34,7 @@
#include "core/os/memory.h"
#include "core/color.h"
#include "core/dvector.h"
#include "core/pool_vector.h"
#include "core/variant.h"

View file

@ -31,7 +31,7 @@
#include "gdnative/pool_arrays.h"
#include "core/array.h"
#include "core/dvector.h"
#include "core/pool_vector.h"
#include "core/variant.h"
#include "core/color.h"

View file

@ -30,7 +30,7 @@
#include "gdnative/string.h"
#include "core/string_db.h"
#include "core/string_name.h"
#include "core/ustring.h"
#include "core/variant.h"

View file

@ -30,7 +30,7 @@
#include "gdnative/string_name.h"
#include "core/string_db.h"
#include "core/string_name.h"
#include "core/ustring.h"
#include <string.h>

View file

@ -39,7 +39,7 @@
#include "core/project_settings.h"
#include "scene/main/scene_tree.h"
#include "scene/resources/scene_format_text.h"
#include "scene/resources/resource_format_text.h"
#include <stdlib.h>

View file

@ -36,7 +36,7 @@
#include "core/reference.h"
#include "core/script_language.h"
#include "core/self_list.h"
#include "core/string_db.h"
#include "core/string_name.h"
#include "core/variant.h"
class GDScriptInstance;

View file

@ -32,7 +32,7 @@
#define GDSCRIPT_TOKENIZER_H
#include "core/pair.h"
#include "core/string_db.h"
#include "core/string_name.h"
#include "core/ustring.h"
#include "core/variant.h"
#include "core/vmap.h"

View file

@ -31,7 +31,7 @@
#include "mobile_vr_interface.h"
#include "core/os/input.h"
#include "core/os/os.h"
#include "servers/visual/visual_server_global.h"
#include "servers/visual/visual_server_globals.h"
StringName MobileVRInterface::get_name() const {
return "Native mobile";

View file

@ -33,7 +33,7 @@
#ifdef MONO_GLUE_ENABLED
#include "core/reference.h"
#include "core/string_db.h"
#include "core/string_name.h"
#include "../csharp_script.h"
#include "../mono_gd/gd_mono_internals.h"

View file

@ -32,8 +32,8 @@
#define GDMONOFIELD_H
#include "gd_mono.h"
#include "gd_mono_class_member.h"
#include "gd_mono_header.h"
#include "i_mono_class_member.h"
class GDMonoField : public IMonoClassMember {

View file

@ -32,8 +32,8 @@
#define GD_MONO_METHOD_H
#include "gd_mono.h"
#include "gd_mono_class_member.h"
#include "gd_mono_header.h"
#include "i_mono_class_member.h"
class GDMonoMethod : public IMonoClassMember {

View file

@ -32,8 +32,8 @@
#define GD_MONO_PROPERTY_H
#include "gd_mono.h"
#include "gd_mono_class_member.h"
#include "gd_mono_header.h"
#include "i_mono_class_member.h"
class GDMonoProperty : public IMonoClassMember {

View file

@ -1,5 +1,5 @@
/*************************************************************************/
/* gd_mono_class_member.h */
/* i_mono_class_member.h */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GD_MONO_CLASS_MEMBER_H
#define GD_MONO_CLASS_MEMBER_H
#ifndef I_MONO_CLASS_MEMBER_H
#define I_MONO_CLASS_MEMBER_H
#include "gd_mono_header.h"
@ -65,4 +65,4 @@ public:
virtual MonoObject *get_attribute(GDMonoClass *p_attr_class) = 0;
};
#endif // GD_MONO_CLASS_MEMBER_H
#endif // I_MONO_CLASS_MEMBER_H

View file

@ -32,7 +32,7 @@
#define RESOURCEIMPORTEROGGVORBIS_H
#include "audio_stream_ogg_vorbis.h"
#include "core/io/resource_import.h"
#include "core/io/resource_importer.h"
class ResourceImporterOGGVorbis : public ResourceImporter {
GDCLASS(ResourceImporterOGGVorbis, ResourceImporter)

View file

@ -33,7 +33,7 @@
#include "core/error_macros.h"
#include "upnp.h"
#include "upnpdevice.h"
#include "upnp_device.h"
void register_upnp_types() {

View file

@ -33,7 +33,7 @@
#include "core/reference.h"
#include "upnpdevice.h"
#include "upnp_device.h"
#include <miniupnpc/miniupnpc.h>

View file

@ -1,5 +1,5 @@
/*************************************************************************/
/* upnpdevice.cpp */
/* upnp_device.cpp */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@ -28,7 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "upnpdevice.h"
#include "upnp_device.h"
#include "upnp.h"

View file

@ -1,5 +1,5 @@
/*************************************************************************/
/* upnpdevice.h */
/* upnp_device.h */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GODOT_UPNPDEVICE_H
#define GODOT_UPNPDEVICE_H
#ifndef GODOT_UPNP_DEVICE_H
#define GODOT_UPNP_DEVICE_H
#include "core/reference.h"
@ -92,4 +92,4 @@ private:
VARIANT_ENUM_CAST(UPNPDevice::IGDStatus)
#endif // GODOT_UPNPDEVICE_H
#endif // GODOT_UPNP_DEVICE_H

View file

@ -32,7 +32,7 @@
#define WEBSOCKET_CLIENT_H
#include "core/error_list.h"
#include "websocket_multiplayer.h"
#include "websocket_multiplayer_peer.h"
#include "websocket_peer.h"
class WebSocketClient : public WebSocketMultiplayerPeer {

View file

@ -1,5 +1,5 @@
/*************************************************************************/
/* websocket_multiplayer.cpp */
/* websocket_multiplayer_peer.cpp */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@ -28,7 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "websocket_multiplayer.h"
#include "websocket_multiplayer_peer.h"
#include "core/os/os.h"
WebSocketMultiplayerPeer::WebSocketMultiplayerPeer() {

View file

@ -1,5 +1,5 @@
/*************************************************************************/
/* websocket_multiplayer.h */
/* websocket_multiplayer_peer.h */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */

View file

@ -32,7 +32,7 @@
#define WEBSOCKET_H
#include "core/reference.h"
#include "websocket_multiplayer.h"
#include "websocket_multiplayer_peer.h"
#include "websocket_peer.h"
class WebSocketServer : public WebSocketMultiplayerPeer {