Cleanup: sort struct declarations
This commit is contained in:
@@ -30,15 +30,15 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
struct AnimData;
|
||||
struct BlendDataReader;
|
||||
struct BlendExpander;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct ID;
|
||||
struct LibraryForeachIDData;
|
||||
struct Main;
|
||||
struct ReportList;
|
||||
struct bAction;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendExpander;
|
||||
|
||||
/* ************************************* */
|
||||
/* AnimData API */
|
||||
|
@@ -30,6 +30,10 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
struct AnimData;
|
||||
struct BlendDataReader;
|
||||
struct BlendExpander;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct Depsgraph;
|
||||
struct FCurve;
|
||||
struct ID;
|
||||
@@ -46,10 +50,6 @@ struct Scene;
|
||||
struct bAction;
|
||||
struct bActionGroup;
|
||||
struct bContext;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendExpander;
|
||||
|
||||
/* Container for data required to do FCurve and Driver evaluation. */
|
||||
typedef struct AnimationEvalContext {
|
||||
|
@@ -26,6 +26,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendWriter;
|
||||
struct ColorManagedColorspaceSettings;
|
||||
struct ColorManagedDisplaySettings;
|
||||
struct ColorManagedViewSettings;
|
||||
@@ -36,8 +38,6 @@ struct Histogram;
|
||||
struct ImBuf;
|
||||
struct Scopes;
|
||||
struct rctf;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
|
||||
void BKE_curvemapping_set_defaults(
|
||||
struct CurveMapping *cumap, int tot, float minx, float miny, float maxx, float maxy);
|
||||
|
@@ -29,8 +29,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
struct BlendWriter;
|
||||
struct CurveProfile;
|
||||
struct CurveProfilePoint;
|
||||
|
||||
|
@@ -34,11 +34,11 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
struct BMesh;
|
||||
struct BlendDataReader;
|
||||
struct BlendWriter;
|
||||
struct CustomData;
|
||||
struct CustomData_MeshMasks;
|
||||
struct ID;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
typedef uint64_t CustomDataMask;
|
||||
|
||||
/*a data type large enough to hold 1 element from any customdata layer type*/
|
||||
|
@@ -28,6 +28,8 @@ extern "C" {
|
||||
* \brief support for deformation groups and hooks.
|
||||
*/
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendWriter;
|
||||
struct ListBase;
|
||||
struct MDeformVert;
|
||||
struct MEdge;
|
||||
@@ -35,8 +37,6 @@ struct MLoop;
|
||||
struct MPoly;
|
||||
struct Object;
|
||||
struct bDeformGroup;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
|
||||
struct bDeformGroup *BKE_object_defgroup_new(struct Object *ob, const char *name);
|
||||
void BKE_defgroup_copy_list(struct ListBase *outbase, const struct ListBase *inbase);
|
||||
|
@@ -37,6 +37,10 @@ struct FModifier;
|
||||
struct AnimData;
|
||||
struct AnimationEvalContext;
|
||||
struct BezTriple;
|
||||
struct BlendDataReader;
|
||||
struct BlendExpander;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct LibraryForeachIDData;
|
||||
struct PathResolvedRNA;
|
||||
struct PointerRNA;
|
||||
@@ -44,10 +48,6 @@ struct PropertyRNA;
|
||||
struct StructRNA;
|
||||
struct bAction;
|
||||
struct bContext;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendExpander;
|
||||
|
||||
/* ************** Keyframe Tools ***************** */
|
||||
|
||||
|
@@ -27,6 +27,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct BlendDataReader;
|
||||
struct Brush;
|
||||
struct CurveMapping;
|
||||
struct Depsgraph;
|
||||
@@ -48,7 +49,6 @@ struct bGPDlayer_Mask;
|
||||
struct bGPDspoint;
|
||||
struct bGPDstroke;
|
||||
struct bGPdata;
|
||||
struct BlendDataReader;
|
||||
|
||||
#define GPENCIL_SIMPLIFY(scene) ((scene->r.simplify_gpencil & SIMPLIFY_GPENCIL_ENABLE))
|
||||
#define GPENCIL_SIMPLIFY_ONPLAY(playing) \
|
||||
|
@@ -73,13 +73,13 @@ struct Icon_Geom {
|
||||
|
||||
typedef struct Icon Icon;
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendWriter;
|
||||
struct ID;
|
||||
struct ImBuf;
|
||||
struct PreviewImage;
|
||||
struct StudioLight;
|
||||
struct bGPDlayer;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
|
||||
enum eIconSizes;
|
||||
|
||||
|
@@ -28,12 +28,12 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendExpander;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct ID;
|
||||
struct IDProperty;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendExpander;
|
||||
|
||||
typedef union IDPropertyTemplate {
|
||||
int i;
|
||||
|
@@ -31,13 +31,13 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendExpander;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct ID;
|
||||
struct LibraryForeachIDData;
|
||||
struct Main;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendExpander;
|
||||
|
||||
/** IDTypeInfo.flags. */
|
||||
enum {
|
||||
|
@@ -51,6 +51,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendWriter;
|
||||
struct GHash;
|
||||
struct ID;
|
||||
struct Library;
|
||||
@@ -59,8 +61,6 @@ struct Main;
|
||||
struct PointerRNA;
|
||||
struct PropertyRNA;
|
||||
struct bContext;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
|
||||
size_t BKE_libblock_get_alloc_info(short type, const char **name);
|
||||
void *BKE_libblock_alloc_notest(short type) ATTR_WARN_UNUSED_RESULT;
|
||||
|
@@ -47,9 +47,9 @@ struct IDOverrideLibrary;
|
||||
struct IDOverrideLibraryProperty;
|
||||
struct IDOverrideLibraryPropertyOperation;
|
||||
struct Main;
|
||||
struct Object;
|
||||
struct PointerRNA;
|
||||
struct PropertyRNA;
|
||||
struct Object;
|
||||
struct Scene;
|
||||
struct ViewLayer;
|
||||
|
||||
|
@@ -29,6 +29,8 @@ extern "C" {
|
||||
|
||||
struct ARegionType;
|
||||
struct BMEditMesh;
|
||||
struct BlendDataReader;
|
||||
struct BlendWriter;
|
||||
struct CustomData_MeshMasks;
|
||||
struct DepsNodeHandle;
|
||||
struct Depsgraph;
|
||||
@@ -40,8 +42,6 @@ struct ModifierData;
|
||||
struct Object;
|
||||
struct Scene;
|
||||
struct bArmature;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
|
||||
typedef enum {
|
||||
/* Should not be used, only for None modifier type */
|
||||
|
@@ -36,12 +36,12 @@ struct Scene;
|
||||
struct Speaker;
|
||||
struct bAction;
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendExpander;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct PointerRNA;
|
||||
struct PropertyRNA;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendExpander;
|
||||
|
||||
/* ----------------------------- */
|
||||
/* Data Management */
|
||||
|
@@ -41,6 +41,10 @@ extern "C" {
|
||||
#define MAX_SOCKET 512
|
||||
|
||||
struct ARegion;
|
||||
struct BlendDataReader;
|
||||
struct BlendExpander;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct ColorManagedDisplaySettings;
|
||||
struct ColorManagedViewSettings;
|
||||
struct FreestyleLineStyle;
|
||||
@@ -72,10 +76,6 @@ struct bNodeTree;
|
||||
struct bNodeTreeExec;
|
||||
struct bNodeTreeType;
|
||||
struct uiLayout;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
struct BlendExpander;
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Node Type Definitions
|
||||
|
@@ -29,6 +29,8 @@ extern "C" {
|
||||
#define RET_OK 0
|
||||
#define RET_ERROR 1
|
||||
|
||||
struct BlendDataReader;
|
||||
struct BlendWriter;
|
||||
struct ID;
|
||||
struct Image;
|
||||
struct Main;
|
||||
@@ -37,8 +39,6 @@ struct ReportList;
|
||||
struct VFont;
|
||||
struct Volume;
|
||||
struct bSound;
|
||||
struct BlendWriter;
|
||||
struct BlendDataReader;
|
||||
|
||||
enum ePF_FileCompare {
|
||||
PF_CMP_EQUAL = 0,
|
||||
|
@@ -36,8 +36,8 @@ struct BMesh;
|
||||
struct Brush;
|
||||
struct CurveMapping;
|
||||
struct Depsgraph;
|
||||
struct EnumPropertyItem;
|
||||
struct EdgeSet;
|
||||
struct EnumPropertyItem;
|
||||
struct GHash;
|
||||
struct GridPaintMask;
|
||||
struct ImagePool;
|
||||
|
@@ -47,10 +47,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct BlendWriter BlendWriter;
|
||||
typedef struct BlendDataReader BlendDataReader;
|
||||
typedef struct BlendLibReader BlendLibReader;
|
||||
typedef struct BlendExpander BlendExpander;
|
||||
typedef struct BlendLibReader BlendLibReader;
|
||||
typedef struct BlendWriter BlendWriter;
|
||||
|
||||
/* Blend Write API
|
||||
* ===============
|
||||
|
@@ -24,8 +24,8 @@
|
||||
* \ingroup blenloader
|
||||
*/
|
||||
|
||||
struct Scene;
|
||||
struct GHash;
|
||||
struct Scene;
|
||||
|
||||
typedef struct {
|
||||
void *next, *prev;
|
||||
|
@@ -31,7 +31,6 @@
|
||||
|
||||
#include "DEG_depsgraph.h"
|
||||
|
||||
struct bNodeSocket;
|
||||
struct CacheFile;
|
||||
struct Camera;
|
||||
struct Collection;
|
||||
@@ -61,6 +60,7 @@ struct bAction;
|
||||
struct bArmature;
|
||||
struct bConstraint;
|
||||
struct bGPdata;
|
||||
struct bNodeSocket;
|
||||
struct bNodeTree;
|
||||
struct bPoseChannel;
|
||||
struct bSound;
|
||||
|
@@ -46,7 +46,6 @@
|
||||
#include "intern/node/deg_node_operation.h"
|
||||
|
||||
struct Base;
|
||||
struct bNodeSocket;
|
||||
struct CacheFile;
|
||||
struct Camera;
|
||||
struct Collection;
|
||||
@@ -79,6 +78,7 @@ struct bAction;
|
||||
struct bArmature;
|
||||
struct bConstraint;
|
||||
struct bGPdata;
|
||||
struct bNodeSocket;
|
||||
struct bNodeTree;
|
||||
struct bPoseChannel;
|
||||
struct bSound;
|
||||
|
@@ -27,10 +27,10 @@
|
||||
|
||||
#include "intern/depsgraph_type.h"
|
||||
|
||||
struct Depsgraph;
|
||||
struct Main;
|
||||
struct Scene;
|
||||
struct ViewLayer;
|
||||
struct Depsgraph;
|
||||
|
||||
namespace blender {
|
||||
namespace deg {
|
||||
|
@@ -25,11 +25,11 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct rcti;
|
||||
struct GPUBatch;
|
||||
struct Image;
|
||||
struct ImBuf;
|
||||
struct GPUTexture;
|
||||
struct ImBuf;
|
||||
struct Image;
|
||||
struct rcti;
|
||||
|
||||
/* *********** LISTS *********** */
|
||||
|
||||
|
@@ -24,9 +24,9 @@
|
||||
|
||||
struct DRWPass;
|
||||
struct DRWShadingGroup;
|
||||
struct FluidModifierData;
|
||||
struct GPUMaterial;
|
||||
struct ModifierData;
|
||||
struct FluidModifierData;
|
||||
struct Object;
|
||||
struct ParticleSystem;
|
||||
struct RegionView3D;
|
||||
|
@@ -25,11 +25,11 @@
|
||||
#define __GPENCIL_TRACE_H__
|
||||
|
||||
/* internal exports only */
|
||||
struct bGPDframe;
|
||||
struct FILE;
|
||||
struct ImBuf;
|
||||
struct Main;
|
||||
struct Object;
|
||||
struct bGPDframe;
|
||||
|
||||
#include "potracelib.h"
|
||||
|
||||
|
@@ -42,13 +42,13 @@ void ED_gizmotypes_blank_3d(void);
|
||||
void ED_gizmotypes_snap_3d(void);
|
||||
|
||||
struct ARegion;
|
||||
struct bContext;
|
||||
struct Depsgraph;
|
||||
struct Object;
|
||||
struct SnapObjectContext;
|
||||
struct wmWindowManager;
|
||||
struct View3D;
|
||||
struct bContext;
|
||||
struct wmGizmo;
|
||||
struct wmWindowManager;
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/* Shape Presets
|
||||
|
@@ -27,12 +27,12 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct Collection;
|
||||
struct ID;
|
||||
struct PointerRNA;
|
||||
struct PreviewImage;
|
||||
struct Scene;
|
||||
struct bContext;
|
||||
struct Collection;
|
||||
|
||||
enum eIconSizes;
|
||||
|
||||
|
@@ -31,8 +31,8 @@
|
||||
#include "UI_interface.h"
|
||||
#include "UI_resources.h"
|
||||
|
||||
struct AnimationEvalContext;
|
||||
struct ARegion;
|
||||
struct AnimationEvalContext;
|
||||
struct CurveMapping;
|
||||
struct CurveProfile;
|
||||
struct ID;
|
||||
|
@@ -23,8 +23,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
struct bConstraint;
|
||||
struct Object;
|
||||
struct bConstraint;
|
||||
|
||||
#define TRANSDATABASIC \
|
||||
/** Extra data (mirrored element pointer, in editmode mesh to BMVert) \
|
||||
|
@@ -25,11 +25,11 @@
|
||||
#pragma once
|
||||
|
||||
struct AnimData;
|
||||
struct bContext;
|
||||
struct LinkNode;
|
||||
struct TransData;
|
||||
struct TransDataContainer;
|
||||
struct TransInfo;
|
||||
struct bContext;
|
||||
struct wmOperator;
|
||||
|
||||
/* header of TransDataEdgeSlideVert, TransDataEdgeSlideEdge */
|
||||
|
@@ -27,8 +27,8 @@ extern "C" {
|
||||
#include "MOD_gpencil_modifiertypes.h"
|
||||
|
||||
struct ARegionType;
|
||||
struct bContext;
|
||||
struct PanelType;
|
||||
struct bContext;
|
||||
struct uiLayout;
|
||||
typedef void (*PanelDrawFn)(const bContext *, Panel *);
|
||||
|
||||
|
@@ -91,9 +91,9 @@ set(SRC
|
||||
opengl/gl_backend.cc
|
||||
opengl/gl_batch.cc
|
||||
opengl/gl_context.cc
|
||||
opengl/gl_drawlist.cc
|
||||
opengl/gl_debug.cc
|
||||
opengl/gl_debug_layer.cc
|
||||
opengl/gl_drawlist.cc
|
||||
opengl/gl_framebuffer.cc
|
||||
opengl/gl_immediate.cc
|
||||
opengl/gl_index_buffer.cc
|
||||
@@ -148,12 +148,12 @@ set(SRC
|
||||
intern/gpu_material_library.h
|
||||
intern/gpu_matrix_private.h
|
||||
intern/gpu_node_graph.h
|
||||
intern/gpu_private.h
|
||||
intern/gpu_platform_private.hh
|
||||
intern/gpu_private.h
|
||||
intern/gpu_query.hh
|
||||
intern/gpu_select_private.h
|
||||
intern/gpu_shader_private.hh
|
||||
intern/gpu_shader_interface.hh
|
||||
intern/gpu_shader_private.hh
|
||||
intern/gpu_state_private.hh
|
||||
intern/gpu_texture_private.hh
|
||||
intern/gpu_uniform_buffer_private.hh
|
||||
|
@@ -36,9 +36,9 @@ struct DMFlagMat;
|
||||
struct GSet;
|
||||
struct MLoop;
|
||||
struct MLoopCol;
|
||||
struct MPropCol;
|
||||
struct MLoopTri;
|
||||
struct MPoly;
|
||||
struct MPropCol;
|
||||
struct MVert;
|
||||
struct Mesh;
|
||||
struct PBVH;
|
||||
|
@@ -44,8 +44,8 @@ struct MLoopCol;
|
||||
struct MLoopTri;
|
||||
struct MLoopUV;
|
||||
struct MPoly;
|
||||
struct MVert;
|
||||
struct MPropCol;
|
||||
struct MVert;
|
||||
struct Material;
|
||||
struct Mesh;
|
||||
struct Multires;
|
||||
|
@@ -33,6 +33,7 @@
|
||||
struct ARegion;
|
||||
struct ARegionType;
|
||||
struct PanelType;
|
||||
struct PointerRNA;
|
||||
struct Scene;
|
||||
struct SpaceLink;
|
||||
struct SpaceType;
|
||||
@@ -40,7 +41,6 @@ struct uiLayout;
|
||||
struct wmDrawBuffer;
|
||||
struct wmTimer;
|
||||
struct wmTooltipState;
|
||||
struct PointerRNA;
|
||||
|
||||
/* TODO Doing this is quite ugly :)
|
||||
* Once the top-bar is merged bScreen should be refactored to use ScrAreaMap. */
|
||||
|
@@ -30,8 +30,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
struct ARegionType;
|
||||
struct bContext;
|
||||
struct PanelType;
|
||||
struct bContext;
|
||||
struct uiLayout;
|
||||
typedef void (*PanelDrawFn)(const bContext *, struct Panel *);
|
||||
|
||||
|
@@ -27,8 +27,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
struct ARegionType;
|
||||
struct bContext;
|
||||
struct PanelType;
|
||||
struct bContext;
|
||||
struct uiLayout;
|
||||
typedef void (*PanelDrawFn)(const bContext *, Panel *);
|
||||
|
||||
|
@@ -41,10 +41,10 @@ using fn::GMutableSpan;
|
||||
using fn::GSpan;
|
||||
using fn::MutableAttributesRef;
|
||||
|
||||
struct ParticleEmitterContext;
|
||||
struct ParticleForceContext;
|
||||
struct ParticleActionContext;
|
||||
struct ParticleEmitterContext;
|
||||
struct ParticleEventFilterContext;
|
||||
struct ParticleForceContext;
|
||||
|
||||
class ParticleEmitter {
|
||||
public:
|
||||
|
Reference in New Issue
Block a user