mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 07:11:34 +00:00
9cac290629
- Fixed all errors that occured due to using c++ compiler - changed c++ standart to c++17 - removed lua, added library instead - made all bg_* and q_* file into a shared item project
19 lines
No EOL
670 B
C
19 lines
No EOL
670 B
C
#ifndef _BG_MISC_H
|
|
#define _BG_MISC_H
|
|
|
|
#include "q_shared.h"
|
|
|
|
void BG_LanguageFilename(char *baseName,char *baseExtension,char *finalName);
|
|
char* BG_RegisterRace( const char *name );
|
|
|
|
/**
|
|
* @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.
|
|
*/
|
|
void BG_OriginFromBoundingBox(vec3_t mins, vec3_t maxs, vec_t* origin);
|
|
|
|
#endif /* _BG_MISC_H */ |