summaryrefslogtreecommitdiff
path: root/src/network/network_udp.cpp
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2007-02-23 08:37:33 +0000
committercelestar <celestar@openttd.org>2007-02-23 08:37:33 +0000
commit0ed4b64e649349f695a1942e0fa09b8b564e1774 (patch)
treeffbf65a36988c29feee223c710b66030721b7952 /src/network/network_udp.cpp
parent798c95a2284ced6a52ed00e5a273965971f364a2 (diff)
downloadopenttd-0ed4b64e649349f695a1942e0fa09b8b564e1774.tar.xz
(svn r8857) -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives).
Diffstat (limited to 'src/network/network_udp.cpp')
-rw-r--r--src/network/network_udp.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp
index 81f93d32d..9bf7f344c 100644
--- a/src/network/network_udp.cpp
+++ b/src/network/network_udp.cpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/**
+ * @file network_udp.cpp This file handles the UDP related communication.
+ *
+ * This is the GameServer <-> MasterServer and GameServer <-> GameClient
+ * communication before the game is being joined.
+ */
+
#ifdef ENABLE_NETWORK
#include "../stdafx.h"
@@ -15,13 +22,6 @@
#include "core/udp.h"
-/**
- * @file network_udp.c This file handles the UDP related communication.
- *
- * This is the GameServer <-> MasterServer and GameServer <-> GameClient
- * communication before the game is being joined.
- */
-
enum {
ADVERTISE_NORMAL_INTERVAL = 30000, // interval between advertising in ticks (15 minutes)
ADVERTISE_RETRY_INTERVAL = 300, // readvertise when no response after this many ticks (9 seconds)