Block selection Chunk de/compression now uses internal buffer directly (0-copy) Optimized Chunk vertices list order (faster vert access from GPU cache) F5 Debug info: added triangle count Implemented ladder climb Road + jump pad makes you jump farther Fixed bad fog color blending (alpha-channel) Changed LZFX and enet compilation to Release, -O3
24 lines
373 B
C++
24 lines
373 B
C++
#ifndef GLOBAL_PROPERTIES_HPP
|
|
#define GLOBAL_PROPERTIES_HPP
|
|
|
|
namespace Diggler {
|
|
|
|
namespace GlobalProperties {
|
|
extern bool IsClient;
|
|
extern bool IsServer;
|
|
|
|
extern const char *DefaultServerHost;
|
|
extern const int DefaultServerPort;
|
|
|
|
extern const unsigned int PlayerNameMaxLen;
|
|
extern char *PlayerName;
|
|
|
|
extern bool IsSoundEnabled;
|
|
|
|
extern int UIScale;
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|