TAStudio - some reorg
This commit is contained in:
parent
e5d1dc111e
commit
655207d79a
|
@ -883,6 +883,7 @@
|
|||
<DependentUpon>TAStudio.cs</DependentUpon>
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tools\TAStudio\TAStudioClipboard.cs" />
|
||||
<Compile Include="tools\TI83\TI83KeyPad.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
|
|
@ -460,31 +460,5 @@ namespace BizHawk.Client.EmuHawk
|
|||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
#region Classes
|
||||
|
||||
public class TasClipboardEntry
|
||||
{
|
||||
private readonly Dictionary<string, bool> _buttons;
|
||||
private readonly int _frame;
|
||||
|
||||
public TasClipboardEntry(int frame, Dictionary<string, bool> buttons)
|
||||
{
|
||||
_frame = frame;
|
||||
_buttons = buttons;
|
||||
}
|
||||
|
||||
public int Frame
|
||||
{
|
||||
get { return _frame; }
|
||||
}
|
||||
|
||||
public Dictionary<string, bool> Buttons
|
||||
{
|
||||
get { return _buttons; }
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
using BizHawk.Emulation.Common;
|
||||
using BizHawk.Client.Common;
|
||||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
public class TasClipboardEntry
|
||||
{
|
||||
public TasClipboardEntry(int frame, IController controllerState)
|
||||
{
|
||||
Frame = frame;
|
||||
ControllerState = controllerState;
|
||||
}
|
||||
|
||||
public int Frame { get; private set; }
|
||||
public IController ControllerState { get; private set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
var lg = Global.MovieSession.Movie.LogGeneratorInstance();
|
||||
return lg.GenerateLogEntry();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue