diff options
author | belugas <belugas@openttd.org> | 2007-03-01 01:24:44 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-03-01 01:24:44 +0000 |
commit | 978d7da81883c775c45b1bac64ce8b73f58d6d2f (patch) | |
tree | b54eae356dabaadef12af40bb13f3e6e4f25c59e /src/fileio.cpp | |
parent | 66487d59fd5fdeb253361865cb4322347b0b18fb (diff) | |
download | openttd-978d7da81883c775c45b1bac64ce8b73f58d6d2f.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.cpp | 8 |
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); |