Correct check for ACE_BIG_ENDIAN. Warning fixed and code cleanups.

This commit is contained in:
VladimirMangos 2008-11-03 18:01:31 +03:00
parent 843a0d7d02
commit 3e43600c3b
14 changed files with 60 additions and 57 deletions

View file

@ -23,13 +23,13 @@
namespace VMAP
{
//=====================================
#define MAX_CAN_FALL_DISTANCE 10.0
#define MAX_CAN_FALL_DISTANCE 10.0f
const char VMAP_MAGIC[] = "VMAP_2.0";
class VMapDefinitions
{
public:
static const double getMaxCanFallDistance() { return(MAX_CAN_FALL_DISTANCE); }
static float getMaxCanFallDistance() { return MAX_CAN_FALL_DISTANCE; }
};
//======================================