-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First commit with working converter. Bug 1: Text with enters in start…
… wil be shown wrong. Bug 2: weird grey areas on Drawings
- Loading branch information
Hans Doof
committed
Apr 3, 2019
1 parent
b1d73b5
commit 41b7c00
Showing
16 changed files
with
616 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace RagemakerToPDF | ||
{ | ||
// For both types "Draw" and "Image", they are essentially the same, they only differ in function inside ragemaker | ||
class DrawImage : RageItem | ||
{ | ||
// PNG afaik | ||
public byte[] imagedata = new byte[1]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace RagemakerToPDF | ||
{ | ||
class Face : RageItem | ||
{ | ||
/* | ||
* <Face> | ||
<itemx>13.5</itemx> | ||
<itemy>67</itemy> | ||
<facename>Neutral/37.png</facename> | ||
<scalex>0.6868686868686867</scalex> | ||
<scaley>0.6868686868686867</scaley> | ||
<mirrored>true</mirrored> | ||
<rotation>0</rotation> | ||
<opacity>1</opacity> | ||
</Face> | ||
* | ||
*/ | ||
public string file = ""; | ||
public float scalex = 0.0f; | ||
public float scaley = 0.0f; | ||
public bool mirrored = false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
<Window x:Class="Ragemaker.MainWindow" | ||
<Window x:Class="RagemakerToPDF.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:Ragemaker" | ||
xmlns:local="clr-namespace:RagemakerToPDF" | ||
mc:Ignorable="d" | ||
Title="MainWindow" Height="450" Width="800"> | ||
Title="RageToPDF" Height="700" Width="400"> | ||
<Grid> | ||
|
||
<StackPanel> | ||
<Button FontSize="25" Click="LoadRageXML_Click" Height="50">Select ragemaker .xml file</Button> | ||
<ScrollViewer Height="600" > | ||
<TextBlock x:Name="status" ScrollViewer.CanContentScroll="True">You shouldn't see this.</TextBlock> | ||
</ScrollViewer> | ||
|
||
</StackPanel> | ||
</Grid> | ||
</Window> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.