Builds a list of old files so we know which ones to update Searches through all our netdirectories for old files
| 1955 | // Builds a list of old files so we know which ones to update |
| 1956 | // Searches through all our netdirectories for old files |
| 1957 | void BuildOldFileList(FILETIME threshold) { |
| 1958 | char str[_MAX_PATH]; |
| 1959 | mprintf(0, "Building old files list!\n"); |
| 1960 | BuildOldFilesForDirectory(NetModelsDir, threshold); |
| 1961 | BuildOldFilesForDirectory(NetSoundsDir, threshold); |
| 1962 | BuildOldFilesForDirectory(NetMiscDir, threshold); |
| 1963 | BuildOldFilesForDirectory(ManageGraphicsDir, threshold); |
| 1964 | BuildOldFilesForDirectory(NetArtDir, threshold); |
| 1965 | BuildOldFilesForDirectory(NetMusicDir, threshold); |
| 1966 | BuildOldFilesForDirectory(NetVoiceDir, threshold); |
| 1967 | ddio_MakePath(str, NetD3Dir, "data", "levels", NULL); |
| 1968 | BuildOldFilesForDirectory(str, threshold); |
| 1969 | ddio_MakePath(str, NetD3Dir, "data", "briefings", NULL); |
| 1970 | BuildOldFilesForDirectory(str, threshold); |
| 1971 | ddio_MakePath(str, NetD3Dir, "data", "scripts", NULL); |
| 1972 | BuildOldFilesForDirectory(str, threshold); |
| 1973 | mprintf(0, "Found %d old files.\n", Num_old_files); |
| 1974 | } |
| 1975 | #endif |
| 1976 | |
| 1977 | // Returns true if the passed in primitive is old (ie needs to be updated from the network) |
no test coverage detected