summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-03-01 01:24:44 +0000
committerbelugas <belugas@openttd.org>2007-03-01 01:24:44 +0000
commit240cbd4dd25bfab66958593ea713042f4b8116d4 (patch)
treeb54eae356dabaadef12af40bb13f3e6e4f25c59e /src/fileio.cpp
parent3e9cc1a6519a047d558115032c6b4dfcd707f105 (diff)
downloadopenttd-240cbd4dd25bfab66958593ea713042f4b8116d4.tar.xz
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r--src/fileio.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index e7e95453f..f62eb5eb7 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -1,5 +1,7 @@
/* $Id$ */
+/** @file fileio.cpp Standard In/Out file operations*/
+
#include "stdafx.h"
#include "openttd.h"
#include "fileio.h"
@@ -31,7 +33,7 @@ typedef struct {
static Fio _fio;
-// Get current position in file
+/* Get current position in file */
uint32 FioGetPos(void)
{
return _fio.pos + (_fio.buffer - _fio.buffer_start) - FIO_BUFFER_SIZE;
@@ -57,7 +59,7 @@ static void FioRestoreFile(int slot)
}
#endif /* LIMITED_FDS */
-// Seek to a file and a position
+/* Seek to a file and a position */
void FioSeekToFile(uint32 pos)
{
FILE *f;
@@ -177,7 +179,7 @@ FILE *FioFOpenFile(const char *filename)
f = fopen(buf, "rb");
#if defined SECOND_DATA_DIR
- // tries in the 2nd data directory
+ /* tries in the 2nd data directory */
if (f == NULL) {
snprintf(buf, lengthof(buf), "%s%s", _paths.second_data_dir, filename);
strtolower(buf + strlen(_paths.second_data_dir) - 1);