Cleanup: sort forward declarations of enum & struct
Done using: source/tools/utils_maintenance/c_sort_blocks.py
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
#define __RE_BAKE_H__
|
||||
|
||||
struct ImBuf;
|
||||
struct Render;
|
||||
struct Mesh;
|
||||
struct Render;
|
||||
|
||||
typedef struct BakeImage {
|
||||
struct Image *image;
|
||||
|
@@ -39,8 +39,7 @@
|
||||
|
||||
#include "BLI_threads.h"
|
||||
|
||||
struct bNode;
|
||||
struct bNodeTree;
|
||||
struct BakePixel;
|
||||
struct Object;
|
||||
struct Render;
|
||||
struct RenderData;
|
||||
@@ -50,7 +49,8 @@ struct RenderLayer;
|
||||
struct RenderResult;
|
||||
struct ReportList;
|
||||
struct Scene;
|
||||
struct BakePixel;
|
||||
struct bNode;
|
||||
struct bNodeTree;
|
||||
|
||||
/* External Engine */
|
||||
|
||||
|
@@ -35,8 +35,7 @@
|
||||
#include "DNA_listBase.h"
|
||||
#include "DNA_vec_types.h"
|
||||
|
||||
struct bMovieHandle;
|
||||
struct bNodeTree;
|
||||
struct EnvMap;
|
||||
struct Image;
|
||||
struct ImageFormatData;
|
||||
struct Main;
|
||||
@@ -47,8 +46,9 @@ struct RenderResult;
|
||||
struct ReportList;
|
||||
struct Scene;
|
||||
struct SceneRenderLayer;
|
||||
struct EnvMap;
|
||||
struct StampData;
|
||||
struct bMovieHandle;
|
||||
struct bNodeTree;
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
/* this include is what is exposed of render to outside world */
|
||||
|
@@ -194,11 +194,11 @@ typedef struct BakeImBufuserData {
|
||||
} BakeImBufuserData;
|
||||
|
||||
/* node shaders... */
|
||||
struct Tex;
|
||||
struct MTex;
|
||||
struct ImBuf;
|
||||
struct ImagePool;
|
||||
struct MTex;
|
||||
struct Object;
|
||||
struct Tex;
|
||||
|
||||
/* this one uses nodes */
|
||||
int multitex_ext(struct Tex *tex,
|
||||
@@ -222,8 +222,8 @@ void RE_instance_get_particle_info(struct ObjectInstanceRen *obi, float *index,
|
||||
float RE_fresnel_dielectric(float incoming[3], float normal[3], float eta);
|
||||
|
||||
/* shaded view and bake */
|
||||
struct Render;
|
||||
struct Image;
|
||||
struct Render;
|
||||
|
||||
int RE_bake_shade_all_selected(struct Render *re, int type, struct Object *actob, short *do_update, float *progress);
|
||||
struct Image *RE_bake_shade_get_image(void);
|
||||
|
@@ -42,9 +42,9 @@
|
||||
* (initrender.c)
|
||||
*/
|
||||
|
||||
struct ImagePool;
|
||||
struct Render;
|
||||
struct TexResult;
|
||||
struct ImagePool;
|
||||
|
||||
void make_envmaps(struct Render *re);
|
||||
int envmaptex(struct Tex *tex, const float texvec[3], float dxt[3], float dyt[3], int osatex, struct TexResult *texres, struct ImagePool *pool, const bool skip_image_load);
|
||||
|
@@ -34,8 +34,8 @@
|
||||
#define __OCCLUSION_H__
|
||||
|
||||
struct Render;
|
||||
struct ShadeInput;
|
||||
struct RenderPart;
|
||||
struct ShadeInput;
|
||||
struct ShadeSample;
|
||||
|
||||
void make_occ_tree(struct Render *re);
|
||||
|
@@ -40,6 +40,8 @@
|
||||
#define RR_ALL_LAYERS NULL
|
||||
#define RR_ALL_VIEWS NULL
|
||||
|
||||
struct ColorManagedDisplaySettings;
|
||||
struct ColorManagedViewSettings;
|
||||
struct ImBuf;
|
||||
struct ListBase;
|
||||
struct Render;
|
||||
@@ -49,8 +51,6 @@ struct RenderLayer;
|
||||
struct RenderResult;
|
||||
struct Scene;
|
||||
struct rcti;
|
||||
struct ColorManagedDisplaySettings;
|
||||
struct ColorManagedViewSettings;
|
||||
|
||||
/* New */
|
||||
|
||||
|
@@ -53,18 +53,18 @@
|
||||
#include "BLI_sys_types.h" // for intptr_t support
|
||||
|
||||
struct EvaluationContext;
|
||||
struct Object;
|
||||
struct MemArena;
|
||||
struct VertTableNode;
|
||||
struct VlakTableNode;
|
||||
struct GHash;
|
||||
struct ImagePool;
|
||||
struct Main;
|
||||
struct MemArena;
|
||||
struct Object;
|
||||
struct ObjectInstanceRen;
|
||||
struct RayObject;
|
||||
struct RayFace;
|
||||
struct RayObject;
|
||||
struct RenderEngine;
|
||||
struct ReportList;
|
||||
struct Main;
|
||||
struct ImagePool;
|
||||
struct VertTableNode;
|
||||
struct VlakTableNode;
|
||||
|
||||
#define TABLEINITSIZE 1024
|
||||
|
||||
@@ -407,8 +407,8 @@ struct halosort {
|
||||
};
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
struct Material;
|
||||
struct ImagePool;
|
||||
struct Material;
|
||||
|
||||
typedef struct RadFace {
|
||||
float unshot[3], totrad[3];
|
||||
|
@@ -40,12 +40,12 @@
|
||||
|
||||
#include "NOD_composite.h"
|
||||
|
||||
struct RayObject;
|
||||
struct RenderLayer;
|
||||
struct RenderPart;
|
||||
struct ShadeInput;
|
||||
struct ShadeResult;
|
||||
struct World;
|
||||
struct RenderPart;
|
||||
struct RenderLayer;
|
||||
struct RayObject;
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
|
@@ -37,21 +37,21 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct Object;
|
||||
struct VlakRen;
|
||||
struct VertRen;
|
||||
struct CustomData;
|
||||
struct HaloRen;
|
||||
struct Main;
|
||||
struct Material;
|
||||
struct Render;
|
||||
struct Isect;
|
||||
struct MCol;
|
||||
struct MTFace;
|
||||
struct CustomData;
|
||||
struct StrandBuffer;
|
||||
struct StrandRen;
|
||||
struct Main;
|
||||
struct Material;
|
||||
struct Object;
|
||||
struct ObjectInstanceRen;
|
||||
struct RadFace;
|
||||
struct Isect;
|
||||
struct Render;
|
||||
struct StrandBuffer;
|
||||
struct StrandRen;
|
||||
struct VertRen;
|
||||
struct VlakRen;
|
||||
|
||||
#define RE_QUAD_MASK 0x7FFFFFF
|
||||
#define RE_QUAD_OFFS 0x8000000
|
||||
|
@@ -64,8 +64,8 @@ float shadow_halo(LampRen *lar, const float p1[3], const float p2[3]);
|
||||
* Irregular shadowbuffer
|
||||
*/
|
||||
|
||||
struct MemArena;
|
||||
struct APixstr;
|
||||
struct MemArena;
|
||||
|
||||
void ISB_create(RenderPart *pa, struct APixstr *apixbuf);
|
||||
void ISB_free(RenderPart *pa);
|
||||
|
@@ -26,16 +26,16 @@
|
||||
*/
|
||||
|
||||
|
||||
struct Isect;
|
||||
struct LampRen;
|
||||
struct ObjectInstanceRen;
|
||||
struct PixStr;
|
||||
struct RenderLayer;
|
||||
struct RenderPart;
|
||||
struct ShadeInput;
|
||||
struct ShadeResult;
|
||||
struct RenderPart;
|
||||
struct RenderLayer;
|
||||
struct PixStr;
|
||||
struct LampRen;
|
||||
struct VlakRen;
|
||||
struct StrandPoint;
|
||||
struct ObjectInstanceRen;
|
||||
struct Isect;
|
||||
struct VlakRen;
|
||||
|
||||
/* shadeinput.c */
|
||||
|
||||
|
@@ -53,8 +53,8 @@ void scatter_tree_free(ScatterTree *tree);
|
||||
|
||||
/* Internal renderer API */
|
||||
|
||||
struct Render;
|
||||
struct Material;
|
||||
struct Render;
|
||||
|
||||
void make_sss_tree(struct Render *re);
|
||||
void sss_add_points(Render *re, float (*co)[3], float (*color)[3], float *area, int totpoint);
|
||||
|
@@ -28,17 +28,17 @@
|
||||
#ifndef __STRAND_H__
|
||||
#define __STRAND_H__
|
||||
|
||||
struct StrandVert;
|
||||
struct StrandRen;
|
||||
struct StrandBuffer;
|
||||
struct ShadeSample;
|
||||
struct StrandPart;
|
||||
struct Render;
|
||||
struct ZSpan;
|
||||
struct ObjectInstanceRen;
|
||||
struct StrandSurface;
|
||||
struct DerivedMesh;
|
||||
struct ObjectInstanceRen;
|
||||
struct ObjectRen;
|
||||
struct Render;
|
||||
struct ShadeSample;
|
||||
struct StrandBuffer;
|
||||
struct StrandPart;
|
||||
struct StrandRen;
|
||||
struct StrandSurface;
|
||||
struct StrandVert;
|
||||
struct ZSpan;
|
||||
|
||||
typedef struct StrandPoint {
|
||||
/* position within segment */
|
||||
|
@@ -64,12 +64,12 @@
|
||||
} \
|
||||
|
||||
struct HaloRen;
|
||||
struct ShadeInput;
|
||||
struct TexResult;
|
||||
struct Tex;
|
||||
struct Image;
|
||||
struct ImBuf;
|
||||
struct Image;
|
||||
struct ImagePool;
|
||||
struct ShadeInput;
|
||||
struct Tex;
|
||||
struct TexResult;
|
||||
|
||||
/* texture.h */
|
||||
|
||||
|
@@ -33,14 +33,14 @@
|
||||
#ifndef __ZBUF_H__
|
||||
#define __ZBUF_H__
|
||||
|
||||
struct RenderPart;
|
||||
struct RenderLayer;
|
||||
struct APixstr;
|
||||
struct APixstrand;
|
||||
struct LampRen;
|
||||
struct ListBase;
|
||||
struct ZSpan;
|
||||
struct APixstrand;
|
||||
struct APixstr;
|
||||
struct RenderLayer;
|
||||
struct RenderPart;
|
||||
struct StrandShadeCache;
|
||||
struct ZSpan;
|
||||
|
||||
void fillrect(int *rect, int x, int y, int val);
|
||||
|
||||
|
Reference in New Issue
Block a user