Cleanup: sort forward declarations of enum & struct

Done using:
  source/tools/utils_maintenance/c_sort_blocks.py
This commit is contained in:
Campbell Barton 2019-01-28 22:08:29 +11:00
parent d918217d35
commit f8ce24f796
249 changed files with 886 additions and 886 deletions

View File

@ -61,8 +61,8 @@ char U[1024] = {0};
/***/
typedef struct _MultiTestApp MultiTestApp;
typedef struct _LoggerWindow LoggerWindow;
typedef struct _MultiTestApp MultiTestApp;
void loggerwindow_log(LoggerWindow *lw, char *line);

View File

@ -27,12 +27,12 @@
extern "C" {
#endif
struct bContext;
struct CacheReader;
struct DerivedMesh;
struct ListBase;
struct Object;
struct Scene;
struct bContext;
typedef struct AbcArchiveHandle AbcArchiveHandle;

View File

@ -35,9 +35,9 @@
#include "BLI_compiler_attrs.h"
#include "BLI_sys_types.h"
struct rctf;
struct ColorManagedDisplay;
struct ResultBLF;
struct rctf;
int BLF_init(void);
void BLF_exit(void);

View File

@ -31,10 +31,10 @@
#ifndef __BLF_INTERNAL_H__
#define __BLF_INTERNAL_H__
struct ResultBLF;
struct FontBLF;
struct GlyphBLF;
struct GlyphCacheBLF;
struct ResultBLF;
struct rctf;
unsigned int blf_next_p2(unsigned int x);

View File

@ -80,24 +80,24 @@
#include "BKE_customdata.h"
#include "BKE_bvhutils.h"
struct BMEditMesh;
struct CCGElem;
struct CCGKey;
struct MVert;
struct ColorBand;
struct GPUDrawObject;
struct GPUVertexAttribs;
struct KeyBlock;
struct MCol;
struct MEdge;
struct MFace;
struct MTFace;
struct Object;
struct Scene;
struct Mesh;
struct MLoopNorSpaceArray;
struct BMEditMesh;
struct KeyBlock;
struct MTFace;
struct MVert;
struct Mesh;
struct ModifierData;
struct MCol;
struct ColorBand;
struct GPUVertexAttribs;
struct GPUDrawObject;
struct Object;
struct PBVH;
struct Scene;
/* number of sub-elements each mesh element has (for interpolation) */
#define SUB_ELEMS_VERT 0

View File

@ -38,14 +38,14 @@
#include "DNA_listBase.h"
/* The following structures are defined in DNA_action_types.h, and DNA_anim_types.h */
struct bAction;
struct bActionGroup;
struct FCurve;
struct bPose;
struct bItasc;
struct bPoseChannel;
struct Main;
struct Object;
struct bAction;
struct bActionGroup;
struct bItasc;
struct bPose;
struct bPoseChannel;
/* Kernel prototypes */
#ifdef __cplusplus

View File

@ -32,9 +32,6 @@
* \author nzc
* \since March 2001
*/
struct bAnimVizSettings;
struct bMotionPath;
struct bPoseChannel;
struct EvaluationContext;
struct ListBase;
struct Main;
@ -42,6 +39,9 @@ struct Object;
struct Path;
struct ReportList;
struct Scene;
struct bAnimVizSettings;
struct bMotionPath;
struct bPoseChannel;
/* ---------------------------------------------------- */
/* Animation Visualization */

View File

@ -31,22 +31,22 @@
* \author Joshua Leung
*/
struct ID;
struct ListBase;
struct Main;
struct AnimData;
struct FCurve;
struct KeyingSet;
struct ID;
struct KS_Path;
struct KeyingSet;
struct ListBase;
struct Main;
struct PathResolvedRNA;
struct bContext;
struct AnimMapper;
struct PointerRNA;
struct PropertyRNA;
struct ReportList;
struct bAction;
struct bActionGroup;
struct AnimMapper;
/* ************************************* */
/* AnimData API */

View File

@ -35,14 +35,14 @@
struct Bone;
struct GHash;
struct ListBase;
struct Main;
struct bArmature;
struct bPoseChannel;
struct bConstraint;
struct Scene;
struct Object;
struct PoseTree;
struct ListBase;
struct Scene;
struct bArmature;
struct bConstraint;
struct bPoseChannel;
typedef struct PoseTarget {
struct PoseTarget *next, *prev;
@ -152,10 +152,10 @@ void BKE_pchan_bbone_spline_setup(struct bPoseChannel *pchan, int rest, Mat4 res
(PBONE_VISIBLE(arm, bone) && !((bone)->flag & BONE_UNSELECTABLE))
/* Evaluation helpers */
struct EvaluationContext;
struct bKinematicConstraint;
struct bPose;
struct bSplineIKConstraint;
struct EvaluationContext;
struct bPoseChannel *BKE_armature_ik_solver_find_root(
struct bPoseChannel *pchan,

View File

@ -28,10 +28,10 @@
extern "C" {
#endif
struct bContext;
struct ReportList;
struct Main;
struct ID;
struct Main;
struct ReportList;
struct bContext;
/* copybuffer (wrapper for BKE_blendfile_write_partial) */
void BKE_copybuffer_begin(struct Main *bmain_src);

View File

@ -28,10 +28,10 @@
extern "C" {
#endif
struct bContext;
struct Scene;
struct Main;
struct MemFileUndoData;
struct Scene;
struct bContext;
#define BKE_UNDO_STR_MAX 64

View File

@ -28,13 +28,13 @@
extern "C" {
#endif
struct bContext;
struct BlendFileReadParams;
struct ID;
struct Main;
struct MemFile;
struct ReportList;
struct UserDef;
struct BlendFileReadParams;
struct bContext;
enum {
BKE_BLENDFILE_READ_FAIL = 0, /* no load */

View File

@ -37,9 +37,9 @@
extern "C" {
#endif
struct bmGlyph;
struct ImBuf;
struct bmFont;
struct bmGlyph;
void printfGlyph(struct bmGlyph *glyph);
void calcAlpha(struct ImBuf *ibuf);

View File

@ -38,10 +38,10 @@
* This header encapsulates necessary code to build a BVH
*/
struct DerivedMesh;
struct BMEditMesh;
struct MVert;
struct DerivedMesh;
struct MFace;
struct MVert;
typedef struct LinkNode BVHCache;

View File

@ -39,14 +39,14 @@ extern "C" {
#include "DNA_vec_types.h"
struct Camera;
struct GPUFXSettings;
struct Main;
struct Object;
struct RegionView3D;
struct RenderData;
struct Scene;
struct rctf;
struct View3D;
struct GPUFXSettings;
struct rctf;
/* Camera Datablock */

View File

@ -37,10 +37,10 @@
#include "BKE_DerivedMesh.h"
struct DerivedMesh;
struct BMEditMesh;
struct Mesh;
struct DerivedMesh;
struct MLoopNorSpaceArray;
struct Mesh;
struct Object;
/* creates a new CDDerivedMesh */

View File

@ -35,12 +35,12 @@
#include <float.h>
#include "BLI_math_inline.h"
struct Object;
struct Scene;
struct MFace;
struct DerivedMesh;
struct ClothModifierData;
struct CollisionModifierData;
struct DerivedMesh;
struct MFace;
struct Object;
struct Scene;
#define DO_INLINE MALWAYS_INLINE

View File

@ -47,9 +47,9 @@ struct CollisionModifierData;
struct Group;
struct MFace;
struct MVert;
struct MVertTri;
struct Object;
struct Scene;
struct MVertTri;
////////////////////////////////////////
// used for collisions in collision.c

View File

@ -34,12 +34,12 @@
struct ColorManagedColorspaceSettings;
struct ColorManagedDisplaySettings;
struct ColorManagedViewSettings;
struct CurveMapping;
struct CurveMap;
struct CurveMapPoint;
struct Scopes;
struct CurveMapping;
struct Histogram;
struct ImBuf;
struct Scopes;
struct rctf;
void curvemapping_set_defaults(struct CurveMapping *cumap, int tot, float minx, float miny, float maxx, float maxy);

View File

@ -34,11 +34,11 @@
*/
struct ID;
struct bConstraint;
struct bConstraintTarget;
struct ListBase;
struct Object;
struct Scene;
struct bConstraint;
struct bConstraintTarget;
struct bPoseChannel;
/* ---------------------------------------------------------------------------- */

View File

@ -38,36 +38,36 @@ extern "C" {
#endif
struct ARegion;
struct bScreen;
struct CacheFile;
struct EditBone;
struct ID;
struct Image;
struct ListBase;
struct Main;
struct Object;
struct PointerRNA;
struct RegionView3D;
struct ReportList;
struct Scene;
struct ScrArea;
struct SpaceClip;
struct SpaceImage;
struct SpaceLink;
struct View3D;
struct RegionView3D;
struct SpaceText;
struct StructRNA;
struct ToolSettings;
struct Image;
struct Text;
struct EditBone;
struct bPoseChannel;
struct bGPdata;
struct bGPDlayer;
struct ToolSettings;
struct View3D;
struct bGPDbrush;
struct bGPDframe;
struct bGPDlayer;
struct bGPDpalette;
struct bGPDpalettecolor;
struct bGPDbrush;
struct bGPdata;
struct bPoseChannel;
struct bScreen;
struct wmWindow;
struct wmWindowManager;
struct SpaceText;
struct SpaceImage;
struct SpaceClip;
struct ID;
/* Structs */

View File

@ -34,10 +34,10 @@
#ifdef __cplusplus
extern "C" {
#endif
struct Scene;
struct Object;
struct BMEditMesh;
struct Mesh;
struct Object;
struct Scene;
/* crazyspace.c */
float (*BKE_crazyspace_get_mapped_editverts(

View File

@ -41,8 +41,8 @@ struct ListBase;
struct Main;
struct Nurb;
struct Object;
struct Scene;
struct Path;
struct Scene;
struct TextBox;
struct rctf;

View File

@ -44,8 +44,8 @@ extern "C" {
#include "DNA_customdata_types.h"
struct BMesh;
struct ID;
struct CustomData;
struct ID;
typedef uint64_t CustomDataMask;
/*a data type large enough to hold 1 element from any customdata layer type*/
@ -404,8 +404,8 @@ void CustomData_external_reload(struct CustomData *data,
/* Mesh-to-mesh transfer data. */
struct MeshPairRemap;
struct CustomDataTransferLayerMap;
struct MeshPairRemap;
typedef void (*cd_datatransfer_interp)(
const struct CustomDataTransferLayerMap *laymap, void *dest,

View File

@ -39,9 +39,9 @@ extern "C" {
#include "BKE_customdata.h"
struct Object;
struct ReportList;
struct Scene;
struct SpaceTransform;
struct ReportList;
/* Warning, those def are stored in files (TransferData modifier), *DO NOT* modify those values. */
enum {

View File

@ -35,13 +35,13 @@
* \brief support for deformation groups and hooks.
*/
struct Object;
struct ListBase;
struct bDeformGroup;
struct MDeformVert;
struct MEdge;
struct MLoop;
struct MPoly;
struct Object;
struct bDeformGroup;
struct bDeformGroup *BKE_defgroup_new(struct Object *ob, const char *name);
void defgroup_copy_list(struct ListBase *lb1, const struct ListBase *lb2);

View File

@ -34,12 +34,12 @@
#include "BKE_customdata.h"
#include "bmesh.h"
struct BMesh;
struct BMLoop;
struct Mesh;
struct Scene;
struct BMesh;
struct DerivedMesh;
struct Mesh;
struct MeshStatVis;
struct Scene;
/**
* This structure is used for mesh edit-mode.

View File

@ -32,12 +32,12 @@
#ifndef __BKE_EDITMESH_BVH_H__
#define __BKE_EDITMESH_BVH_H__
struct BMEditMesh;
struct BMesh;
struct BMFace;
struct BMVert;
struct BMLoop;
struct BMBVHTree;
struct BMEditMesh;
struct BMFace;
struct BMLoop;
struct BMVert;
struct BMesh;
struct BVHTree;
typedef struct BMBVHTree BMBVHTree;

View File

@ -37,13 +37,13 @@
#include "BLI_utildefines.h"
struct Object;
struct Scene;
struct ListBase;
struct Group;
struct ParticleSimulationData;
struct ListBase;
struct Object;
struct ParticleData;
struct ParticleKey;
struct ParticleSimulationData;
struct Scene;
struct EffectorWeights *BKE_effector_add_weights(struct Group *group);

View File

@ -36,21 +36,21 @@
extern "C" {
#endif
struct ChannelDriver;
struct DriverTarget;
struct DriverVar;
struct FCM_EnvelopeData;
struct FCurve;
struct FModifier;
struct ChannelDriver;
struct DriverVar;
struct DriverTarget;
struct FCM_EnvelopeData;
struct bContext;
struct AnimData;
struct bAction;
struct BezTriple;
struct StructRNA;
struct PathResolvedRNA;
struct PointerRNA;
struct PropertyRNA;
struct StructRNA;
struct bAction;
struct bContext;
#include "DNA_curve_types.h"

View File

@ -32,10 +32,10 @@
* \ingroup bke
*/
struct Object;
struct Scene;
struct FluidsimSettings;
struct MVert;
struct Object;
struct Scene;
/* old interface */

View File

@ -37,11 +37,11 @@ extern "C" {
#include <wchar.h>
struct VFont;
struct Object;
struct Curve;
struct CharInfo;
struct Curve;
struct Main;
struct Object;
struct VFont;
struct CharTrans {
float xof, yof;

View File

@ -44,8 +44,8 @@ struct FreestyleModuleConfig;
struct Main;
/* RNA aliases */
typedef struct FreestyleSettings FreestyleSettings;
typedef struct FreestyleModuleSettings FreestyleModuleSettings;
typedef struct FreestyleSettings FreestyleSettings;
/* FreestyleConfig */
void BKE_freestyle_config_init(FreestyleConfig *config);

View File

@ -31,15 +31,15 @@
* \author Joshua Leung
*/
struct ToolSettings;
struct ListBase;
struct bGPdata;
struct bGPDlayer;
struct Main;
struct ToolSettings;
struct bGPDframe;
struct bGPDstroke;
struct bGPDlayer;
struct bGPDpalette;
struct bGPDpalettecolor;
struct Main;
struct bGPDstroke;
struct bGPdata;
/* ------------ Grease-Pencil API ------------------ */

View File

@ -46,8 +46,8 @@ struct Icon {
typedef struct Icon Icon;
struct PreviewImage;
struct ID;
struct PreviewImage;
enum eIconSizes;

View File

@ -32,8 +32,8 @@
#include "BLI_compiler_attrs.h"
struct IDProperty;
struct ID;
struct IDProperty;
typedef union IDPropertyTemplate {
int i;

View File

@ -37,18 +37,18 @@
extern "C" {
#endif
struct Image;
struct ImBuf;
struct ImbFormatOptions;
struct anim;
struct Scene;
struct Object;
struct Image;
struct ImageFormatData;
struct ImagePool;
struct ImbFormatOptions;
struct Main;
struct ReportList;
struct Object;
struct RenderResult;
struct ReportList;
struct Scene;
struct StampData;
struct anim;
#define IMA_MAX_SPACE 64

View File

@ -38,8 +38,8 @@
extern "C" {
#endif
struct Main;
struct Ipo;
struct Main;
void do_versions_ipos_to_animato(struct Main *main);

View File

@ -32,15 +32,15 @@
* \since March 2001
* \author nzc
*/
struct Curve;
struct ID;
struct Key;
struct KeyBlock;
struct ID;
struct ListBase;
struct Curve;
struct Object;
struct Lattice;
struct ListBase;
struct Main;
struct Mesh;
struct Object;
struct WeightsArrayCache;
/* Kernel prototypes */

View File

@ -36,13 +36,13 @@
#include "BLI_compiler_attrs.h"
struct BPoint;
struct DerivedMesh;
struct Lattice;
struct MDeformVert;
struct Main;
struct Object;
struct Scene;
struct DerivedMesh;
struct BPoint;
struct MDeformVert;
void BKE_lattice_resize(struct Lattice *lt, int u, int v, int w, struct Object *ltOb);
void BKE_lattice_init(struct Lattice *lt);

View File

@ -40,15 +40,15 @@ extern "C" {
struct BlendThumbnail;
struct GHash;
struct ListBase;
struct ID;
struct ImBuf;
struct Main;
struct Library;
struct wmWindowManager;
struct bContext;
struct ListBase;
struct Main;
struct PointerRNA;
struct PropertyRNA;
struct bContext;
struct wmWindowManager;
size_t BKE_libblock_get_alloc_info(short type, const char **name);
void *BKE_libblock_alloc_notest(short type) ATTR_WARN_UNUSED_RESULT;

View File

@ -27,8 +27,8 @@
#include "BLI_compiler_attrs.h"
struct ID;
struct Main;
struct IDNameLib_Map;
struct Main;
struct IDNameLib_Map *BKE_main_idmap_create(
struct Main *bmain)

View File

@ -44,9 +44,9 @@ extern "C" {
#define LS_MODIFIER_TYPE_THICKNESS 3
#define LS_MODIFIER_TYPE_GEOMETRY 4
struct ColorBand;
struct Main;
struct Object;
struct ColorBand;
struct bContext;
void BKE_linestyle_init(struct FreestyleLineStyle *linestyle);

View File

@ -48,11 +48,11 @@
extern "C" {
#endif
struct BLI_mempool;
struct EvaluationContext;
struct GHash;
struct Library;
struct MainLock;
struct GHash;
struct BLI_mempool;
/* Blender thumbnail, as written on file (width, height, and data as char RGBA). */
/* We pack pixel data after that struct. */

View File

@ -33,14 +33,14 @@
*/
struct EvaluationContext;
struct ImageUser;
struct Image;
struct ImageUser;
struct ListBase;
struct Main;
struct Mask;
struct MaskParent;
struct MaskLayer;
struct MaskLayerShape;
struct MaskParent;
struct MaskSpline;
struct MaskSplinePoint;
struct MaskSplinePointUW;

View File

@ -36,9 +36,9 @@
extern "C" {
#endif
struct ID;
struct Main;
struct Material;
struct ID;
struct Object;
struct Scene;

View File

@ -35,9 +35,9 @@
struct EvaluationContext;
struct Main;
struct MetaBall;
struct MetaElem;
struct Object;
struct Scene;
struct MetaElem;
void BKE_mball_free(struct MetaBall *mb);
void BKE_mball_init(struct MetaBall *mb);

View File

@ -31,31 +31,31 @@
* \ingroup bke
*/
struct ID;
struct BLI_Stack;
struct BMesh;
struct BMeshCreateParams;
struct BoundBox;
struct EdgeHash;
struct ListBase;
struct LinkNode;
struct BLI_Stack;
struct MemArena;
struct BMesh;
struct MLoopTri;
struct Main;
struct Mesh;
struct MPoly;
struct MLoop;
struct MFace;
struct MEdge;
struct MVert;
struct MDeformVert;
struct MDisps;
struct Object;
struct CustomData;
struct DerivedMesh;
struct Scene;
struct EdgeHash;
struct ID;
struct LinkNode;
struct ListBase;
struct MDeformVert;
struct MDisps;
struct MEdge;
struct MFace;
struct MLoop;
struct MLoopTri;
struct MLoopUV;
struct MPoly;
struct MVert;
struct Main;
struct MemArena;
struct Mesh;
struct Object;
struct ReportList;
struct Scene;
#ifdef __cplusplus
extern "C" {

View File

@ -31,12 +31,12 @@
* \ingroup bke
*/
struct MVert;
struct MEdge;
struct MPoly;
struct MLoop;
struct MLoopUV;
struct MLoopTri;
struct MLoopUV;
struct MPoly;
struct MVert;
/* map from uv vertex to face (for select linked, stitch, uv suburf) */

View File

@ -32,18 +32,18 @@
#include "BLI_compiler_attrs.h"
#include "BKE_customdata.h"
struct ID;
struct DerivedMesh;
struct BMEditMesh;
struct DagForest;
struct DagNode;
struct Object;
struct Scene;
struct DepsNodeHandle;
struct DerivedMesh;
struct ID;
struct ListBase;
struct bArmature;
struct Main;
struct ModifierData;
struct BMEditMesh;
struct DepsNodeHandle;
struct Object;
struct Scene;
struct bArmature;
typedef enum {
/* Should not be used, only for None modifier type */

View File

@ -43,9 +43,9 @@ struct Object;
struct Scene;
struct MLoop;
struct MVert;
struct MPoly;
struct MLoopTri;
struct MPoly;
struct MVert;
/* Delete mesh mdisps and grid paint masks */
void multires_customdata_delete(struct Mesh *me);

View File

@ -37,9 +37,9 @@ struct AnimData;
struct Main;
struct NlaStrip;
struct NlaTrack;
struct bAction;
struct Scene;
struct Speaker;
struct bAction;
struct PointerRNA;
struct PropertyRNA;

View File

@ -51,34 +51,34 @@
/* not very important, but the stack solver likes to know a maximum */
#define MAX_SOCKET 512
struct bContext;
struct bNode;
struct bNodeLink;
struct bNodeSocket;
struct bNodeStack;
struct bNodeTree;
struct bNodeTreeType;
struct bNodeTreeExec;
struct bNodeExecContext;
struct bNodeExecData;
struct ARegion;
struct ColorManagedDisplaySettings;
struct ColorManagedViewSettings;
struct GPUMaterial;
struct GPUNodeStack;
struct ID;
struct ImBuf;
struct ImageFormatData;
struct ListBase;
struct Main;
struct uiLayout;
struct MTex;
struct Main;
struct PointerRNA;
struct RenderData;
struct Scene;
struct Tex;
struct SpaceNode;
struct ARegion;
struct ColorManagedViewSettings;
struct ColorManagedDisplaySettings;
struct Tex;
struct bContext;
struct bNode;
struct bNodeExecContext;
struct bNodeExecData;
struct bNodeInstanceHash;
struct bNodeLink;
struct bNodeSocket;
struct bNodeStack;
struct bNodeTree;
struct bNodeTreeExec;
struct bNodeTreeType;
struct uiLayout;
/* -------------------------------------------------------------------- */
/** \name Node Type Definitions

View File

@ -36,18 +36,18 @@ extern "C" {
#include "BLI_compiler_attrs.h"
struct Base;
struct EvaluationContext;
struct Scene;
struct Object;
struct BoundBox;
struct View3D;
struct SoftBody;
struct BulletSoftBody;
struct MovieClip;
struct Main;
struct RigidBodyWorld;
struct EvaluationContext;
struct HookModifierData;
struct Main;
struct ModifierData;
struct MovieClip;
struct Object;
struct RigidBodyWorld;
struct Scene;
struct SoftBody;
struct View3D;
void BKE_object_workob_clear(struct Object *workob);
void BKE_object_workob_calc_parent(struct Scene *scene, struct Object *ob, struct Object *workob);

View File

@ -33,9 +33,9 @@
extern "C" {
#endif
struct Object;
struct ID;
struct MDeformVert;
struct Object;
struct bDeformGroup;
/* General vgroup operations */

View File

@ -26,8 +26,8 @@
* \ingroup bke
*/
struct ID;
struct BLI_mempool;
struct ID;
struct TreeStoreElem;
/* create and fill hashtable with treestore elements */

View File

@ -36,12 +36,12 @@
#define RET_ERROR 1
struct ID;
struct bSound;
struct Image;
struct Main;
struct PackedFile;
struct ReportList;
struct VFont;
struct bSound;
/* pack */
struct PackedFile *dupPackedFile(const struct PackedFile *pf_src);

View File

@ -32,31 +32,31 @@
* \ingroup bke
*/
struct bContext;
struct BMesh;
struct BMFace;
struct BMesh;
struct Brush;
struct CurveMapping;
struct MeshElemMap;
struct GridPaintMask;
struct Main;
struct ImagePool;
struct MFace;
struct MLoop;
struct MLoopTri;
struct MFace;
struct MVert;
struct Main;
struct MeshElemMap;
struct Object;
struct PBVH;
struct Paint;
struct PaintCurve;
struct Palette;
struct PaletteColor;
struct PBVH;
struct ReportList;
struct Scene;
struct Sculpt;
struct StrokeCache;
struct Tex;
struct ImagePool;
struct UnifiedPaintSettings;
struct bContext;
enum eOverlayFlags;

View File

@ -41,27 +41,27 @@
#include "BKE_customdata.h"
struct ParticleSystemModifierData;
struct ParticleSystem;
struct ParticleKey;
struct ParticleSettings;
struct ParticleSystem;
struct ParticleSystemModifierData;
struct Main;
struct Object;
struct Scene;
struct DerivedMesh;
struct ModifierData;
struct MTFace;
struct MCol;
struct MFace;
struct MVert;
struct LatticeDeformData;
struct LinkNode;
struct KDTree;
struct RNG;
struct BVHTreeRay;
struct BVHTreeRayHit;
struct DerivedMesh;
struct EdgeHash;
struct KDTree;
struct LatticeDeformData;
struct LinkNode;
struct MCol;
struct MFace;
struct MTFace;
struct MVert;
struct Main;
struct ModifierData;
struct Object;
struct RNG;
struct Scene;
#define PARTICLE_COLLISION_MAX_COLLISIONS 10

View File

@ -30,19 +30,19 @@
#include "BLI_ghash.h"
#include "BLI_utildefines.h"
struct BMLog;
struct BMesh;
struct CCGDerivedMesh;
struct CCGElem;
struct CCGKey;
struct CCGDerivedMesh;
struct CustomData;
struct DMFlagMat;
struct MPoly;
struct MLoop;
struct MLoopTri;
struct MPoly;
struct MVert;
struct PBVH;
struct PBVHNode;
struct BMesh;
struct BMLog;
typedef struct PBVH PBVH;
typedef struct PBVHNode PBVHNode;

View File

@ -89,10 +89,10 @@ struct Object;
struct ParticleKey;
struct ParticleSystem;
struct PointCache;
struct RigidBodyWorld;
struct Scene;
struct SmokeModifierData;
struct SoftBody;
struct RigidBodyWorld;
struct OpenVDBReader;
struct OpenVDBWriter;

View File

@ -31,9 +31,9 @@
* \ingroup bke
*/
struct bProperty;
struct ListBase;
struct Object;
struct bProperty;
void BKE_bproperty_free(struct bProperty *prop);
void BKE_bproperty_free_list(struct ListBase *lb);

View File

@ -34,11 +34,11 @@
#ifndef __BKE_RIGIDBODY_H__
#define __BKE_RIGIDBODY_H__
struct RigidBodyWorld;
struct RigidBodyOb;
struct RigidBodyWorld;
struct Scene;
struct Object;
struct Scene;
/* -------------- */
/* Memory Management */

View File

@ -33,9 +33,9 @@
struct Main;
struct Object;
struct bSensor;
struct bController;
struct bActuator;
struct bController;
struct bSensor;
void link_logicbricks(void **poin, void ***ppoin, short *tot, short size);
void unlink_logicbricks(void **poin, void ***ppoin, short *tot);

View File

@ -41,12 +41,12 @@ struct AviCodecData;
struct Base;
struct EvaluationContext;
struct Main;
struct Main;
struct Object;
struct RenderData;
struct SceneRenderLayer;
struct Scene;
struct SceneRenderLayer;
struct UnitSettings;
struct Main;
#define SCE_COPY_NEW 0
#define SCE_COPY_EMPTY 1

View File

@ -34,6 +34,7 @@
*/
struct ARegion;
struct GPUFXSettings;
struct Header;
struct ID;
struct ListBase;
@ -52,7 +53,6 @@ struct wmKeyConfig;
struct wmNotifier;
struct wmWindow;
struct wmWindowManager;
struct GPUFXSettings;
#include "BLI_compiler_attrs.h"

View File

@ -30,13 +30,11 @@
* \ingroup bke
*/
struct bContext;
struct EvaluationContext;
struct StripColorBalance;
struct Editing;
struct GSet;
struct GPUOffScreen;
struct EvaluationContext;
struct GPUFX;
struct GPUOffScreen;
struct GSet;
struct ImBuf;
struct Main;
struct Mask;
@ -44,8 +42,10 @@ struct Scene;
struct Sequence;
struct SequenceModifierData;
struct Stereo3dFormat;
struct StripColorBalance;
struct StripElem;
struct TextVars;
struct bContext;
struct bSound;
struct SeqIndexBuildContext;

View File

@ -46,13 +46,13 @@
* (So that you don't have to pass an enormous amount of arguments to functions)
*/
struct Object;
struct DerivedMesh;
struct MVert;
struct MDeformVert;
struct ShrinkwrapModifierData;
struct MDeformVert;
struct BVHTree;
struct DerivedMesh;
struct MDeformVert;
struct MDeformVert;
struct MVert;
struct Object;
struct ShrinkwrapModifierData;
struct SpaceTransform;

View File

@ -39,9 +39,9 @@
# include AUD_DEVICE_H
#endif
struct bSound;
struct Main;
struct Sequence;
struct bSound;
typedef struct SoundWaveform {
int length;

View File

@ -37,21 +37,21 @@
/* Thread sync primitives used directly. */
#include "BLI_threads.h"
struct CCGEdge;
struct CCGElem;
struct CCGFace;
struct CCGVert;
struct DMFlagMat;
struct DMGridAdjacency;
struct DerivedMesh;
struct MeshElemMap;
struct Mesh;
struct EdgeHash;
struct MPoly;
struct Mesh;
struct MeshElemMap;
struct Object;
struct PBVH;
struct SubsurfModifierData;
struct CCGEdge;
struct CCGFace;
struct CCGVert;
struct EdgeHash;
struct PBVH;
struct SubsurfModifierData;
/**************************** External *****************************/

View File

@ -37,16 +37,15 @@
extern "C" {
#endif
struct bNode;
struct Brush;
struct ColorBand;
struct EnvMap;
struct FreestyleLineStyle;
struct ImagePool;
struct Lamp;
struct MTex;
struct Main;
struct Material;
struct MTex;
struct OceanTex;
struct ParticleSettings;
struct PointDensity;
@ -55,6 +54,7 @@ struct TexMapping;
struct TexResult;
struct VoxelData;
struct World;
struct bNode;
/* in ColorBand struct */
#define MAXCOLORBAND 32

View File

@ -32,21 +32,21 @@
* \author Sergey Sharybin
*/
struct bGPDlayer;
struct Camera;
struct ImBuf;
struct ListBase;
struct MovieReconstructContext;
struct MovieTrackingTrack;
struct MovieTrackingMarker;
struct MovieTrackingPlaneTrack;
struct MovieTrackingPlaneMarker;
struct MovieTracking;
struct MovieTrackingObject;
struct MovieClipUser;
struct MovieDistortion;
struct Camera;
struct MovieReconstructContext;
struct MovieTracking;
struct MovieTrackingMarker;
struct MovieTrackingObject;
struct MovieTrackingPlaneMarker;
struct MovieTrackingPlaneTrack;
struct MovieTrackingTrack;
struct Object;
struct Scene;
struct bGPDlayer;
struct rcti;
/* **** Common functions **** */

View File

@ -34,10 +34,10 @@
#include "DNA_constraint_types.h"
#include "BKE_constraint.h"
struct Scene;
struct Group;
struct EffectorWeights;
struct Group;
struct ModifierData;
struct Scene;
/* **** DAG relation types *** */

View File

@ -30,10 +30,10 @@ typedef void* CCGVertHDL;
typedef void* CCGEdgeHDL;
typedef void* CCGFaceHDL;
typedef struct CCGSubSurf CCGSubSurf;
typedef struct CCGVert CCGVert;
typedef struct CCGEdge CCGEdge;
typedef struct CCGFace CCGFace;
typedef struct CCGSubSurf CCGSubSurf;
typedef struct CCGVert CCGVert;
typedef struct CCGMeshIFC {
int vertUserSize, edgeUserSize, faceUserSize;
@ -176,9 +176,9 @@ int ccgSubSurf_getNumFinalFaces (const CCGSubSurf *ss);
/***/
typedef struct _EHashIterator CCGVertIterator;
typedef struct _EHashIterator CCGEdgeIterator;
typedef struct _EHashIterator CCGFaceIterator;
typedef struct _EHashIterator CCGVertIterator;
void ccgSubSurf_initVertIterator(CCGSubSurf *ss, CCGVertIterator *viter);
void ccgSubSurf_initEdgeIterator(CCGSubSurf *ss, CCGEdgeIterator *eiter);

View File

@ -33,8 +33,8 @@
#include "BKE_customdata.h" /* For cd_datatransfer_interp */
struct CustomDataTransferLayerMap;
struct CustomData;
struct CustomDataTransferLayerMap;
struct ListBase;
float data_transfer_interp_float_do(

View File

@ -103,9 +103,9 @@
static ThreadMutex object_update_lock = BLI_MUTEX_INITIALIZER;
struct DerivedMesh;
struct Object;
struct Scene;
struct DerivedMesh;
struct SmokeModifierData;
// timestep default value for nice appearance 0.1f

View File

@ -26,8 +26,8 @@
* \brief Efficient in-memory storage of multiple similar arrays.
*/
typedef struct BArrayStore BArrayStore;
typedef struct BArrayState BArrayState;
typedef struct BArrayStore BArrayStore;
BArrayStore *BLI_array_store_create(
unsigned int stride, unsigned int chunk_count);

View File

@ -25,8 +25,8 @@
#ifndef __BLI_CALLBACKS_H__
#define __BLI_CALLBACKS_H__
struct Main;
struct ID;
struct Main;
/**
* Common suffix uses:

View File

@ -31,9 +31,9 @@
#include "DNA_listBase.h"
struct BArc;
struct BGraph;
struct BNode;
struct BArc;
struct RadialArc;

View File

@ -34,8 +34,8 @@
#include "BLI_compiler_attrs.h"
struct MemArena;
struct BLI_mempool;
struct MemArena;
typedef void (*LinkNodeFreeFP)(void *link);
typedef void (*LinkNodeApplyFP)(void *link, void *userdata);

View File

@ -24,8 +24,8 @@
* \ingroup bli
*/
struct ProjCameraInfo;
struct Object;
struct ProjCameraInfo;
/* create uv info from the camera, needs to be freed */
struct ProjCameraInfo *BLI_uvproject_camera_info(struct Object *ob, float rotmat[4][4], float winx, float winy);

View File

@ -36,8 +36,10 @@
extern "C" {
#endif
struct BHead;
struct BlendFileReadParams;
struct BlendThumbnail;
struct bScreen;
struct FileData;
struct LinkNode;
struct Main;
struct MemFile;
@ -46,9 +48,7 @@ struct Scene;
struct UserDef;
struct View3D;
struct bContext;
struct BHead;
struct FileData;
struct BlendFileReadParams;
struct bScreen;
typedef struct BlendHandle BlendHandle;

View File

@ -34,8 +34,8 @@
*/
struct BlendThumbnail;
struct MemFile;
struct Main;
struct MemFile;
struct ReportList;
extern bool BLO_write_file(

View File

@ -36,13 +36,13 @@
#include "zlib.h"
#include "DNA_windowmanager_types.h" /* for ReportType */
struct OldNewMap;
struct MemFile;
struct ReportList;
struct Object;
struct PartEff;
struct View3D;
struct Key;
struct MemFile;
struct Object;
struct OldNewMap;
struct PartEff;
struct ReportList;
struct View3D;
typedef struct FileData {
// linked list of BHeadN's

View File

@ -32,11 +32,11 @@
/* dissable holes for now, these are ifdef'd because they use more memory and cant be saved in DNA currently */
// #define USE_BMESH_HOLES
struct BMesh;
struct BMVert;
struct BMEdge;
struct BMLoop;
struct BMFace;
struct BMLoop;
struct BMVert;
struct BMesh;
struct BLI_mempool;

View File

@ -28,9 +28,9 @@
* \ingroup bmesh
*/
struct ListBase;
struct BMEdgeLoopStore;
struct GSet;
struct ListBase;
/* multiple edgeloops (ListBase) */
int BM_mesh_edgeloops_find(

View File

@ -27,8 +27,8 @@
* \ingroup bmesh
*/
struct BMesh;
struct BMOperator;
struct BMesh;
void bmo_automerge_exec(BMesh *bm, BMOperator *op);
void bmo_average_vert_facedata_exec(BMesh *bm, BMOperator *op);

View File

@ -43,8 +43,8 @@ extern "C" {
struct EvaluationContext;
struct bContext;
struct Scene;
struct bContext;
/*
* both return 1 on success, 0 on error

View File

@ -33,8 +33,8 @@ extern "C" {
#define PASS_VECTOR_MAX 10000.0f
/* Forward declarations */
struct ZSpan;
struct DrawBufPixel;
struct ZSpan;
void zbuf_accumulate_vecblur(
NodeBlurData *nbd, int xsize, int ysize, float *newrect,
const float *imgrect, float *vecbufrect, const float *zbufrect);

View File

@ -40,12 +40,12 @@ struct Depsgraph;
/* ------------------------------------------------ */
struct Main;
struct Scene;
struct Group;
struct EffectorWeights;
struct Group;
struct Main;
struct ModifierData;
struct Object;
struct Scene;
#ifdef __cplusplus
extern "C" {

View File

@ -35,37 +35,37 @@
struct Base;
struct CacheFile;
struct bGPdata;
struct ListBase;
struct FCurve;
struct GHash;
struct Group;
struct ID;
struct Image;
struct FCurve;
struct Group;
struct Key;
struct Main;
struct Material;
struct Mask;
struct ListBase;
struct MTex;
struct Main;
struct Mask;
struct Material;
struct MovieClip;
struct bNodeTree;
struct Object;
struct bPoseChannel;
struct bConstraint;
struct Scene;
struct Tex;
struct World;
struct bConstraint;
struct bGPdata;
struct bNodeTree;
struct bPoseChannel;
struct PropertyRNA;
namespace DEG {
struct Depsgraph;
struct DepsNode;
struct IDDepsNode;
struct TimeSourceDepsNode;
struct ComponentDepsNode;
struct DepsNode;
struct Depsgraph;
struct IDDepsNode;
struct OperationDepsNode;
struct TimeSourceDepsNode;
struct DepsgraphNodeBuilder {
DepsgraphNodeBuilder(Main *bmain, Depsgraph *graph);

View File

@ -49,44 +49,44 @@
#include "intern/nodes/deg_node_operation.h"
struct Base;
struct bGPdata;
struct CacheFile;
struct ListBase;
struct GHash;
struct ID;
struct EffectorWeights;
struct FCurve;
struct GHash;
struct Group;
struct ID;
struct Key;
struct ListBase;
struct MTex;
struct Main;
struct Mask;
struct Material;
struct MTex;
struct ModifierData;
struct MovieClip;
struct bNodeTree;
struct Object;
struct bPoseChannel;
struct bConstraint;
struct ParticleSystem;
struct Scene;
struct Tex;
struct World;
struct EffectorWeights;
struct bConstraint;
struct bGPdata;
struct bNodeTree;
struct bPoseChannel;
struct PropertyRNA;
namespace DEG {
struct Depsgraph;
struct ComponentDepsNode;
struct DepsNode;
struct DepsNodeHandle;
struct DepsRelation;
struct RootDepsNode;
struct Depsgraph;
struct IDDepsNode;
struct TimeSourceDepsNode;
struct ComponentDepsNode;
struct OperationDepsNode;
struct RootDepsNode;
struct RootPChanMap;
struct TimeSourceDepsNode;
struct TimeSourceKey
{

View File

@ -40,19 +40,19 @@
#include "intern/depsgraph_types.h"
struct ID;
struct GHash;
struct GSet;
struct ID;
struct PointerRNA;
struct PropertyRNA;
namespace DEG {
struct DepsNode;
struct TimeSourceDepsNode;
struct IDDepsNode;
struct ComponentDepsNode;
struct DepsNode;
struct IDDepsNode;
struct OperationDepsNode;
struct TimeSourceDepsNode;
/* *************************** */
/* Relationships Between Nodes */

View File

@ -46,8 +46,8 @@ extern "C" {
#include "intern/nodes/deg_node_operation.h"
#include "intern/depsgraph.h"
struct Main;
struct Group;
struct Main;
struct Scene;
namespace DEG {

View File

@ -45,12 +45,12 @@
#include <vector>
#include <algorithm>
struct bAction;
struct ChannelDriver;
struct ModifierData;
struct PointerRNA;
struct EvaluationContext;
struct FCurve;
struct ModifierData;
struct PointerRNA;
struct bAction;
namespace DEG {

View File

@ -34,14 +34,14 @@
#include "BLI_utildefines.h"
struct ID;
struct GHash;
struct ID;
struct Scene;
namespace DEG {
struct Depsgraph;
struct DepsRelation;
struct Depsgraph;
struct OperationDepsNode;
/* *********************************** */

View File

@ -35,18 +35,18 @@
#include "BLI_utildefines.h"
#include "BLI_string.h"
struct GHash;
struct ID;
struct bPoseChannel;
struct GHash;
struct EvaluationContext;
namespace DEG {
struct Depsgraph;
struct OperationDepsNode;
struct BoneComponentDepsNode;
struct Depsgraph;
struct IDDepsNode;
struct OperationDepsNode;
/* ID Component - Base type for all components */
struct ComponentDepsNode : public DepsNode {

View File

@ -26,11 +26,11 @@
#ifndef __BIF_GENERATE_H__
#define __BIF_GENERATE_H__
struct ToolSettings;
struct EditBone;
struct BArcIterator;
struct bArmature;
struct EditBone;
struct ListBase;
struct ToolSettings;
struct bArmature;
typedef int (NextSubdivisionFunc)(struct ToolSettings *, struct BArcIterator *, int, int, float[3], float[3]);

View File

@ -40,10 +40,10 @@ struct bContext;
struct EditBone;
struct RigGraph;
struct RigNode;
struct RigArc;
struct RigEdge;
struct RigGraph;
struct RigNode;
#define USE_THREADS

View File

@ -34,19 +34,19 @@
/* internal exports only */
struct wmOperatorType;
struct bContext;
struct Scene;
struct Object;
struct Base;
struct Object;
struct Scene;
struct bAction;
struct bContext;
struct bPoseChannel;
struct bArmature;
struct EditBone;
struct Bone;
struct EditBone;
struct bArmature;
struct ListBase;
struct LinkData;
struct ListBase;
/* ******************************************************* */
/* Armature EditMode Operators */

Some files were not shown because too many files have changed in this diff Show More