diff options
author | frosch <frosch@openttd.org> | 2010-08-01 19:22:34 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-08-01 19:22:34 +0000 |
commit | ed4f806f1dcff2e10d2fdfb687e6bcebe9a81af3 (patch) | |
tree | dba65e1ae2fc4538779195db320eccfa441cbbd0 /src/network/network_gamelist.cpp | |
parent | 4871baf44db96137cf4b72c4f9d9595b2c29f61d (diff) | |
download | openttd-ed4f806f1dcff2e10d2fdfb687e6bcebe9a81af3.tar.xz |
(svn r20283) -Codechange: Unify start of doygen comments.
Diffstat (limited to 'src/network/network_gamelist.cpp')
-rw-r--r-- | src/network/network_gamelist.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/network/network_gamelist.cpp b/src/network/network_gamelist.cpp index 97dc0f953..5bb4529f6 100644 --- a/src/network/network_gamelist.cpp +++ b/src/network/network_gamelist.cpp @@ -27,7 +27,8 @@ NetworkGameList *_network_game_list = NULL; static ThreadMutex *_network_game_list_mutex = ThreadMutex::New(); static NetworkGameList *_network_game_delayed_insertion_list = NULL; -/** Add a new item to the linked gamelist, but do it delayed in the next tick +/** + * Add a new item to the linked gamelist, but do it delayed in the next tick * or so to prevent race conditions. * @param item the item to add. Will be freed once added. */ @@ -66,7 +67,8 @@ static void NetworkGameListHandleDelayedInsert() _network_game_list_mutex->EndCritical(); } -/** Add a new item to the linked gamelist. If the IP and Port match +/** + * Add a new item to the linked gamelist. If the IP and Port match * return the existing item instead of adding it again * @param address the address of the to-be added item * @param port the port the server is running on @@ -106,7 +108,8 @@ NetworkGameList *NetworkGameListAddItem(NetworkAddress address) return item; } -/** Remove an item from the gamelist linked list +/** + * Remove an item from the gamelist linked list * @param remove pointer to the item to be removed */ void NetworkGameListRemoveItem(NetworkGameList *remove) { |