Merge pull request #99 from fluddokt/ReplayTest
Replay importing, spinner fixes (fixes #67), replay seeking, in-place MD5 calculation, pitch change time sync (fixes #86).
This commit is contained in:
@@ -110,6 +110,9 @@ public class Options {
|
||||
/** The replay directory (created when needed). */
|
||||
private static File replayDir;
|
||||
|
||||
/** The replay import directory. */
|
||||
private static File replayImportDir;
|
||||
|
||||
/** The root skin directory. */
|
||||
private static File skinRootDir;
|
||||
|
||||
@@ -1087,7 +1090,21 @@ public class Options {
|
||||
oszDir.mkdir();
|
||||
return oszDir;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the replay import directory.
|
||||
* If invalid, this will create and return a "ReplayImport" directory.
|
||||
* @return the replay import directory
|
||||
*/
|
||||
public static File getReplayImportDir() {
|
||||
if (replayImportDir != null && replayImportDir.isDirectory())
|
||||
return replayImportDir;
|
||||
|
||||
replayImportDir = new File(DATA_DIR, "ReplayImport/");
|
||||
replayImportDir.mkdir();
|
||||
return replayImportDir;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the screenshot directory.
|
||||
* If invalid, this will return a "Screenshot" directory.
|
||||
|
||||
Reference in New Issue
Block a user