(svn r6372) -Codechange: static, unneeded decleration in headers, superfluous header includes

-Codechange: Unify the Sorting struct both for vehicle-lists and network-lists.
This commit is contained in:
Darkvater
2006-09-03 23:27:38 +00:00
parent e42d819b6a
commit 794cc6d55e
4 changed files with 43 additions and 53 deletions

View File

@@ -47,13 +47,8 @@ typedef struct network_ql_d {
} network_ql_d;
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(network_ql_d));
typedef struct NetworkGameSorting {
bool order; // Ascending / Descending
byte criteria; // Sorted by name/clients/connectivity
} NetworkGameSorting;
/* Global to remember sorting after window has been closed */
static NetworkGameSorting _ng_sorting;
static Listing _ng_sorting;
static char _edit_str_buf[64];
static bool _chat_tab_completion_active;