Cleanup: comments in struct declarations
Use a consistent style for declaring the names of struct members in their declarations. Note that this convention was already used in many places but not everywhere. Remove spaces around the text (matching commented arguments) with the advantage that the the spell checking utility skips these terms. Making it possible to extract & validate these comments automatically. Also use struct names for `bAnimChannelType` & `bConstraintTypeInfo` which were using brief descriptions.
This commit is contained in:
@@ -64,19 +64,19 @@ static void panelRegister(ARegionType *region_type)
|
||||
}
|
||||
|
||||
ShaderFxTypeInfo shaderfx_Type_Blur = {
|
||||
/* name */ N_("Blur"),
|
||||
/* structName */ "BlurShaderFxData",
|
||||
/* structSize */ sizeof(BlurShaderFxData),
|
||||
/* type */ eShaderFxType_GpencilType,
|
||||
/* flags */ 0,
|
||||
/*name*/ N_("Blur"),
|
||||
/*structName*/ "BlurShaderFxData",
|
||||
/*structSize*/ sizeof(BlurShaderFxData),
|
||||
/*type*/ eShaderFxType_GpencilType,
|
||||
/*flags*/ 0,
|
||||
|
||||
/* copyData */ copyData,
|
||||
/*copyData*/ copyData,
|
||||
|
||||
/* initData */ initData,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ NULL,
|
||||
/* updateDepsgraph */ NULL,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* foreachIDLink */ NULL,
|
||||
/* panelRegister */ panelRegister,
|
||||
/*initData*/ initData,
|
||||
/*freeData*/ NULL,
|
||||
/*isDisabled*/ NULL,
|
||||
/*updateDepsgraph*/ NULL,
|
||||
/*dependsOnTime*/ NULL,
|
||||
/*foreachIDLink*/ NULL,
|
||||
/*panelRegister*/ panelRegister,
|
||||
};
|
||||
|
||||
@@ -71,19 +71,19 @@ static void panelRegister(ARegionType *region_type)
|
||||
}
|
||||
|
||||
ShaderFxTypeInfo shaderfx_Type_Colorize = {
|
||||
/* name */ N_("Colorize"),
|
||||
/* structName */ "ColorizeShaderFxData",
|
||||
/* structSize */ sizeof(ColorizeShaderFxData),
|
||||
/* type */ eShaderFxType_GpencilType,
|
||||
/* flags */ 0,
|
||||
/*name*/ N_("Colorize"),
|
||||
/*structName*/ "ColorizeShaderFxData",
|
||||
/*structSize*/ sizeof(ColorizeShaderFxData),
|
||||
/*type*/ eShaderFxType_GpencilType,
|
||||
/*flags*/ 0,
|
||||
|
||||
/* copyData */ copyData,
|
||||
/*copyData*/ copyData,
|
||||
|
||||
/* initData */ initData,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ NULL,
|
||||
/* updateDepsgraph */ NULL,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* foreachIDLink */ NULL,
|
||||
/* panelRegister */ panelRegister,
|
||||
/*initData*/ initData,
|
||||
/*freeData*/ NULL,
|
||||
/*isDisabled*/ NULL,
|
||||
/*updateDepsgraph*/ NULL,
|
||||
/*dependsOnTime*/ NULL,
|
||||
/*foreachIDLink*/ NULL,
|
||||
/*panelRegister*/ panelRegister,
|
||||
};
|
||||
|
||||
@@ -61,19 +61,19 @@ static void panelRegister(ARegionType *region_type)
|
||||
}
|
||||
|
||||
ShaderFxTypeInfo shaderfx_Type_Flip = {
|
||||
/* name */ N_("Flip"),
|
||||
/* structName */ "FlipShaderFxData",
|
||||
/* structSize */ sizeof(FlipShaderFxData),
|
||||
/* type */ eShaderFxType_GpencilType,
|
||||
/* flags */ 0,
|
||||
/*name*/ N_("Flip"),
|
||||
/*structName*/ "FlipShaderFxData",
|
||||
/*structSize*/ sizeof(FlipShaderFxData),
|
||||
/*type*/ eShaderFxType_GpencilType,
|
||||
/*flags*/ 0,
|
||||
|
||||
/* copyData */ copyData,
|
||||
/*copyData*/ copyData,
|
||||
|
||||
/* initData */ initData,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ NULL,
|
||||
/* updateDepsgraph */ NULL,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* foreachIDLink */ NULL,
|
||||
/* panelRegister */ panelRegister,
|
||||
/*initData*/ initData,
|
||||
/*freeData*/ NULL,
|
||||
/*isDisabled*/ NULL,
|
||||
/*updateDepsgraph*/ NULL,
|
||||
/*dependsOnTime*/ NULL,
|
||||
/*foreachIDLink*/ NULL,
|
||||
/*panelRegister*/ panelRegister,
|
||||
};
|
||||
|
||||
@@ -82,19 +82,19 @@ static void panelRegister(ARegionType *region_type)
|
||||
}
|
||||
|
||||
ShaderFxTypeInfo shaderfx_Type_Glow = {
|
||||
/* name */ N_("Glow"),
|
||||
/* structName */ "GlowShaderFxData",
|
||||
/* structSize */ sizeof(GlowShaderFxData),
|
||||
/* type */ eShaderFxType_GpencilType,
|
||||
/* flags */ 0,
|
||||
/*name*/ N_("Glow"),
|
||||
/*structName*/ "GlowShaderFxData",
|
||||
/*structSize*/ sizeof(GlowShaderFxData),
|
||||
/*type*/ eShaderFxType_GpencilType,
|
||||
/*flags*/ 0,
|
||||
|
||||
/* copyData */ copyData,
|
||||
/*copyData*/ copyData,
|
||||
|
||||
/* initData */ initData,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ NULL,
|
||||
/* updateDepsgraph */ NULL,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* foreachIDLink */ NULL,
|
||||
/* panelRegister */ panelRegister,
|
||||
/*initData*/ initData,
|
||||
/*freeData*/ NULL,
|
||||
/*isDisabled*/ NULL,
|
||||
/*updateDepsgraph*/ NULL,
|
||||
/*dependsOnTime*/ NULL,
|
||||
/*foreachIDLink*/ NULL,
|
||||
/*panelRegister*/ panelRegister,
|
||||
};
|
||||
|
||||
@@ -62,19 +62,19 @@ static void panelRegister(ARegionType *region_type)
|
||||
}
|
||||
|
||||
ShaderFxTypeInfo shaderfx_Type_Pixel = {
|
||||
/* name */ N_("Pixelate"),
|
||||
/* structName */ "PixelShaderFxData",
|
||||
/* structSize */ sizeof(PixelShaderFxData),
|
||||
/* type */ eShaderFxType_GpencilType,
|
||||
/* flags */ 0,
|
||||
/*name*/ N_("Pixelate"),
|
||||
/*structName*/ "PixelShaderFxData",
|
||||
/*structSize*/ sizeof(PixelShaderFxData),
|
||||
/*type*/ eShaderFxType_GpencilType,
|
||||
/*flags*/ 0,
|
||||
|
||||
/* copyData */ copyData,
|
||||
/*copyData*/ copyData,
|
||||
|
||||
/* initData */ initData,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ NULL,
|
||||
/* updateDepsgraph */ NULL,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* foreachIDLink */ NULL,
|
||||
/* panelRegister */ panelRegister,
|
||||
/*initData*/ initData,
|
||||
/*freeData*/ NULL,
|
||||
/*isDisabled*/ NULL,
|
||||
/*updateDepsgraph*/ NULL,
|
||||
/*dependsOnTime*/ NULL,
|
||||
/*foreachIDLink*/ NULL,
|
||||
/*panelRegister*/ panelRegister,
|
||||
};
|
||||
|
||||
@@ -89,19 +89,19 @@ static void panelRegister(ARegionType *region_type)
|
||||
}
|
||||
|
||||
ShaderFxTypeInfo shaderfx_Type_Rim = {
|
||||
/* name */ N_("Rim"),
|
||||
/* structName */ "RimShaderFxData",
|
||||
/* structSize */ sizeof(RimShaderFxData),
|
||||
/* type */ eShaderFxType_GpencilType,
|
||||
/* flags */ 0,
|
||||
/*name*/ N_("Rim"),
|
||||
/*structName*/ "RimShaderFxData",
|
||||
/*structSize*/ sizeof(RimShaderFxData),
|
||||
/*type*/ eShaderFxType_GpencilType,
|
||||
/*flags*/ 0,
|
||||
|
||||
/* copyData */ copyData,
|
||||
/*copyData*/ copyData,
|
||||
|
||||
/* initData */ initData,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ NULL,
|
||||
/* updateDepsgraph */ NULL,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* foreachIDLink */ NULL,
|
||||
/* panelRegister */ panelRegister,
|
||||
/*initData*/ initData,
|
||||
/*freeData*/ NULL,
|
||||
/*isDisabled*/ NULL,
|
||||
/*updateDepsgraph*/ NULL,
|
||||
/*dependsOnTime*/ NULL,
|
||||
/*foreachIDLink*/ NULL,
|
||||
/*panelRegister*/ panelRegister,
|
||||
};
|
||||
|
||||
@@ -159,19 +159,19 @@ static void panelRegister(ARegionType *region_type)
|
||||
}
|
||||
|
||||
ShaderFxTypeInfo shaderfx_Type_Shadow = {
|
||||
/* name */ N_("Shadow"),
|
||||
/* structName */ "ShadowShaderFxData",
|
||||
/* structSize */ sizeof(ShadowShaderFxData),
|
||||
/* type */ eShaderFxType_GpencilType,
|
||||
/* flags */ 0,
|
||||
/*name*/ N_("Shadow"),
|
||||
/*structName*/ "ShadowShaderFxData",
|
||||
/*structSize*/ sizeof(ShadowShaderFxData),
|
||||
/*type*/ eShaderFxType_GpencilType,
|
||||
/*flags*/ 0,
|
||||
|
||||
/* copyData */ copyData,
|
||||
/*copyData*/ copyData,
|
||||
|
||||
/* initData */ initData,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ isDisabled,
|
||||
/* updateDepsgraph */ updateDepsgraph,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* foreachIDLink */ foreachIDLink,
|
||||
/* panelRegister */ panelRegister,
|
||||
/*initData*/ initData,
|
||||
/*freeData*/ NULL,
|
||||
/*isDisabled*/ isDisabled,
|
||||
/*updateDepsgraph*/ updateDepsgraph,
|
||||
/*dependsOnTime*/ NULL,
|
||||
/*foreachIDLink*/ foreachIDLink,
|
||||
/*panelRegister*/ panelRegister,
|
||||
};
|
||||
|
||||
@@ -90,19 +90,19 @@ static void panelRegister(ARegionType *region_type)
|
||||
}
|
||||
|
||||
ShaderFxTypeInfo shaderfx_Type_Swirl = {
|
||||
/* name */ N_("Swirl"),
|
||||
/* structName */ "SwirlShaderFxData",
|
||||
/* structSize */ sizeof(SwirlShaderFxData),
|
||||
/* type */ eShaderFxType_GpencilType,
|
||||
/* flags */ 0,
|
||||
/*name*/ N_("Swirl"),
|
||||
/*structName*/ "SwirlShaderFxData",
|
||||
/*structSize*/ sizeof(SwirlShaderFxData),
|
||||
/*type*/ eShaderFxType_GpencilType,
|
||||
/*flags*/ 0,
|
||||
|
||||
/* copyData */ copyData,
|
||||
/*copyData*/ copyData,
|
||||
|
||||
/* initData */ initData,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ isDisabled,
|
||||
/* updateDepsgraph */ updateDepsgraph,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* foreachIDLink */ foreachIDLink,
|
||||
/* panelRegister */ panelRegister,
|
||||
/*initData*/ initData,
|
||||
/*freeData*/ NULL,
|
||||
/*isDisabled*/ isDisabled,
|
||||
/*updateDepsgraph*/ updateDepsgraph,
|
||||
/*dependsOnTime*/ NULL,
|
||||
/*foreachIDLink*/ foreachIDLink,
|
||||
/*panelRegister*/ panelRegister,
|
||||
};
|
||||
|
||||
@@ -63,19 +63,19 @@ static void panelRegister(ARegionType *region_type)
|
||||
}
|
||||
|
||||
ShaderFxTypeInfo shaderfx_Type_Wave = {
|
||||
/* name */ N_("WaveDistortion"),
|
||||
/* structName */ "WaveShaderFxData",
|
||||
/* structSize */ sizeof(WaveShaderFxData),
|
||||
/* type */ eShaderFxType_GpencilType,
|
||||
/* flags */ 0,
|
||||
/*name*/ N_("WaveDistortion"),
|
||||
/*structName*/ "WaveShaderFxData",
|
||||
/*structSize*/ sizeof(WaveShaderFxData),
|
||||
/*type*/ eShaderFxType_GpencilType,
|
||||
/*flags*/ 0,
|
||||
|
||||
/* copyData */ copyData,
|
||||
/*copyData*/ copyData,
|
||||
|
||||
/* initData */ initData,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ NULL,
|
||||
/* updateDepsgraph */ NULL,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* foreachIDLink */ NULL,
|
||||
/* panelRegister */ panelRegister,
|
||||
/*initData*/ initData,
|
||||
/*freeData*/ NULL,
|
||||
/*isDisabled*/ NULL,
|
||||
/*updateDepsgraph*/ NULL,
|
||||
/*dependsOnTime*/ NULL,
|
||||
/*foreachIDLink*/ NULL,
|
||||
/*panelRegister*/ panelRegister,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user