diff options
Diffstat (limited to 'src/const_vars.hpp')
-rw-r--r-- | src/const_vars.hpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/const_vars.hpp b/src/const_vars.hpp index 66d31d9..f34ab7f 100644 --- a/src/const_vars.hpp +++ b/src/const_vars.hpp @@ -1,22 +1,20 @@ -#ifndef CONSTVARS_H -#define CONSTVARS_H - -/* - * In chat messages look like that: - * Knight385: Hello, guys! - * -*/ +#ifndef WC_CONSTVARS_H +#define WC_CONSTVARS_H +// === Authorization info ==== // const int max_name_len = 18; const int min_name_len = 3; const int max_player_lenpass = 24; const int min_player_lenpass = 4; +// === UI info === // const int oneline_len = 57; const int max_usermsg_len = oneline_len * 3 - max_name_len - 2; // ": " = 2 // 57 * 3 - 18 - 2 = 151 const int max_msg_len = oneline_len * 3; // 57*3 = 171 +const int lines_in_chat = 18; +// === Message info === // const int usual_msg = 0; // no first char const int system_msg = 1; const char system_char = '#'; |