src/fileio.cpp
changeset 6179 d19b0137d8e4
parent 5967 e8c5596608ad
child 6201 bee01dc45e39
--- a/src/fileio.cpp	Thu Mar 01 00:58:09 2007 +0000
+++ b/src/fileio.cpp	Thu Mar 01 01:24:44 2007 +0000
@@ -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 @@
 
 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 @@
 }
 #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 @@
 		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);