2013-05-24 21:22:14 +00:00
|
|
|
#ifndef _BG_MISC_H
|
|
|
|
#define _BG_MISC_H
|
|
|
|
|
2013-11-23 22:04:21 +00:00
|
|
|
#include "q_shared.h"
|
|
|
|
|
2013-05-24 21:22:14 +00:00
|
|
|
void BG_LanguageFilename(char *baseName,char *baseExtension,char *finalName);
|
2013-07-06 16:19:28 +00:00
|
|
|
char* BG_RegisterRace( const char *name );
|
2013-05-24 21:22:14 +00:00
|
|
|
|
2013-11-23 22:04:21 +00:00
|
|
|
/**
|
2013-11-30 18:11:15 +00:00
|
|
|
* @brief Calculates an approximate origin from a bounding box.
|
|
|
|
* Calculates an approximate origin from a bounding box. The bounding box is
|
|
|
|
* specified by it's minimal and maximal point.
|
|
|
|
* @param mins [in] Minimal point of the bounding box.
|
|
|
|
* @param maxs [in] Maxmimal point of the bounding box.
|
|
|
|
* @param origin [out] Three dimensional vector the origin should be stored into.
|
2013-11-23 22:04:21 +00:00
|
|
|
*/
|
2013-11-30 18:11:15 +00:00
|
|
|
void BG_OriginFromBoundingBox(vec3_t mins, vec3_t maxs, vec_t* origin);
|
2013-11-23 22:04:21 +00:00
|
|
|
|
2013-05-24 21:22:14 +00:00
|
|
|
#endif /* _BG_MISC_H */
|