More reorg
This commit is contained in:
parent
7173447e8a
commit
c019ec3bf0
|
@ -166,9 +166,9 @@
|
||||||
<Compile Include="movie\PlatformFrameRates.cs" />
|
<Compile Include="movie\PlatformFrameRates.cs" />
|
||||||
<Compile Include="movie\Subtitle.cs" />
|
<Compile Include="movie\Subtitle.cs" />
|
||||||
<Compile Include="movie\SubtitleList.cs" />
|
<Compile Include="movie\SubtitleList.cs" />
|
||||||
<Compile Include="movie\tasproj\MovieRecord.cs" />
|
<Compile Include="movie\tasproj\TasMovie.IO.cs" />
|
||||||
<Compile Include="movie\tasproj\MovieRecordList.cs" />
|
|
||||||
<Compile Include="movie\tasproj\TasMovie.cs" />
|
<Compile Include="movie\tasproj\TasMovie.cs" />
|
||||||
|
<Compile Include="movie\tasproj\TasMovieRecord.cs" />
|
||||||
<Compile Include="NESGameGenieEncoderDecoder.cs" />
|
<Compile Include="NESGameGenieEncoderDecoder.cs" />
|
||||||
<Compile Include="PathManager.cs" />
|
<Compile Include="PathManager.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
|
|
@ -169,7 +169,7 @@ namespace BizHawk.Client.Common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private string CommentsString()
|
protected string CommentsString()
|
||||||
{
|
{
|
||||||
var sb = new StringBuilder();
|
var sb = new StringBuilder();
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ namespace BizHawk.Client.Common
|
||||||
Write(backupName);
|
Write(backupName);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Load()
|
public virtual bool Load()
|
||||||
{
|
{
|
||||||
var file = new FileInfo(Filename);
|
var file = new FileInfo(Filename);
|
||||||
if (!file.Exists)
|
if (!file.Exists)
|
||||||
|
@ -137,7 +137,7 @@ namespace BizHawk.Client.Common
|
||||||
return Load();
|
return Load();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Write(string fn)
|
protected virtual void Write(string fn)
|
||||||
{
|
{
|
||||||
var file = new FileInfo(fn);
|
var file = new FileInfo(fn);
|
||||||
if (!file.Directory.Exists)
|
if (!file.Directory.Exists)
|
||||||
|
@ -171,7 +171,7 @@ namespace BizHawk.Client.Common
|
||||||
Changes = false;
|
Changes = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ClearBeforeLoad()
|
protected void ClearBeforeLoad()
|
||||||
{
|
{
|
||||||
Header.Clear();
|
Header.Clear();
|
||||||
_log.Clear();
|
_log.Clear();
|
||||||
|
|
|
@ -263,7 +263,7 @@ namespace BizHawk.Client.Common
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private StringBuilder RawInputLog()
|
protected StringBuilder RawInputLog()
|
||||||
{
|
{
|
||||||
var lg = new Bk2LogEntryGenerator(_logKey);
|
var lg = new Bk2LogEntryGenerator(_logKey);
|
||||||
lg.SetSource(Global.MovieOutputHardpoint);
|
lg.SetSource(Global.MovieOutputHardpoint);
|
||||||
|
|
|
@ -34,7 +34,7 @@ namespace BizHawk.Client.Common
|
||||||
public virtual string PreferredExtension { get { return Extension; } }
|
public virtual string PreferredExtension { get { return Extension; } }
|
||||||
public const string Extension = "bk2";
|
public const string Extension = "bk2";
|
||||||
|
|
||||||
public bool Changes { get; private set; }
|
public bool Changes { get; protected set; }
|
||||||
public bool IsCountingRerecords { get; set; }
|
public bool IsCountingRerecords { get; set; }
|
||||||
|
|
||||||
public ILogEntryGenerator LogGeneratorInstance()
|
public ILogEntryGenerator LogGeneratorInstance()
|
||||||
|
|
|
@ -28,11 +28,11 @@ namespace BizHawk.Client.Common
|
||||||
|
|
||||||
public new const string Extension = "tasproj";
|
public new const string Extension = "tasproj";
|
||||||
|
|
||||||
public MovieRecord this[int index]
|
public TasMovieRecord this[int index]
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return new MovieRecord // TODO
|
return new TasMovieRecord // TODO
|
||||||
{
|
{
|
||||||
State = null,
|
State = null,
|
||||||
LogEntry = "",
|
LogEntry = "",
|
||||||
|
|
|
@ -3,7 +3,7 @@ using System.Linq;
|
||||||
|
|
||||||
namespace BizHawk.Client.Common
|
namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
public class MovieRecord
|
public class TasMovieRecord
|
||||||
{
|
{
|
||||||
public byte[] State { get; set; }
|
public byte[] State { get; set; }
|
||||||
public bool Lagged { get; set; }
|
public bool Lagged { get; set; }
|
|
@ -575,7 +575,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
else if (TasView.IsPaintDown && e.NewCell.Row.HasValue && !string.IsNullOrEmpty(_startDrawColumn))
|
else if (TasView.IsPaintDown && e.NewCell.Row.HasValue && !string.IsNullOrEmpty(_startDrawColumn))
|
||||||
{
|
{
|
||||||
_tas.SetBoolButton(e.NewCell.Row.Value, _startDrawColumn, /*_startOn*/ false); // Notice it uses new row, old column, you can only paint across a single column
|
//_tas.SetBoolButton(e.NewCell.Row.Value, _startDrawColumn, /*_startOn*/ false); // Notice it uses new row, old column, you can only paint across a single column
|
||||||
TasView.Refresh();
|
TasView.Refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue