Skip to content

Commit

Permalink
Added serializing Game back to xml
Browse files Browse the repository at this point in the history
save/open/new/exit commands for octide.
  • Loading branch information
kellyelton committed Apr 4, 2014
1 parent 6e48163 commit 4aee448
Show file tree
Hide file tree
Showing 10 changed files with 548 additions and 65 deletions.
20 changes: 10 additions & 10 deletions OCTGN.tss
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@
<ArrayOfArrayOfArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ArrayOfArrayOfString>
<ArrayOfString>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octgn.Core\GameFeedManager.cs</string>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octide\Views\MainWindow.xaml</string>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octide\Views\MainWindow.xaml.cs</string>
</ArrayOfString>
<ArrayOfString>
<string>c:\users\kellye\programming\octgn\octgnfx\octgn\tabs\gamemanagement\addfeed.xaml.cs</string>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octide\GameLoader.cs</string>
</ArrayOfString>
<ArrayOfString>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octgn\Tabs\GameManagement\GameManagement.xaml.cs</string>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octide\ViewModel\GameTabViewModel.cs</string>
</ArrayOfString>
<ArrayOfString>
<string>Unit Test Sessions - Octgn.Test</string>
</ArrayOfString>
<ArrayOfString>
<string>C:\Users\kellye\Programming\octgn\recentchanges.txt</string>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octgn.DataNew\GameSerializer.cs</string>
</ArrayOfString>
</ArrayOfArrayOfString>
<ArrayOfArrayOfString>
<ArrayOfString>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octgn\Controls\FriendListItem.xaml.cs</string>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octide\ViewModel\TableTabViewModel.cs</string>
</ArrayOfString>
<ArrayOfString>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octgn.Test\Core\GameFeedManagerTests.cs</string>
<string>C:\Users\kellye\Programming\octgn\octgnFX\Octide\AssetManager.cs</string>
</ArrayOfString>
</ArrayOfArrayOfString>
<ArrayOfArrayOfString>
<ArrayOfString>
<string>c:\users\kellye\programming\octgn\octgnfx\octgn.library\feedprovider.cs</string>
<string>Find Results - Usages of 'GameLoader'</string>
</ArrayOfString>
</ArrayOfArrayOfString>
</ArrayOfArrayOfArrayOfString>
2 changes: 2 additions & 0 deletions octgnFX/Octgn.DataNew/Entities/Game.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ public class Game : IEqualityComparer<Game>, IEquatable<Game>,IComparable<Game>
public List<Variable> Variables { get; set; }
public List<Font> Fonts { get; set; }
public List<Document> Documents { get; set; }
public List<string> Scripts { get; set; }
public Dictionary<string,GameSound> Sounds { get; set; }
public Dictionary<string,GameEvent[]> Events { get; set; }
public string InstallPath { get; set; }
public string ProxyGenSource { get; set; }
public bool UseTwoSidedTable { get; set; }
public string NoteBackgroundColor { get; set; }
public string NoteForegroundColor { get; set; }
Expand Down
3 changes: 3 additions & 0 deletions octgnFX/Octgn.DataNew/Entities/Group.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@ public class Group
public interface IGroupAction
{
string Name { get; set; }
bool IsGroup { get; set; }
}
public class GroupActionGroup : IGroupAction
{
public string Name { get; set; }
public bool IsGroup { get; set; }
public IEnumerable<IGroupAction> Children { get; set; }
}
public class GroupAction : IGroupAction
{
public string Name { get; set; }
public bool IsGroup { get; set; }
public bool DefaultAction { get; set; }
public string Shortcut { get; set; }
public string Execute { get; set; }
Expand Down
Loading

0 comments on commit 4aee448

Please sign in to comment.