X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=tools%2Fquake2%2Fqdata_heretic2%2Fanimcomp.h;h=36ea3b1fb56865df47f6e3c5d7afa0112c9fa5d0;hp=15d0dc5b8bb2028907324d445b2fef4075b85c6d;hb=830125fad042fad35dc029b6eb57c8156ad7e176;hpb=5265d3cc1517566910718738ee6fa48e2466d3ea diff --git a/tools/quake2/qdata_heretic2/animcomp.h b/tools/quake2/qdata_heretic2/animcomp.h index 15d0dc5b..36ea3b1f 100644 --- a/tools/quake2/qdata_heretic2/animcomp.h +++ b/tools/quake2/qdata_heretic2/animcomp.h @@ -1,43 +1,42 @@ /* -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 + */ -#if !defined(ANIMCOMP_INC) +#if !defined( ANIMCOMP_INC ) #define ANIMCOMP_INC #ifdef __cplusplus -extern "C" +extern "C" { #endif -void AnimCompressInit(int nFrames,int nVerts,int CompressedFrameSize); -void AnimSetFrame(int frame,int index,float x,float y,float z); +void AnimCompressInit( int nFrames,int nVerts,int CompressedFrameSize ); +void AnimSetFrame( int frame,int index,float x,float y,float z ); void AnimCompressDoit(); -void AnimCompressToBytes(float *trans,float *scale,char *mat,char *ccomp,unsigned char *cbase,float *cscale,float *coffset,float *bmin,float *bmax); -void AnimCompressGetMatrix(float *mat); -void AnimCompressGetFrames(float *mat); -void AnimCompressGetBase(int i,float *x,float *y,float *z); +void AnimCompressToBytes( float *trans,float *scale,char *mat,char *ccomp,unsigned char *cbase,float *cscale,float *coffset,float *bmin,float *bmax ); +void AnimCompressGetMatrix( float *mat ); +void AnimCompressGetFrames( float *mat ); +void AnimCompressGetBase( int i,float *x,float *y,float *z ); void AnimCompressEnd(); -void DOsvdPlane(float *pnts,int npnts,float *n,float *base); +void DOsvdPlane( float *pnts,int npnts,float *n,float *base ); #ifdef __cplusplus } #endif #endif -