higher resolution for waterlevel
Interpret the waterlevel value as tenths of a cube. This makes the waterlevel variable a float value to the user, while the map file still stores an integer value - but now it is interpreted differently - for example, a waterlevel value of 123 now means 12.3 cubes instead of 123. Old map files are converted during loading. Note: the values of waterlevel and hdr.waterlevel need to be in sync. DOCREF waterlevel
This commit is contained in:
@@ -60,6 +60,7 @@ extern hashtable<char *, enet_uint32> mapinfo;
|
||||
extern int hwtexsize, hwmaxaniso;
|
||||
extern int numspawn[3], maploaded, numflagspawn[2];
|
||||
extern int verbose;
|
||||
extern float waterlevel;
|
||||
|
||||
#define AC_VERSION 1202
|
||||
#define AC_MASTER_URI "ms.cubers.net"
|
||||
|
||||
Reference in New Issue
Block a user