Compare commits
No commits in common. "0ea1cf6af26b79cb19d54bc9eac90217847947ea" and "4eebb4c7ad85ed8808feba3efd5218bb68975e8b" have entirely different histories.
0ea1cf6af2
...
4eebb4c7ad
16
DataTypes.cs
16
DataTypes.cs
|
@ -35,17 +35,7 @@ namespace RPG_Maker_LDB_Printer
|
|||
ContinueIndent();
|
||||
GetInt();
|
||||
OpenIndent();
|
||||
ReadSubdata(PartID, data);
|
||||
CloseIndent();
|
||||
}
|
||||
CloseIndent();
|
||||
}
|
||||
}
|
||||
|
||||
public static void ReadSubdata(byte PartID, int data)
|
||||
{
|
||||
bool Data_end = false;
|
||||
while (Data_end == false)
|
||||
for (bool Data_end = false; Data_end == false;)
|
||||
{
|
||||
ContinueIndent();
|
||||
int subData = GetInt();
|
||||
|
@ -56,6 +46,10 @@ namespace RPG_Maker_LDB_Printer
|
|||
else
|
||||
GetBytes();
|
||||
}
|
||||
CloseIndent();
|
||||
}
|
||||
CloseIndent();
|
||||
}
|
||||
}
|
||||
|
||||
public static int GetInt()
|
||||
|
|
45
GetEvent.cs
45
GetEvent.cs
|
@ -34,10 +34,18 @@ namespace RPG_Maker_LDB_Printer
|
|||
break;
|
||||
case 12010://DD 6A
|
||||
case 13310://E7 7E
|
||||
CheckEnd();
|
||||
while (stop == false)
|
||||
{
|
||||
GetEvent();
|
||||
}
|
||||
stop = false;
|
||||
if (gotInts[5] == 1)
|
||||
{
|
||||
CheckEnd();
|
||||
while (stop == false)
|
||||
{
|
||||
GetEvent();
|
||||
}
|
||||
stop = false;
|
||||
}
|
||||
GetEvent();
|
||||
break;
|
||||
|
@ -45,9 +53,17 @@ namespace RPG_Maker_LDB_Printer
|
|||
if (gotInts[3] == 2 || gotInts[4] == 1)
|
||||
{
|
||||
GetEvent();
|
||||
CheckEnd();
|
||||
while (stop == false)
|
||||
{
|
||||
GetEvent();
|
||||
CheckEnd();
|
||||
}
|
||||
stop = false;
|
||||
GetEvent();
|
||||
while (stop == false)
|
||||
{
|
||||
GetEvent();
|
||||
}
|
||||
stop = false;
|
||||
GetEvent();
|
||||
}
|
||||
break;
|
||||
|
@ -57,9 +73,17 @@ namespace RPG_Maker_LDB_Printer
|
|||
{
|
||||
stop = false;
|
||||
GetEvent();
|
||||
CheckEnd();
|
||||
while (stop == false)
|
||||
{
|
||||
GetEvent();
|
||||
CheckEnd();
|
||||
}
|
||||
stop = false;
|
||||
GetEvent();
|
||||
while (stop == false)
|
||||
{
|
||||
GetEvent();
|
||||
}
|
||||
stop = false;
|
||||
GetEvent();
|
||||
}
|
||||
break;
|
||||
|
@ -75,14 +99,5 @@ namespace RPG_Maker_LDB_Printer
|
|||
Formating.CloseIndent();
|
||||
Formating.CloseIndent();
|
||||
}
|
||||
|
||||
static void CheckEnd()
|
||||
{
|
||||
while (stop == false)
|
||||
{
|
||||
GetEvent();
|
||||
}
|
||||
stop = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace RPG_Maker_LDB_Printer
|
|||
Data.GetInt();
|
||||
OpenIndent();
|
||||
bool stop = false;
|
||||
while (stop == false)
|
||||
while ( stop == false)
|
||||
{
|
||||
ContinueIndent();
|
||||
int data = Data.GetInt();
|
||||
|
@ -175,7 +175,7 @@ namespace RPG_Maker_LDB_Printer
|
|||
Data.GetInt();
|
||||
OpenIndent();
|
||||
bool frameStop = false;
|
||||
while (frameStop == false)
|
||||
while(frameStop == false)
|
||||
{
|
||||
ContinueIndent();
|
||||
int frameData = Data.GetInt();
|
||||
|
|
Loading…
Reference in New Issue