mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[ue4] Prevent clang-format from reordering includes
.generated.h files must come last, but there's no way to specify this to clang-format.
This commit is contained in:
parent
509f3a9f60
commit
0dcdfd411d
@ -46,6 +46,7 @@ ObjCSpaceAfterProperty: false
|
|||||||
ObjCSpaceBeforeProtocolList: true
|
ObjCSpaceBeforeProtocolList: true
|
||||||
PointerAlignment: Right
|
PointerAlignment: Right
|
||||||
ReflowComments: false
|
ReflowComments: false
|
||||||
|
SortIncludes: false
|
||||||
SpaceAfterCStyleCast: true
|
SpaceAfterCStyleCast: true
|
||||||
SpaceAfterLogicalNot: false
|
SpaceAfterLogicalNot: false
|
||||||
SpaceAfterTemplateKeyword: false
|
SpaceAfterTemplateKeyword: false
|
||||||
|
|||||||
@ -46,6 +46,7 @@ ObjCSpaceAfterProperty: false
|
|||||||
ObjCSpaceBeforeProtocolList: true
|
ObjCSpaceBeforeProtocolList: true
|
||||||
PointerAlignment: Right
|
PointerAlignment: Right
|
||||||
ReflowComments: false
|
ReflowComments: false
|
||||||
|
SortIncludes: false
|
||||||
SpaceAfterCStyleCast: true
|
SpaceAfterCStyleCast: true
|
||||||
SpaceAfterLogicalNot: false
|
SpaceAfterLogicalNot: false
|
||||||
SpaceAfterTemplateKeyword: false
|
SpaceAfterTemplateKeyword: false
|
||||||
|
|||||||
@ -29,9 +29,11 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
#include "SpineAtlasAsset.h"
|
#include "SpineAtlasAsset.h"
|
||||||
#include "UnrealEd.h"
|
#include "UnrealEd.h"
|
||||||
#include "SpineAtlasImportFactory.generated.h"
|
#include "SpineAtlasImportFactory.generated.h"
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
UCLASS()
|
UCLASS()
|
||||||
class USpineAtlasAssetFactory : public UFactory, public FReimportHandler {
|
class USpineAtlasAssetFactory : public UFactory, public FReimportHandler {
|
||||||
|
|||||||
@ -29,9 +29,11 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
#include "SpineAtlasAsset.h"
|
#include "SpineAtlasAsset.h"
|
||||||
#include "UnrealEd.h"
|
#include "UnrealEd.h"
|
||||||
#include "SpineSkeletonImportFactory.generated.h"
|
#include "SpineSkeletonImportFactory.generated.h"
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
UCLASS()
|
UCLASS()
|
||||||
class USpineSkeletonAssetFactory : public UFactory, public FReimportHandler {
|
class USpineSkeletonAssetFactory : public UFactory, public FReimportHandler {
|
||||||
|
|||||||
@ -29,9 +29,11 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
#include "Engine.h"
|
#include "Engine.h"
|
||||||
#include "spine/spine.h"
|
#include "spine/spine.h"
|
||||||
#include "SpineAtlasAsset.generated.h"
|
#include "SpineAtlasAsset.generated.h"
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
UCLASS(BlueprintType, ClassGroup = (Spine))
|
UCLASS(BlueprintType, ClassGroup = (Spine))
|
||||||
class SPINEPLUGIN_API USpineAtlasAsset : public UObject {
|
class SPINEPLUGIN_API USpineAtlasAsset : public UObject {
|
||||||
|
|||||||
@ -29,10 +29,12 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
#include "Components/ActorComponent.h"
|
#include "Components/ActorComponent.h"
|
||||||
#include "SpineSkeletonComponent.h"
|
#include "SpineSkeletonComponent.h"
|
||||||
#include "spine/spine.h"
|
#include "spine/spine.h"
|
||||||
#include "SpineSkeletonAnimationComponent.generated.h"
|
#include "SpineSkeletonAnimationComponent.generated.h"
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
USTRUCT(BlueprintType, Category = "Spine")
|
USTRUCT(BlueprintType, Category = "Spine")
|
||||||
struct SPINEPLUGIN_API FSpineEvent {
|
struct SPINEPLUGIN_API FSpineEvent {
|
||||||
|
|||||||
@ -29,10 +29,12 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
#include "Components/ActorComponent.h"
|
#include "Components/ActorComponent.h"
|
||||||
#include "SpineSkeletonDataAsset.h"
|
#include "SpineSkeletonDataAsset.h"
|
||||||
#include "spine/spine.h"
|
#include "spine/spine.h"
|
||||||
#include "SpineSkeletonComponent.generated.h"
|
#include "SpineSkeletonComponent.generated.h"
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
class USpineSkeletonComponent;
|
class USpineSkeletonComponent;
|
||||||
|
|
||||||
|
|||||||
@ -29,9 +29,11 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
#include "Engine.h"
|
#include "Engine.h"
|
||||||
#include "spine/spine.h"
|
#include "spine/spine.h"
|
||||||
#include "SpineSkeletonDataAsset.generated.h"
|
#include "SpineSkeletonDataAsset.generated.h"
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
USTRUCT(BlueprintType, Category = "Spine")
|
USTRUCT(BlueprintType, Category = "Spine")
|
||||||
struct SPINEPLUGIN_API FSpineAnimationStateMixData {
|
struct SPINEPLUGIN_API FSpineAnimationStateMixData {
|
||||||
|
|||||||
@ -29,11 +29,13 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
#include "Runtime/UMG/Public/UMG.h"
|
#include "Runtime/UMG/Public/UMG.h"
|
||||||
#include "Runtime/UMG/Public/UMGStyle.h"
|
#include "Runtime/UMG/Public/UMGStyle.h"
|
||||||
#include "SpineSkeletonDataAsset.h"
|
#include "SpineSkeletonDataAsset.h"
|
||||||
#include "spine/spine.h"
|
#include "spine/spine.h"
|
||||||
#include "SpineWidget.generated.h"
|
#include "SpineWidget.generated.h"
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
class SSpineWidget;
|
class SSpineWidget;
|
||||||
|
|
||||||
|
|||||||
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
#include "Components/SceneComponent.h"
|
#include "Components/SceneComponent.h"
|
||||||
#include "CoreMinimal.h"
|
#include "CoreMinimal.h"
|
||||||
#include "SpineSkeletonRendererComponent.h"
|
|
||||||
#include "MySceneComponent.generated.h"
|
#include "MySceneComponent.generated.h"
|
||||||
|
#include "SpineSkeletonRendererComponent.h"
|
||||||
|
|
||||||
|
|
||||||
UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
|
UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user