]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Animation/Animation.hpp
clang-format: Apply to all headers
[lugaru.git] / Source / Animation / Animation.hpp
index 1a03f8eca577cb1c8f908ffb1d5a748c79197455..f9e0482e767ac5d1b16e1ad06399ed328576164c 100644 (file)
@@ -24,29 +24,39 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <vector>
 
-enum anim_attack_type {
-    neutral, normalattack, reversed, reversal
+enum anim_attack_type
+{
+    neutral,
+    normalattack,
+    reversed,
+    reversal
 };
 
-enum anim_height_type {
-    lowheight, middleheight, highheight
+enum anim_height_type
+{
+    lowheight,
+    middleheight,
+    highheight
 };
 
-enum animation_type {
+enum animation_type
+{
 #define DECLARE_ANIM(id, ...) id,
 #include "Animation.def"
 #undef DECLARE_ANIM
     animation_count
 };
 
-enum animation_bit_offsets {
+enum animation_bit_offsets
+{
 #define DECLARE_ANIM_BIT(bit) o_##bit,
 #include "Animation.def"
 #undef DECLARE_ANIM_BIT
     animation_bit_count
 };
 
-enum animation_bits_def {
+enum animation_bits_def
+{
 #define DECLARE_ANIM_BIT(bit) bit = 1 << o_##bit,
 #include "Animation.def"
 #undef DECLARE_ANIM_BIT
@@ -60,7 +70,7 @@ static const int animation_bits[animation_count] = {
 
 struct AnimationFrameJointInfo
 {
-    XYZ  position;
+    XYZ position;
     float twist;
     float twist2;
     bool onground;