]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/qdata_heretic2/qcommon/skeletons.h
uncrustify! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / tools / quake2 / qdata_heretic2 / qcommon / skeletons.h
index 6f340941c9978b91243a30cc55ace2d2a6fe6136..9d7fe961bd74e6028f1bf7aa8719203cfcb0979e 100644 (file)
@@ -1,30 +1,30 @@
 /*
-Copyright (C) 1999-2007 id Software, Inc. and contributors.
-For a list of contributors, see the accompanying CONTRIBUTORS file.
+   Copyright (C) 1999-2007 id Software, Inc. and contributors.
+   For a list of contributors, see the accompanying CONTRIBUTORS file.
 
-This file is part of GtkRadiant.
+   This file is part of GtkRadiant.
 
-GtkRadiant 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.
+   GtkRadiant 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.
 
-GtkRadiant 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.
+   GtkRadiant 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 GtkRadiant; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-*/
+   You should have received a copy of the GNU General Public License
+   along with GtkRadiant; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ */
 
 #include <stdlib.h> // for size_t
 #include "arrayedlist.h"
 
-#define JN_YAW_CHANGED         0x00000001
-#define JN_PITCH_CHANGED       0x00000002
-#define JN_ROLL_CHANGED                0x00000004
+#define JN_YAW_CHANGED      0x00000001
+#define JN_PITCH_CHANGED    0x00000002
+#define JN_ROLL_CHANGED     0x00000004
 
 // Skeleton types
 enum {
@@ -85,11 +85,11 @@ enum {
 #define NO_SWAP_FRAME -1
 #define NULL_ROOT_JOINT -1
 
-#define MAX_ARRAYED_SKELETAL_JOINTS 255        // has max of 65,535 (if this remains at 255, net code can be changed to reflect)
-#define MAX_ARRAYED_JOINT_NODES        (MAX_ARRAYED_SKELETAL_JOINTS - 1)
+#define MAX_ARRAYED_SKELETAL_JOINTS 255 // has max of 65,535 (if this remains at 255, net code can be changed to reflect)
+#define MAX_ARRAYED_JOINT_NODES ( MAX_ARRAYED_SKELETAL_JOINTS - 1 )
 
-#define MAX_JOINTS_PER_SKELETON        8       // arbitrary small number
-#define MAX_JOINT_NODES_PER_SKELETON (MAX_JOINTS_PER_SKELETON - 1)
+#define MAX_JOINTS_PER_SKELETON 8   // arbitrary small number
+#define MAX_JOINT_NODES_PER_SKELETON ( MAX_JOINTS_PER_SKELETON - 1 )
 
 extern char *skeletonRootNames[];
 extern int skeletonRNameOffsets[];
@@ -100,8 +100,6 @@ extern char *skeletonEffectorNames[];
 extern int skeletonENameOffsets[];
 extern int numNodesInSkeleton[];
 
-typedef void (*CreateSkeleton_t)(void *skeletalJoints, size_t jointSize, struct ArrayedListNode_s *jointNodes, int rootIndex);
+typedef void ( *CreateSkeleton_t )( void *skeletalJoints, size_t jointSize, struct ArrayedListNode_s *jointNodes, int rootIndex );
 
 extern CreateSkeleton_t SkeletonCreators[NUM_SKELETONS];
-
-