LibGame v0.4.0
The LG Game Engine - Copyright (C) 2024-2026 ETMSoftware
Loading...
Searching...
No Matches
lg_limits.h
1/*
2 * LibGame - Copyright (C) Emmanuel Thomas-Maurin 2011-2026
3 * All rights reserved
4 */
5
6#ifndef LG_LIMITS_H
7#define LG_LIMITS_H
8
9#if 0
10
11#define PATH_MAX_LEN (512 - 1 - 1)
12#define BIG_PATH_MAX_LEN (2048 - 1)
13#define NAME_MAX_LEN (64 - 1)
14#define BIG_NAME_MAX_LEN (128 - 1)
15
16#endif
17/*
18 So, a bit of a mess - now MAX_LEN in:
19
20 lg_fonts.h
21 #define UD_FONTNAME_MAX_LEN (128 - 1)
22 lg_goodies.h
23 #define LG_PATH_MAX_LEN (512 - 1 - 1)
24 lg_limits.h
25 #define PATH_MAX_LEN (512 - 1)
26 lg_mesh.h
27 #define MAT_NAME_MAX_LEN (64 - 1)
28 lg_string.h
29 #define LG_STRING_MAX_LEN 4096
30 #define LG_STRING_DATA_MAX_LEN (512 - 1)
31
32 and MAXLEN in:
33
34 lg_audio.h
35 #define SOUND_FILENAME_MAXLEN (64 - 1)
36 lg_error.h
37 #define LG_ERR_CTX_FILE_MAXLEN 63
38 #define LG_ERR_CTX_FUNC_MAXLEN 63
39 #define LG_ERR_CTX_TXT_MAXLEN 1023
40 #define LG_ERR_CTX_STR_MAXLEN 2048
41 lg_wins.h
42 #define TIMESTAMP_MAXLEN (64 - 1)
43 libgame.h
44 #define TMPSTR_SIZE ((4 * 1024) - 1)
45 #define FILE_NAME_MAXLEN ((2 * 1024) - 1)
46*/
47
48#endif /* LG_LIMITS_H */