mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Fix gcc warning narrowing conversion of g_MaxWorldCoord
This commit is contained in:
parent
4ecd71359a
commit
8ff399011d
2 changed files with 6 additions and 6 deletions
|
@ -57,12 +57,12 @@ bool g_bCancel_Map_LoadFile; // Hydra: moved this here
|
|||
|
||||
// TTimo
|
||||
// need that in a variable, will have to tweak depending on the game
|
||||
int g_MaxWorldCoord = 64 * 1024;
|
||||
int g_MinWorldCoord = -64 * 1024;
|
||||
vec_t g_MaxWorldCoord = 64 * 1024;
|
||||
vec_t g_MinWorldCoord = -64 * 1024;
|
||||
|
||||
// the max size we allow on brushes, this is dependant on world coords too
|
||||
// makes more sense to say smaller I think?
|
||||
int g_MaxBrushSize = ( g_MaxWorldCoord - 1 ) * 2;
|
||||
vec_t g_MaxBrushSize = ( g_MaxWorldCoord - 1 ) * 2;
|
||||
|
||||
void AddRegionBrushes( void );
|
||||
void RemoveRegionBrushes( void );
|
||||
|
|
|
@ -115,9 +115,9 @@ extern _QERPlugMapTable g_MapTable;
|
|||
//++timo for BP conversion escaping FIXME: remove when mixing two formats!
|
||||
extern bool g_bCancel_Map_LoadFile;
|
||||
// used to be #defines, multiple engine support suggests we should go towards dynamic
|
||||
extern int g_MaxWorldCoord;
|
||||
extern int g_MinWorldCoord;
|
||||
extern int g_MaxBrushSize;
|
||||
extern vec_t g_MaxWorldCoord;
|
||||
extern vec_t g_MinWorldCoord;
|
||||
extern vec_t g_MaxBrushSize;
|
||||
/*
|
||||
// set to true when we are parsing a terrain entity
|
||||
extern bool g_bParseTerrain;
|
||||
|
|
Loading…
Reference in a new issue