Add new public var with mapname and new constant (#687)

* Add new public var with current map name

* Add a constant to define max map's name length

* Reducing the maximum buffer size to store a map's name

* The PLATFORM_MAX_PATH constant replaced to MAX_MAPNAME_LENGTH
This commit is contained in:
KAWAI
2019-04-27 04:01:54 +05:00
committed by Vincent Herbet
parent 6bed09db57
commit 1cc7786a4c
4 changed files with 18 additions and 1 deletions

View File

@ -22,6 +22,7 @@
#define MAX_LIGHTSTYLES 64
#define MAX_PACKET_ENTITIES 256
#define MAX_PATH_LENGTH 260
#define MAX_MAPNAME_LENGTH 64
#define MAX_LATENT 32
#define FRAGMENT_SIZE 1400