]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/misc.h
reformat code! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / contrib / bobtoolz / misc.h
index 4383935630ce910e15ab51943f5639e1d9435a0e..2b8d800b40c102624d1570b80635dd20ff47a3fd 100644 (file)
 
 const double MAX_ROUND_ERROR = 0.05;
 
-vec_t Min( vec_t a, vec_t b );
+vec_t Min(vec_t a, vec_t b);
 
 // reads current texture into global, returns pointer to it
-const charGetCurrentTexture();
+const char *GetCurrentTexture();
 
 class _QERFaceData;
-void FillDefaultTexture( _QERFaceData* faceData, vec3_t va, vec3_t vb, vec3_t vc, const char* texture );
 
-void BuildMiniPrt( std::list<Str>* exclusionList );
+void FillDefaultTexture(_QERFaceData *faceData, vec3_t va, vec3_t vb, vec3_t vc, const char *texture);
 
-void MoveBlock( int dir, vec3_t min, vec3_t max, float dist );
-void SetInitialStairPos( int dir, vec3_t min, vec3_t max, float width );
+void BuildMiniPrt(std::list<Str> *exclusionList);
 
-const scene::Path* FindEntityFromTargetname( const char* targetname );
+void MoveBlock(int dir, vec3_t min, vec3_t max, float dist);
 
-char* UnixToDosPath( char* path );
+void SetInitialStairPos(int dir, vec3_t min, vec3_t max, float width);
 
-char* GetFilename( char* buffer, const char* filename );
-char* GetGameFilename( char* buffer, const char* filename );
+const scene::Path *FindEntityFromTargetname(const char *targetname);
 
-float Determinant3x3( float a1, float a2, float a3,
-                                         float b1, float b2, float b3,
-                                         float c1, float c2, float c3 );
+char *UnixToDosPath(char *path);
 
-bool GetEntityCentre( const char* entity, vec3_t centre );
-void MakeNormal( const vec_t* va, const vec_t* vb, const vec_t* vc, vec_t* out );
+char *GetFilename(char *buffer, const char *filename);
+
+char *GetGameFilename(char *buffer, const char *filename);
+
+float Determinant3x3(float a1, float a2, float a3,
+                     float b1, float b2, float b3,
+                     float c1, float c2, float c3);
+
+bool GetEntityCentre(const char *entity, vec3_t centre);
+
+void MakeNormal(const vec_t *va, const vec_t *vb, const vec_t *vc, vec_t *out);
 
 #endif