File diff r23482:de566f8c088d → r23483:3733e6b8ff17
src/fios.cpp
Show inline comments
 
@@ -10,17 +10,19 @@
 
/**
 
 * @file fios.cpp
 
 * This file contains functions for building file lists for the save/load dialogs.
 
 */
 

	
 
#include "stdafx.h"
 
#include "fios.h"
 
#include "3rdparty/md5/md5.h"
 
#include "fileio_func.h"
 
#include "tar_type.h"
 
#include "fios.h"
 
#include "network/network_content.h"
 
#include "screenshot.h"
 
#include "string_func.h"
 
#include "tar_type.h"
 
#include <sys/stat.h>
 

	
 
#ifndef _WIN32
 
# include <unistd.h>
 
#endif /* _WIN32 */
 

	
 
@@ -629,16 +631,12 @@ const char *FiosGetScreenshotDir()
 
		FioGetDirectory(fios_screenshot_path, fios_screenshot_path + MAX_PATH - 1, SCREENSHOT_DIR);
 
	}
 

	
 
	return fios_screenshot_path;
 
}
 

	
 
#if defined(ENABLE_NETWORK)
 
#include "network/network_content.h"
 
#include "3rdparty/md5/md5.h"
 

	
 
/** Basic data to distinguish a scenario. Used in the server list window */
 
struct ScenarioIdentifier {
 
	uint32 scenid;           ///< ID for the scenario (generated by content).
 
	uint8 md5sum[16];        ///< MD5 checksum of file.
 
	char filename[MAX_PATH]; ///< filename of the file.
 

	
 
@@ -751,8 +749,6 @@ bool HasScenario(const ContentInfo *ci, 
 
 * Force a (re)scan of the scenarios.
 
 */
 
void ScanScenarios()
 
{
 
	_scanner.Scan(true);
 
}
 

	
 
#endif /* ENABLE_NETWORK */