From ca629d5ccc65da456babba6c5bdbfa0de737ac7b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 30 Dec 2011 07:25:49 +0000 Subject: minor dna header cleanup --- source/blender/makesdna/DNA_ID.h | 5 ++- source/blender/makesdna/DNA_action_types.h | 10 +++-- source/blender/makesdna/DNA_anim_types.h | 6 +-- source/blender/makesdna/DNA_armature_types.h | 6 +-- source/blender/makesdna/DNA_boid_types.h | 6 +-- source/blender/makesdna/DNA_brush_types.h | 6 +-- source/blender/makesdna/DNA_camera_types.h | 5 ++- source/blender/makesdna/DNA_cloth_types.h | 5 ++- source/blender/makesdna/DNA_color_types.h | 5 ++- source/blender/makesdna/DNA_constraint_types.h | 11 +++-- source/blender/makesdna/DNA_controller_types.h | 5 ++- source/blender/makesdna/DNA_curve_types.h | 5 ++- source/blender/makesdna/DNA_customdata_types.h | 1 - source/blender/makesdna/DNA_defs.h | 6 +-- source/blender/makesdna/DNA_dynamicpaint_types.h | 39 +++++++++++------ source/blender/makesdna/DNA_effect_types.h | 5 ++- source/blender/makesdna/DNA_fileglobal_types.h | 5 ++- source/blender/makesdna/DNA_genfile.h | 6 +-- source/blender/makesdna/DNA_gpencil_types.h | 5 ++- source/blender/makesdna/DNA_group_types.h | 5 ++- source/blender/makesdna/DNA_image_types.h | 5 ++- source/blender/makesdna/DNA_lamp_types.h | 5 ++- source/blender/makesdna/DNA_lattice_types.h | 5 ++- source/blender/makesdna/DNA_listBase.h | 6 +-- source/blender/makesdna/DNA_material_types.h | 5 ++- source/blender/makesdna/DNA_mesh_types.h | 5 ++- source/blender/makesdna/DNA_meshdata_types.h | 5 ++- source/blender/makesdna/DNA_meta_types.h | 5 ++- source/blender/makesdna/DNA_modifier_types.h | 6 +-- source/blender/makesdna/DNA_movieclip_types.h | 6 +-- source/blender/makesdna/DNA_nla_types.h | 6 +-- source/blender/makesdna/DNA_node_types.h | 6 +-- source/blender/makesdna/DNA_object_fluidsim.h | 5 ++- source/blender/makesdna/DNA_object_force.h | 5 ++- source/blender/makesdna/DNA_object_types.h | 5 ++- source/blender/makesdna/DNA_outliner_types.h | 5 ++- source/blender/makesdna/DNA_packedFile_types.h | 6 +-- source/blender/makesdna/DNA_particle_types.h | 6 +-- source/blender/makesdna/DNA_property_types.h | 5 ++- source/blender/makesdna/DNA_scene_types.h | 52 +++++++++++++++++------ source/blender/makesdna/DNA_screen_types.h | 5 ++- source/blender/makesdna/DNA_sdna_types.h | 5 ++- source/blender/makesdna/DNA_sensor_types.h | 7 +-- source/blender/makesdna/DNA_sequence_types.h | 5 ++- source/blender/makesdna/DNA_smoke_types.h | 5 ++- source/blender/makesdna/DNA_sound_types.h | 5 ++- source/blender/makesdna/DNA_space_types.h | 5 ++- source/blender/makesdna/DNA_speaker_types.h | 5 ++- source/blender/makesdna/DNA_text_types.h | 5 ++- source/blender/makesdna/DNA_texture_types.h | 5 ++- source/blender/makesdna/DNA_tracking_types.h | 6 +-- source/blender/makesdna/DNA_userdef_types.h | 6 +-- source/blender/makesdna/DNA_vec_types.h | 5 ++- source/blender/makesdna/DNA_vfont_types.h | 5 ++- source/blender/makesdna/DNA_view2d_types.h | 5 ++- source/blender/makesdna/DNA_view3d_types.h | 5 ++- source/blender/makesdna/DNA_windowmanager_types.h | 5 ++- source/blender/makesdna/DNA_world_types.h | 5 ++- 58 files changed, 240 insertions(+), 155 deletions(-) (limited to 'source/blender') diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 8de7ae39a55..f0e126db813 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -24,14 +24,15 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_ID_H -#define DNA_ID_H /** \file DNA_ID.h * \ingroup DNA * \brief ID and Library types, which are fundamental for sdna. */ +#ifndef DNA_ID_H +#define DNA_ID_H + #include "DNA_listBase.h" #ifdef __cplusplus diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index 7dce437e543..9cee4e188ff 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -1,4 +1,4 @@ -/* +/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or @@ -29,7 +29,6 @@ * \ingroup DNA */ - #ifndef DNA_ACTION_TYPES_H #define DNA_ACTION_TYPES_H @@ -204,7 +203,9 @@ typedef struct bPoseChannel { bMotionPath *mpath; /* motion path cache for this bone */ struct Object *custom; /* draws custom object instead of default bone shape */ - struct bPoseChannel *custom_tx; /* odd feature, display with another bones transform. needed in rare cases for advanced rigs, since the alternative is highly complicated - campbell */ + struct bPoseChannel *custom_tx; /* odd feature, display with another bones transform. + * needed in rare cases for advanced rigs, + * since the alternative is highly complicated - campbell */ /* transforms - written in by actions or transform */ float loc[3]; @@ -219,7 +220,8 @@ typedef struct bPoseChannel { float chan_mat[4][4]; /* matrix result of loc/quat/size , and where we put deform in, see next line */ float pose_mat[4][4]; /* constraints accumulate here. in the end, pose_mat = bone->arm_mat * chan_mat */ - float constinv[4][4]; /* inverse result of constraints. doesn't include effect of restposition, parent, and local transform*/ + float constinv[4][4]; /* inverse result of constraints. + * doesn't include effect of restposition, parent, and local transform*/ float pose_head[3]; /* actually pose_mat[3] */ float pose_tail[3]; /* also used for drawing help lines... */ diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h index e1dfd652900..2233da86385 100644 --- a/source/blender/makesdna/DNA_anim_types.h +++ b/source/blender/makesdna/DNA_anim_types.h @@ -23,13 +23,13 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_ANIM_TYPES_H -#define DNA_ANIM_TYPES_H - /** \file DNA_anim_types.h * \ingroup DNA */ +#ifndef DNA_ANIM_TYPES_H +#define DNA_ANIM_TYPES_H + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/makesdna/DNA_armature_types.h b/source/blender/makesdna/DNA_armature_types.h index 442fc3ddcce..45c30315575 100644 --- a/source/blender/makesdna/DNA_armature_types.h +++ b/source/blender/makesdna/DNA_armature_types.h @@ -23,13 +23,13 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_ARMATURE_TYPES_H -#define DNA_ARMATURE_TYPES_H - /** \file DNA_armature_types.h * \ingroup DNA */ +#ifndef DNA_ARMATURE_TYPES_H +#define DNA_ARMATURE_TYPES_H + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_boid_types.h b/source/blender/makesdna/DNA_boid_types.h index 4de03f55077..53ff5179049 100644 --- a/source/blender/makesdna/DNA_boid_types.h +++ b/source/blender/makesdna/DNA_boid_types.h @@ -26,13 +26,13 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_BOID_TYPES_H -#define DNA_BOID_TYPES_H - /** \file DNA_boid_types.h * \ingroup DNA */ +#ifndef DNA_BOID_TYPES_H +#define DNA_BOID_TYPES_H + #include "DNA_listBase.h" typedef enum BoidRuleType { diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 1dfef225828..e5c500f1fea 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -25,13 +25,13 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_BRUSH_TYPES_H -#define DNA_BRUSH_TYPES_H - /** \file DNA_brush_types.h * \ingroup DNA */ +#ifndef DNA_BRUSH_TYPES_H +#define DNA_BRUSH_TYPES_H + #include "DNA_ID.h" #include "DNA_texture_types.h" /* for MTex */ diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h index ff04a7fd366..a46be730d6c 100644 --- a/source/blender/makesdna/DNA_camera_types.h +++ b/source/blender/makesdna/DNA_camera_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_CAMERA_TYPES_H -#define DNA_CAMERA_TYPES_H /** \file DNA_camera_types.h * \ingroup DNA */ +#ifndef DNA_CAMERA_TYPES_H +#define DNA_CAMERA_TYPES_H + #include "DNA_defs.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_cloth_types.h b/source/blender/makesdna/DNA_cloth_types.h index 7b2fb292d27..5c333c3fc1f 100644 --- a/source/blender/makesdna/DNA_cloth_types.h +++ b/source/blender/makesdna/DNA_cloth_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_CLOTH_TYPES_H -#define DNA_CLOTH_TYPES_H /** \file DNA_cloth_types.h * \ingroup DNA */ +#ifndef DNA_CLOTH_TYPES_H +#define DNA_CLOTH_TYPES_H + /** * This struct contains all the global data required to run a simulation. * At the time of this writing, this structure contains data appropriate diff --git a/source/blender/makesdna/DNA_color_types.h b/source/blender/makesdna/DNA_color_types.h index f3cfab4503b..f5762f8b49f 100644 --- a/source/blender/makesdna/DNA_color_types.h +++ b/source/blender/makesdna/DNA_color_types.h @@ -24,13 +24,14 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ -#ifndef DNA_COLOR_TYPES_H -#define DNA_COLOR_TYPES_H /** \file DNA_color_types.h * \ingroup DNA */ +#ifndef DNA_COLOR_TYPES_H +#define DNA_COLOR_TYPES_H + #include "DNA_vec_types.h" /* general defines for kernel functions */ diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h index 87c680a6ee2..dd18ba903f6 100644 --- a/source/blender/makesdna/DNA_constraint_types.h +++ b/source/blender/makesdna/DNA_constraint_types.h @@ -26,13 +26,13 @@ * Constraint DNA data */ -#ifndef DNA_CONSTRAINT_TYPES_H -#define DNA_CONSTRAINT_TYPES_H - /** \file DNA_constraint_types.h * \ingroup DNA */ +#ifndef DNA_CONSTRAINT_TYPES_H +#define DNA_CONSTRAINT_TYPES_H + #include "DNA_defs.h" #include "DNA_ID.h" #include "DNA_listBase.h" @@ -180,7 +180,10 @@ typedef struct bSplineIKConstraint { /* Track To Constraint */ typedef struct bTrackToConstraint { struct Object *tar; - int reserved1; /* I'll be using reserved1 and reserved2 as Track and Up flags, not sure if that's what they were intented for anyway. Not sure either if it would create backward incompatibility if I were to rename them. - theeth*/ + int reserved1; /* I'll be using reserved1 and reserved2 as Track and Up flags, + * not sure if that's what they were intented for anyway. + * Not sure either if it would create backward incompatibility if I were to rename them. + * - theeth*/ int reserved2; int flags; int pad; diff --git a/source/blender/makesdna/DNA_controller_types.h b/source/blender/makesdna/DNA_controller_types.h index 049e7bd4886..c8f4325d717 100644 --- a/source/blender/makesdna/DNA_controller_types.h +++ b/source/blender/makesdna/DNA_controller_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_CONTROLLER_TYPES_H -#define DNA_CONTROLLER_TYPES_H /** \file DNA_controller_types.h * \ingroup DNA */ +#ifndef DNA_CONTROLLER_TYPES_H +#define DNA_CONTROLLER_TYPES_H + struct bActuator; struct Text; struct bSensor; diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 545829911e5..ffcc516f393 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_CURVE_TYPES_H -#define DNA_CURVE_TYPES_H /** \file DNA_curve_types.h * \ingroup DNA */ +#ifndef DNA_CURVE_TYPES_H +#define DNA_CURVE_TYPES_H + #include "DNA_defs.h" #include "DNA_listBase.h" #include "DNA_vec_types.h" diff --git a/source/blender/makesdna/DNA_customdata_types.h b/source/blender/makesdna/DNA_customdata_types.h index 0b0ffb42ba8..8259eea42ce 100644 --- a/source/blender/makesdna/DNA_customdata_types.h +++ b/source/blender/makesdna/DNA_customdata_types.h @@ -29,7 +29,6 @@ * \ingroup DNA */ - #ifndef DNA_CUSTOMDATA_TYPES_H #define DNA_CUSTOMDATA_TYPES_H diff --git a/source/blender/makesdna/DNA_defs.h b/source/blender/makesdna/DNA_defs.h index 54dfc18a03c..575938da653 100644 --- a/source/blender/makesdna/DNA_defs.h +++ b/source/blender/makesdna/DNA_defs.h @@ -20,13 +20,13 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_DEFS_H -#define DNA_DEFS_H - /** \file DNA_defs.h * \ingroup DNA */ +#ifndef DNA_DEFS_H +#define DNA_DEFS_H + /* makesdna ignores */ #ifdef DNA_DEPRECATED_ALLOW /* allow use of deprecated items */ diff --git a/source/blender/makesdna/DNA_dynamicpaint_types.h b/source/blender/makesdna/DNA_dynamicpaint_types.h index fdfd1e2b754..d58e11d9640 100644 --- a/source/blender/makesdna/DNA_dynamicpaint_types.h +++ b/source/blender/makesdna/DNA_dynamicpaint_types.h @@ -1,15 +1,30 @@ -/** -* ***** BEGIN GPL LICENSE BLOCK ***** -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* of the License, or (at your option) any later version. -* -* Contributor(s): Miika Hämäläinen -* -* ***** END GPL LICENSE BLOCK ***** -*/ +/* + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * Contributor(s): Miika Hämäläinen + * + * ***** END GPL LICENSE BLOCK ***** + * + */ + +/** \file DNA_dynamicpaint_types.h + * \ingroup DNA + */ + #ifndef DNA_DYNAMICPAINT_TYPES_H #define DNA_DYNAMICPAINT_TYPES_H diff --git a/source/blender/makesdna/DNA_effect_types.h b/source/blender/makesdna/DNA_effect_types.h index 237360f003e..b7437b5e973 100644 --- a/source/blender/makesdna/DNA_effect_types.h +++ b/source/blender/makesdna/DNA_effect_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_EFFECT_TYPES_H -#define DNA_EFFECT_TYPES_H /** \file DNA_effect_types.h * \ingroup DNA */ +#ifndef DNA_EFFECT_TYPES_H +#define DNA_EFFECT_TYPES_H + /* don't forget, new effects also in writefile.c for dna!!! */ #define PAF_MAXMULT 4 diff --git a/source/blender/makesdna/DNA_fileglobal_types.h b/source/blender/makesdna/DNA_fileglobal_types.h index c606e5132d2..31ad628d630 100644 --- a/source/blender/makesdna/DNA_fileglobal_types.h +++ b/source/blender/makesdna/DNA_fileglobal_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_FILEGLOBAL_TYPES_H -#define DNA_FILEGLOBAL_TYPES_H /** \file DNA_fileglobal_types.h * \ingroup DNA */ +#ifndef DNA_FILEGLOBAL_TYPES_H +#define DNA_FILEGLOBAL_TYPES_H + struct bScreen; struct Scene; diff --git a/source/blender/makesdna/DNA_genfile.h b/source/blender/makesdna/DNA_genfile.h index be13c8bba4f..6516b50402d 100644 --- a/source/blender/makesdna/DNA_genfile.h +++ b/source/blender/makesdna/DNA_genfile.h @@ -25,14 +25,14 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef GENFILE_H -#define GENFILE_H - /** \file DNA_genfile.h * \ingroup DNA * \brief blenloader genfile private function prototypes */ +#ifndef DNA_GENFILE_H +#define DNA_GENFILE_H + struct SDNA; extern unsigned char DNAstr[]; /* DNA.c */ diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h index a4d0b3685e3..71f0dbb60b1 100644 --- a/source/blender/makesdna/DNA_gpencil_types.h +++ b/source/blender/makesdna/DNA_gpencil_types.h @@ -22,13 +22,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_GPENCIL_TYPES_H -#define DNA_GPENCIL_TYPES_H /** \file DNA_gpencil_types.h * \ingroup DNA */ +#ifndef DNA_GPENCIL_TYPES_H +#define DNA_GPENCIL_TYPES_H + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_group_types.h b/source/blender/makesdna/DNA_group_types.h index e174900aa8d..ab42086d6d0 100644 --- a/source/blender/makesdna/DNA_group_types.h +++ b/source/blender/makesdna/DNA_group_types.h @@ -27,13 +27,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_GROUP_TYPES_H -#define DNA_GROUP_TYPES_H /** \file DNA_group_types.h * \ingroup DNA */ +#ifndef DNA_GROUP_TYPES_H +#define DNA_GROUP_TYPES_H + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h index 4c3cc0ac0eb..fc8807d0f7c 100644 --- a/source/blender/makesdna/DNA_image_types.h +++ b/source/blender/makesdna/DNA_image_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_IMAGE_TYPES_H -#define DNA_IMAGE_TYPES_H /** \file DNA_image_types.h * \ingroup DNA */ +#ifndef DNA_IMAGE_TYPES_H +#define DNA_IMAGE_TYPES_H + #include "DNA_ID.h" struct PackedFile; diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h index 1c22583b82c..18fbde8a3c3 100644 --- a/source/blender/makesdna/DNA_lamp_types.h +++ b/source/blender/makesdna/DNA_lamp_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_LAMP_TYPES_H -#define DNA_LAMP_TYPES_H /** \file DNA_lamp_types.h * \ingroup DNA */ +#ifndef DNA_LAMP_TYPES_H +#define DNA_LAMP_TYPES_H + #include "DNA_defs.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_lattice_types.h b/source/blender/makesdna/DNA_lattice_types.h index baa2f5f911a..2a67afb5708 100644 --- a/source/blender/makesdna/DNA_lattice_types.h +++ b/source/blender/makesdna/DNA_lattice_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_LATTICE_TYPES_H -#define DNA_LATTICE_TYPES_H /** \file DNA_lattice_types.h * \ingroup DNA */ +#ifndef DNA_LATTICE_TYPES_H +#define DNA_LATTICE_TYPES_H + #include "DNA_defs.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_listBase.h b/source/blender/makesdna/DNA_listBase.h index 6a472272382..99ad6f41e96 100644 --- a/source/blender/makesdna/DNA_listBase.h +++ b/source/blender/makesdna/DNA_listBase.h @@ -27,15 +27,15 @@ * */ -#ifndef DNA_LISTBASE_H -#define DNA_LISTBASE_H - /** \file DNA_listBase.h * \ingroup DNA * \brief These structs are the foundation for all linked lists in the * library system. */ +#ifndef DNA_LISTBASE_H +#define DNA_LISTBASE_H + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 189f52eead9..55e9328a72a 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_MATERIAL_TYPES_H -#define DNA_MATERIAL_TYPES_H /** \file DNA_material_types.h * \ingroup DNA */ +#ifndef DNA_MATERIAL_TYPES_H +#define DNA_MATERIAL_TYPES_H + #include "DNA_defs.h" #include "DNA_ID.h" #include "DNA_listBase.h" diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index eae7102ef42..1dc96190c67 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_MESH_TYPES_H -#define DNA_MESH_TYPES_H /** \file DNA_mesh_types.h * \ingroup DNA */ +#ifndef DNA_MESH_TYPES_H +#define DNA_MESH_TYPES_H + #include "DNA_defs.h" #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index ab4b560943f..ce9d1538fed 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_MESHDATA_TYPES_H -#define DNA_MESHDATA_TYPES_H /** \file DNA_meshdata_types.h * \ingroup DNA */ +#ifndef DNA_MESHDATA_TYPES_H +#define DNA_MESHDATA_TYPES_H + #include "DNA_customdata_types.h" #include "DNA_listBase.h" diff --git a/source/blender/makesdna/DNA_meta_types.h b/source/blender/makesdna/DNA_meta_types.h index 1ce90e7d526..ae658cee8f5 100644 --- a/source/blender/makesdna/DNA_meta_types.h +++ b/source/blender/makesdna/DNA_meta_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_META_TYPES_H -#define DNA_META_TYPES_H /** \file DNA_meta_types.h * \ingroup DNA */ +#ifndef DNA_META_TYPES_H +#define DNA_META_TYPES_H + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index da77f7a85cf..2b62f70c319 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -18,13 +18,13 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_MODIFIER_TYPES_H -#define DNA_MODIFIER_TYPES_H - /** \file DNA_modifier_types.h * \ingroup DNA */ +#ifndef DNA_MODIFIER_TYPES_H +#define DNA_MODIFIER_TYPES_H + #include "DNA_defs.h" #include "DNA_listBase.h" diff --git a/source/blender/makesdna/DNA_movieclip_types.h b/source/blender/makesdna/DNA_movieclip_types.h index 1a065741121..5d2f2f5978f 100644 --- a/source/blender/makesdna/DNA_movieclip_types.h +++ b/source/blender/makesdna/DNA_movieclip_types.h @@ -26,15 +26,15 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_MOVIECLIP_TYPES_H -#define DNA_MOVIECLIP_TYPES_H - /** \file DNA_movieclip_types.h * \ingroup DNA * \since may-2011 * \author Sergey Sharybin */ +#ifndef DNA_MOVIECLIP_TYPES_H +#define DNA_MOVIECLIP_TYPES_H + #include "DNA_ID.h" #include "DNA_tracking_types.h" diff --git a/source/blender/makesdna/DNA_nla_types.h b/source/blender/makesdna/DNA_nla_types.h index b92cf5c67e4..a28097e8449 100644 --- a/source/blender/makesdna/DNA_nla_types.h +++ b/source/blender/makesdna/DNA_nla_types.h @@ -25,13 +25,13 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_NLA_TYPES_H -#define DNA_NLA_TYPES_H - /** \file DNA_nla_types.h * \ingroup DNA */ +#ifndef DNA_NLA_TYPES_H +#define DNA_NLA_TYPES_H + #include "DNA_listBase.h" struct bAction; diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 2dfc05bda04..aa9b43584fd 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -25,13 +25,13 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_NODE_TYPES_H -#define DNA_NODE_TYPES_H - /** \file DNA_node_types.h * \ingroup DNA */ +#ifndef DNA_NODE_TYPES_H +#define DNA_NODE_TYPES_H + #include "DNA_ID.h" #include "DNA_vec_types.h" #include "DNA_listBase.h" diff --git a/source/blender/makesdna/DNA_object_fluidsim.h b/source/blender/makesdna/DNA_object_fluidsim.h index fd6f4afd593..022dc53848f 100644 --- a/source/blender/makesdna/DNA_object_fluidsim.h +++ b/source/blender/makesdna/DNA_object_fluidsim.h @@ -26,13 +26,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_OBJECT_FLUIDSIM_H -#define DNA_OBJECT_FLUIDSIM_H /** \file DNA_object_fluidsim.h * \ingroup DNA */ +#ifndef DNA_OBJECT_FLUIDSIM_H +#define DNA_OBJECT_FLUIDSIM_H + #include "DNA_ID.h" #ifdef __cplusplus diff --git a/source/blender/makesdna/DNA_object_force.h b/source/blender/makesdna/DNA_object_force.h index 61fc44d94ff..5875ff30bcc 100644 --- a/source/blender/makesdna/DNA_object_force.h +++ b/source/blender/makesdna/DNA_object_force.h @@ -26,13 +26,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_OBJECT_FORCE_H -#define DNA_OBJECT_FORCE_H /** \file DNA_object_force.h * \ingroup DNA */ +#ifndef DNA_OBJECT_FORCE_H +#define DNA_OBJECT_FORCE_H + #ifdef __cplusplus extern "C" { #endif diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 46b971e8e0d..7f1239195ec 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -24,14 +24,15 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_OBJECT_TYPES_H -#define DNA_OBJECT_TYPES_H /** \file DNA_object_types.h * \ingroup DNA * \brief Object is a sort of wrapper for general info. */ +#ifndef DNA_OBJECT_TYPES_H +#define DNA_OBJECT_TYPES_H + #include "DNA_defs.h" #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_outliner_types.h b/source/blender/makesdna/DNA_outliner_types.h index ec8f85ea91f..ee3903c3b40 100644 --- a/source/blender/makesdna/DNA_outliner_types.h +++ b/source/blender/makesdna/DNA_outliner_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_OUTLINER_TYPES_H -#define DNA_OUTLINER_TYPES_H /** \file DNA_outliner_types.h * \ingroup DNA */ +#ifndef DNA_OUTLINER_TYPES_H +#define DNA_OUTLINER_TYPES_H + #include "DNA_listBase.h" struct ID; diff --git a/source/blender/makesdna/DNA_packedFile_types.h b/source/blender/makesdna/DNA_packedFile_types.h index bbbbf39619b..91134c2c575 100644 --- a/source/blender/makesdna/DNA_packedFile_types.h +++ b/source/blender/makesdna/DNA_packedFile_types.h @@ -25,15 +25,15 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_PACKEDFILE_TYPES_H -#define DNA_PACKEDFILE_TYPES_H - /** \file DNA_packedFile_types.h * \ingroup DNA * \author nzc * \since 12-oct-2000 nzc */ +#ifndef DNA_PACKEDFILE_TYPES_H +#define DNA_PACKEDFILE_TYPES_H + typedef struct PackedFile { int size; int seek; diff --git a/source/blender/makesdna/DNA_particle_types.h b/source/blender/makesdna/DNA_particle_types.h index 504c847a9ea..07efd17df7f 100644 --- a/source/blender/makesdna/DNA_particle_types.h +++ b/source/blender/makesdna/DNA_particle_types.h @@ -25,13 +25,13 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_PARTICLE_TYPES_H -#define DNA_PARTICLE_TYPES_H - /** \file DNA_particle_types.h * \ingroup DNA */ +#ifndef DNA_PARTICLE_TYPES_H +#define DNA_PARTICLE_TYPES_H + #include "DNA_defs.h" #include "DNA_ID.h" #include "DNA_boid_types.h" diff --git a/source/blender/makesdna/DNA_property_types.h b/source/blender/makesdna/DNA_property_types.h index 004016606a5..e74ae41a421 100644 --- a/source/blender/makesdna/DNA_property_types.h +++ b/source/blender/makesdna/DNA_property_types.h @@ -27,8 +27,6 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_PROPERTY_TYPES_H -#define DNA_PROPERTY_TYPES_H /** \file DNA_property_types.h * \ingroup DNA @@ -38,6 +36,9 @@ * hierarchy here is a bit strange, and not desirable. */ +#ifndef DNA_PROPERTY_TYPES_H +#define DNA_PROPERTY_TYPES_H + /* ********************* PROPERTY ************************ */ typedef struct bProperty { diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 64b5bda3fc8..d1ab12433fb 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_SCENE_TYPES_H -#define DNA_SCENE_TYPES_H /** \file DNA_scene_types.h * \ingroup DNA */ +#ifndef DNA_SCENE_TYPES_H +#define DNA_SCENE_TYPES_H + #include "DNA_defs.h" // XXX, temp feature - campbell @@ -332,9 +333,15 @@ typedef struct RenderData { /** For UR edge rendering: give the edges this color */ float edgeR, edgeG, edgeB; - - short fullscreen DNA_DEPRECATED, xplay DNA_DEPRECATED, yplay DNA_DEPRECATED, freqplay DNA_DEPRECATED; /* standalone player */ // XXX deprecated since 2.5 - short depth DNA_DEPRECATED, attrib DNA_DEPRECATED; /* standalone player */ // XXX deprecated since 2.5 + + + /* standalone player */ // XXX deprecated since 2.5 + short fullscreen DNA_DEPRECATED, xplay DNA_DEPRECATED, yplay DNA_DEPRECATED; + short freqplay DNA_DEPRECATED; + /* standalone player */ // XXX deprecated since 2.5 + short depth DNA_DEPRECATED, attrib DNA_DEPRECATED; + + int frame_step; /* frames to jump during render/playback */ short stereomode DNA_DEPRECATED; /* standalone player stereo settings */ // XXX deprecated since 2.5 @@ -1083,7 +1090,9 @@ typedef struct Scene { #define R_STAMP_SEQSTRIP 0x0200 #define R_STAMP_RENDERTIME 0x0400 #define R_STAMP_CAMERALENS 0x0800 -#define R_STAMP_ALL (R_STAMP_TIME|R_STAMP_FRAME|R_STAMP_DATE|R_STAMP_CAMERA|R_STAMP_SCENE|R_STAMP_NOTE|R_STAMP_MARKER|R_STAMP_FILENAME|R_STAMP_SEQSTRIP|R_STAMP_RENDERTIME|R_STAMP_CAMERALENS) +#define R_STAMP_ALL (R_STAMP_TIME|R_STAMP_FRAME|R_STAMP_DATE|R_STAMP_CAMERA|R_STAMP_SCENE| \ + R_STAMP_NOTE|R_STAMP_MARKER|R_STAMP_FILENAME|R_STAMP_SEQSTRIP| \ + R_STAMP_RENDERTIME|R_STAMP_CAMERALENS) /* alphamode */ #define R_ADDSKY 0 @@ -1141,12 +1150,31 @@ typedef struct Scene { #define MINAFRAMEF -300000.0f /* depricate this! */ -#define TESTBASE(v3d, base) ( ((base)->flag & SELECT) && ((base)->lay & v3d->lay) && (((base)->object->restrictflag & OB_RESTRICT_VIEW)==0) ) -#define TESTBASELIB(v3d, base) ( ((base)->flag & SELECT) && ((base)->lay & v3d->lay) && ((base)->object->id.lib==NULL) && (((base)->object->restrictflag & OB_RESTRICT_VIEW)==0)) -#define TESTBASELIB_BGMODE(v3d, scene, base) ( ((base)->flag & SELECT) && ((base)->lay & (v3d ? v3d->lay : scene->lay)) && ((base)->object->id.lib==NULL) && (((base)->object->restrictflag & OB_RESTRICT_VIEW)==0)) -#define BASE_EDITABLE_BGMODE(v3d, scene, base) (((base)->lay & (v3d ? v3d->lay : scene->lay)) && ((base)->object->id.lib==NULL) && (((base)->object->restrictflag & OB_RESTRICT_VIEW)==0)) -#define BASE_SELECTABLE(v3d, base) ((base->lay & v3d->lay) && (base->object->restrictflag & (OB_RESTRICT_SELECT|OB_RESTRICT_VIEW))==0) -#define BASE_VISIBLE(v3d, base) ((base->lay & v3d->lay) && (base->object->restrictflag & OB_RESTRICT_VIEW)==0) +#define TESTBASE(v3d, base) ( \ + ((base)->flag & SELECT) && \ + ((base)->lay & v3d->lay) && \ + (((base)->object->restrictflag & OB_RESTRICT_VIEW)==0) ) +#define TESTBASELIB(v3d, base) ( \ + ((base)->flag & SELECT) && \ + ((base)->lay & v3d->lay) && \ + ((base)->object->id.lib==NULL) && \ + (((base)->object->restrictflag & OB_RESTRICT_VIEW)==0) ) +#define TESTBASELIB_BGMODE(v3d, scene, base) ( \ + ((base)->flag & SELECT) && \ + ((base)->lay & (v3d ? v3d->lay : scene->lay)) && \ + ((base)->object->id.lib==NULL) && \ + (((base)->object->restrictflag & OB_RESTRICT_VIEW)==0) ) +#define BASE_EDITABLE_BGMODE(v3d, scene, base) ( \ + ((base)->lay & (v3d ? v3d->lay : scene->lay)) && \ + ((base)->object->id.lib==NULL) && \ + (((base)->object->restrictflag & OB_RESTRICT_VIEW)==0)) +#define BASE_SELECTABLE(v3d, base) ( \ + (base->lay & v3d->lay) && \ + (base->object->restrictflag & (OB_RESTRICT_SELECT|OB_RESTRICT_VIEW))==0 ) +#define BASE_VISIBLE(v3d, base) ( \ + (base->lay & v3d->lay) && \ + (base->object->restrictflag & OB_RESTRICT_VIEW)==0 ) + #define FIRSTBASE scene->base.first #define LASTBASE scene->base.last #define BASACT (scene->basact) diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index c90a0acc273..504c8da7612 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -22,13 +22,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_SCREEN_TYPES_H -#define DNA_SCREEN_TYPES_H /** \file DNA_screen_types.h * \ingroup DNA */ +#ifndef DNA_SCREEN_TYPES_H +#define DNA_SCREEN_TYPES_H + #include "DNA_listBase.h" #include "DNA_view2d_types.h" #include "DNA_vec_types.h" diff --git a/source/blender/makesdna/DNA_sdna_types.h b/source/blender/makesdna/DNA_sdna_types.h index b3419a77aab..462ff8ce045 100644 --- a/source/blender/makesdna/DNA_sdna_types.h +++ b/source/blender/makesdna/DNA_sdna_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_SDNA_H -#define DNA_SDNA_H /** * \file DNA_sdna_types.h * \ingroup DNA */ +#ifndef DNA_SDNA_H +#define DNA_SDNA_H + # # typedef struct SDNA { diff --git a/source/blender/makesdna/DNA_sensor_types.h b/source/blender/makesdna/DNA_sensor_types.h index 451774b1abb..e7444b06898 100644 --- a/source/blender/makesdna/DNA_sensor_types.h +++ b/source/blender/makesdna/DNA_sensor_types.h @@ -24,15 +24,16 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_SENSOR_TYPES_H -#define DNA_SENSOR_TYPES_H + /** \file DNA_sensor_types.h * \ingroup DNA * \since mar-2001 * \author nzc - * */ +#ifndef DNA_SENSOR_TYPES_H +#define DNA_SENSOR_TYPES_H + struct Object; struct Material; diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index 50f406afbf9..aab20dbeee1 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -24,14 +24,15 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_SEQUENCE_TYPES_H -#define DNA_SEQUENCE_TYPES_H /** \file DNA_sequence_types.h * \ingroup DNA * \since mar-2001 * \author nzc */ +#ifndef DNA_SEQUENCE_TYPES_H +#define DNA_SEQUENCE_TYPES_H + #include "DNA_defs.h" #include "DNA_listBase.h" #include "DNA_vec_types.h" diff --git a/source/blender/makesdna/DNA_smoke_types.h b/source/blender/makesdna/DNA_smoke_types.h index 5b3aae6e4a8..ed764c4f644 100644 --- a/source/blender/makesdna/DNA_smoke_types.h +++ b/source/blender/makesdna/DNA_smoke_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_SMOKE_TYPES_H -#define DNA_SMOKE_TYPES_H /** \file DNA_smoke_types.h * \ingroup DNA */ +#ifndef DNA_SMOKE_TYPES_H +#define DNA_SMOKE_TYPES_H + /* flags */ #define MOD_SMOKE_HIGHRES (1<<1) /* enable high resolution */ #define MOD_SMOKE_DISSOLVE (1<<2) /* let smoke dissolve */ diff --git a/source/blender/makesdna/DNA_sound_types.h b/source/blender/makesdna/DNA_sound_types.h index b83ab0f9f75..f530730a544 100644 --- a/source/blender/makesdna/DNA_sound_types.h +++ b/source/blender/makesdna/DNA_sound_types.h @@ -24,14 +24,15 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_SOUND_TYPES_H -#define DNA_SOUND_TYPES_H /** \file DNA_sound_types.h * \ingroup DNA * \since mar-2001 * \author nzc */ +#ifndef DNA_SOUND_TYPES_H +#define DNA_SOUND_TYPES_H + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 29967dfc1bd..d502e56bf10 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -24,14 +24,15 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_SPACE_TYPES_H -#define DNA_SPACE_TYPES_H /** \file DNA_space_types.h * \ingroup DNA * \since mar-2001 * \author nzc */ +#ifndef DNA_SPACE_TYPES_H +#define DNA_SPACE_TYPES_H + #include "DNA_defs.h" #include "DNA_listBase.h" #include "DNA_color_types.h" /* for Histogram */ diff --git a/source/blender/makesdna/DNA_speaker_types.h b/source/blender/makesdna/DNA_speaker_types.h index 02106fa45ad..2e8227f4f92 100644 --- a/source/blender/makesdna/DNA_speaker_types.h +++ b/source/blender/makesdna/DNA_speaker_types.h @@ -19,13 +19,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_SPEAKER_TYPES_H -#define DNA_SPEAKER_TYPES_H /** \file DNA_speaker_types.h * \ingroup DNA */ +#ifndef DNA_SPEAKER_TYPES_H +#define DNA_SPEAKER_TYPES_H + #include "DNA_ID.h" struct AnimData; diff --git a/source/blender/makesdna/DNA_text_types.h b/source/blender/makesdna/DNA_text_types.h index 18622cfe75f..67f3c5288f6 100644 --- a/source/blender/makesdna/DNA_text_types.h +++ b/source/blender/makesdna/DNA_text_types.h @@ -24,14 +24,15 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_TEXT_TYPES_H -#define DNA_TEXT_TYPES_H /** \file DNA_text_types.h * \ingroup DNA * \since mar-2001 * \author nzc */ +#ifndef DNA_TEXT_TYPES_H +#define DNA_TEXT_TYPES_H + #include "DNA_listBase.h" #include "DNA_ID.h" diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h index 5d060f152aa..82ffa82cf60 100644 --- a/source/blender/makesdna/DNA_texture_types.h +++ b/source/blender/makesdna/DNA_texture_types.h @@ -24,8 +24,6 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_TEXTURE_TYPES_H -#define DNA_TEXTURE_TYPES_H /** \file DNA_texture_types.h * \ingroup DNA @@ -33,6 +31,9 @@ * \author nzc */ +#ifndef DNA_TEXTURE_TYPES_H +#define DNA_TEXTURE_TYPES_H + #include "DNA_defs.h" #include "DNA_ID.h" #include "DNA_image_types.h" /* ImageUser */ diff --git a/source/blender/makesdna/DNA_tracking_types.h b/source/blender/makesdna/DNA_tracking_types.h index 82ccbf87c0b..a93ce75ebc9 100644 --- a/source/blender/makesdna/DNA_tracking_types.h +++ b/source/blender/makesdna/DNA_tracking_types.h @@ -26,15 +26,15 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_TRACKING_TYPES_H -#define DNA_TRACKING_TYPES_H - /** \file DNA_tracking_types.h * \ingroup DNA * \since may-2011 * \author Sergey Sharybin */ +#ifndef DNA_TRACKING_TYPES_H +#define DNA_TRACKING_TYPES_H + #include "DNA_listBase.h" /* match-moving data */ diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index b30a1baf7bb..b3398460500 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -25,15 +25,15 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_USERDEF_TYPES_H -#define DNA_USERDEF_TYPES_H /** \file DNA_userdef_types.h * \ingroup DNA * \since mar-2001 * \author nzc - * */ +#ifndef DNA_USERDEF_TYPES_H +#define DNA_USERDEF_TYPES_H + #include "DNA_listBase.h" #include "DNA_texture_types.h" /* ColorBand */ diff --git a/source/blender/makesdna/DNA_vec_types.h b/source/blender/makesdna/DNA_vec_types.h index 75ac69cb379..10135ba85e9 100644 --- a/source/blender/makesdna/DNA_vec_types.h +++ b/source/blender/makesdna/DNA_vec_types.h @@ -26,14 +26,15 @@ * */ -#ifndef DNA_VEC_TYPES_H -#define DNA_VEC_TYPES_H /** \file DNA_vec_types.h * \ingroup DNA * \since dec-2000 * \author nzc */ +#ifndef DNA_VEC_TYPES_H +#define DNA_VEC_TYPES_H + /* types */ /** vector of two shorts. */ diff --git a/source/blender/makesdna/DNA_vfont_types.h b/source/blender/makesdna/DNA_vfont_types.h index d51b59b966e..7132751848d 100644 --- a/source/blender/makesdna/DNA_vfont_types.h +++ b/source/blender/makesdna/DNA_vfont_types.h @@ -24,8 +24,6 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_VFONT_TYPES_H -#define DNA_VFONT_TYPES_H /** \file DNA_vfont_types.h * \ingroup DNA @@ -33,6 +31,9 @@ * \author nzc */ +#ifndef DNA_VFONT_TYPES_H +#define DNA_VFONT_TYPES_H + #include "DNA_ID.h" struct PackedFile; diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h index 8f64246db31..0581cad4170 100644 --- a/source/blender/makesdna/DNA_view2d_types.h +++ b/source/blender/makesdna/DNA_view2d_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_VIEW2D_TYPES_H -#define DNA_VIEW2D_TYPES_H /** \file DNA_view2d_types.h * \ingroup DNA */ +#ifndef DNA_VIEW2D_TYPES_H +#define DNA_VIEW2D_TYPES_H + #include "DNA_vec_types.h" /* ---------------------------------- */ diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 51ee8f63df5..ae026b0bcc9 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_VIEW3D_TYPES_H -#define DNA_VIEW3D_TYPES_H /** \file DNA_view3d_types.h * \ingroup DNA */ +#ifndef DNA_VIEW3D_TYPES_H +#define DNA_VIEW3D_TYPES_H + struct ViewDepths; struct Object; struct Image; diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index 0065fc110c3..57989424d4a 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -23,13 +23,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_WINDOWMANAGER_TYPES_H -#define DNA_WINDOWMANAGER_TYPES_H /** \file DNA_windowmanager_types.h * \ingroup DNA */ +#ifndef DNA_WINDOWMANAGER_TYPES_H +#define DNA_WINDOWMANAGER_TYPES_H + #include "DNA_listBase.h" #include "DNA_vec_types.h" diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h index 149393b6723..a04ea89a291 100644 --- a/source/blender/makesdna/DNA_world_types.h +++ b/source/blender/makesdna/DNA_world_types.h @@ -24,13 +24,14 @@ * * ***** END GPL LICENSE BLOCK ***** */ -#ifndef DNA_WORLD_TYPES_H -#define DNA_WORLD_TYPES_H /** \file DNA_world_types.h * \ingroup DNA */ +#ifndef DNA_WORLD_TYPES_H +#define DNA_WORLD_TYPES_H + #include "DNA_defs.h" #include "DNA_ID.h" -- cgit v1.2.3