summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-04-09 00:11:10 +0000
committerTim Angus <tim@ngus.net>2006-04-09 00:11:10 +0000
commitcf9b7835e0f7021739bc620ac51c6081036faaee (patch)
treed70f906603378e32e047ac2196303e3ddfbb76b0 /src/qcommon
parentf42f817cba50d1a40f27b17e56a210fc5f2ad22e (diff)
* Fixed display of long server names
* Fixed sort by ping * Changed default source to internet * Added simple options menu to frontend * Removed PB menu file * Changed default net rate * Fixed scoreboard alignment * Implemented "scoresUp" and "scoresDown"
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/q_shared.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h
index 0059cdfa..64019b58 100644
--- a/src/qcommon/q_shared.h
+++ b/src/qcommon/q_shared.h
@@ -162,7 +162,8 @@ typedef int clipHandle_t;
#define MAX_OSPATH 256 // max length of a filesystem pathname
#endif
-#define MAX_NAME_LENGTH 32 // max length of a client name
+#define MAX_NAME_LENGTH 32 // max length of a client name
+#define MAX_HOSTNAME_LENGTH 80 // max length of a host name
#define MAX_SAY_TEXT 150
@@ -1247,9 +1248,9 @@ typedef struct qtime_s {
// server browser sources
// TTimo: AS_MPLAYER is no longer used
-#define AS_LOCAL 0
+#define AS_GLOBAL 0
#define AS_MPLAYER 1
-#define AS_GLOBAL 2
+#define AS_LOCAL 2
#define AS_FAVORITES 3