summaryrefslogtreecommitdiff
path: root/src/ui/ui_public.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_public.h')
-rw-r--r--src/ui/ui_public.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/ui/ui_public.h b/src/ui/ui_public.h
index 6e9e261f..9cf36d66 100644
--- a/src/ui/ui_public.h
+++ b/src/ui/ui_public.h
@@ -140,11 +140,14 @@ typedef enum {
UIMENU_POSTGAME
} uiMenuCommand_t;
-#define SORT_HOST 0
-#define SORT_MAP 1
-#define SORT_CLIENTS 2
-#define SORT_PING 3
-#define SORT_PUNKBUSTER 4
+typedef enum
+{
+ SORT_HOST,
+ SORT_MAP,
+ SORT_CLIENTS,
+ SORT_PUNKBUSTER,
+ SORT_PING
+} serverSortField_t;
typedef enum {
UI_GETAPIVERSION = 0, // system reserved