diff -r 078e3406f0a67ebf27920450b705792f0e4e017e -r 6d8bf265d2ec435ab0f51f9ca65b05400ed423e5 axios/Axios_settings.cs --- a/axios/Axios_settings.cs Sat May 19 23:39:20 2012 -0500 +++ b/axios/Axios_settings.cs Mon May 21 21:53:14 2012 -0500 @@ -89,6 +89,8 @@ * - Changing location of GetTexture to extensions * - Enabling commented log messages * - Fixing bug where loadrecentangleitem wouldn't be called by Gleed2D library + * - Changing AxiosTitleFile.GetStream() to return Stream instead of FileStream + * - Changing IAxiosFile.GetStream() to return Stream instead of FileStream * */ #endregion diff -r 078e3406f0a67ebf27920450b705792f0e4e017e -r 6d8bf265d2ec435ab0f51f9ca65b05400ed423e5 axios/Engine/File/AxiosFile.cs --- a/axios/Engine/File/AxiosFile.cs Sat May 19 23:39:20 2012 -0500 +++ b/axios/Engine/File/AxiosFile.cs Mon May 21 21:53:14 2012 -0500 @@ -29,7 +29,7 @@ throw new NotImplementedException(); } - public virtual FileStream GetStream(FileMode mode) + public virtual Stream GetStream(FileMode mode) { throw new NotImplementedException(); } diff -r 078e3406f0a67ebf27920450b705792f0e4e017e -r 6d8bf265d2ec435ab0f51f9ca65b05400ed423e5 axios/Engine/File/AxiosIsolatedFile.cs --- a/axios/Engine/File/AxiosIsolatedFile.cs Sat May 19 23:39:20 2012 -0500 +++ b/axios/Engine/File/AxiosIsolatedFile.cs Mon May 21 21:53:14 2012 -0500 @@ -51,7 +51,7 @@ return ret; } - public override FileStream GetStream(FileMode mode) + public override Stream GetStream(FileMode mode) { #if WINDOWS IsolatedStorageFile savegameStorage = IsolatedStorageFile.GetUserStoreForDomain(); @@ -60,7 +60,7 @@ #endif IsolatedStorageFileStream fs = null; fs = savegameStorage.OpenFile(_filename, mode); - return fs; + return (Stream)fs; } } diff -r 078e3406f0a67ebf27920450b705792f0e4e017e -r 6d8bf265d2ec435ab0f51f9ca65b05400ed423e5 axios/Engine/File/AxiosRegularFile.cs --- a/axios/Engine/File/AxiosRegularFile.cs Sat May 19 23:39:20 2012 -0500 +++ b/axios/Engine/File/AxiosRegularFile.cs Mon May 21 21:53:14 2012 -0500 @@ -37,10 +37,10 @@ return ret; } - public override FileStream GetStream(FileMode mode) + public override Stream GetStream(FileMode mode) { FileStream fs = new FileStream(_filename, mode); - return fs; + return (Stream)fs; } } } diff -r 078e3406f0a67ebf27920450b705792f0e4e017e -r 6d8bf265d2ec435ab0f51f9ca65b05400ed423e5 axios/Engine/File/AxiosTitleFile.cs --- a/axios/Engine/File/AxiosTitleFile.cs Sat May 19 23:39:20 2012 -0500 +++ b/axios/Engine/File/AxiosTitleFile.cs Mon May 21 21:53:14 2012 -0500 @@ -28,10 +28,9 @@ return this.Content; } - public override FileStream GetStream(FileMode mode) + public override Stream GetStream(FileMode mode) { - FileStream fs = (FileStream)TitleContainer.OpenStream(_filename); - return fs; + return (Stream)TitleContainer.OpenStream(_filename);; } } } diff -r 078e3406f0a67ebf27920450b705792f0e4e017e -r 6d8bf265d2ec435ab0f51f9ca65b05400ed423e5 axios/Engine/Gleed2D/Level.cs --- a/axios/Engine/Gleed2D/Level.cs Sat May 19 23:39:20 2012 -0500 +++ b/axios/Engine/Gleed2D/Level.cs Mon May 21 21:53:14 2012 -0500 @@ -74,7 +74,7 @@ return level; } - public static Level FromStream(FileStream stream, AxiosGameScreen gameScreen) + public static Level FromStream(Stream stream, AxiosGameScreen gameScreen) { Dictionary cache = new Dictionary(); XmlSerializer serializer = new XmlSerializer(typeof(Level)); diff -r 078e3406f0a67ebf27920450b705792f0e4e017e -r 6d8bf265d2ec435ab0f51f9ca65b05400ed423e5 axios/Engine/Interfaces/IAxiosFile.cs --- a/axios/Engine/Interfaces/IAxiosFile.cs Sat May 19 23:39:20 2012 -0500 +++ b/axios/Engine/Interfaces/IAxiosFile.cs Mon May 21 21:53:14 2012 -0500 @@ -6,6 +6,6 @@ { void WriteData(string data, FileMode mode); string ReadData(); - FileStream GetStream(FileMode mode); + Stream GetStream(FileMode mode); } }