Skip to content

Commit

Permalink
Whole bunch of work. Added patch ability to DTLS (no full rebuild yet).
Browse files Browse the repository at this point in the history
Fixed eventlist duplication bug in SM4SHCommand OpenFighter function.

Better documented some commands.
  • Loading branch information
Sammi-Husky committed Nov 18, 2015
1 parent e7cc1b3 commit 2643832
Show file tree
Hide file tree
Showing 10 changed files with 463 additions and 195 deletions.
8 changes: 3 additions & 5 deletions AnimCmd/Classes/Command.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sm4shCommand.Classes
{
public unsafe class Command
public class Command
{
public Command(CommandInfo info)
{
Expand All @@ -30,7 +28,7 @@ public override string ToString()
Param += String.Format("{0}=", _commandInfo.ParamSyntax[i]);

if (parameters[i] is int | parameters[i] is bint)
Param += String.Format("0x{0:X}{1}", parameters[i], i + 1 != parameters.Count ? ", " : "");
Param += String.Format("0x{0:X8}{1}", parameters[i], i + 1 != parameters.Count ? ", " : "");
if (parameters[i] is float | parameters[i] is bfloat)
Param += String.Format("{0}{1}", parameters[i], i + 1 != parameters.Count ? ", " : "");
if (parameters[i] is decimal)
Expand Down Expand Up @@ -63,7 +61,7 @@ public virtual byte[] GetArray()
}
}

public unsafe class UnknownCommand : Command
public class UnknownCommand : Command
{
public List<int> data = new List<int>();

Expand Down
22 changes: 11 additions & 11 deletions AnimCmd/Events.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ NONE
FC061097
External_Graphic
0,0,1,1,1,1,1,1,1,0
Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown
NONE
Graphic,Bone,Z,Y,X,RotZ,RotY,RotX,Size,Terminate
Generate a graphical effect from an external file. (usually the Fighter Effect file)
589A9DB3
Color_Overlay
Expand Down Expand Up @@ -138,10 +138,10 @@ Unknown
NONE
E5751F0A
Unknown_E57
Play_Sound
0
Unknown
NONE
SFX
Plays a sound from the character's soundbank.

A8D82049
Unknown_A8D
Expand Down Expand Up @@ -254,13 +254,13 @@ NONE
D8DF1DCC
Throw_Applier
0,0,0,0,0
Unknown,Unknown,Unknown,Unknown,Unknown
NONE
ID,Bone,Unknown,Unknown,Unknown
Throws opponent based on data provided by Throw Specifier

DF057B20
Throw_Specifier
0,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0
Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown
ID,Bone,Damage,Angle,KBG,WKB,BKB,Effect?,Unknown,Unknown,Unknown,Unknown,SFX?,airground,Unknown,Unknown,Type?
NONE

7075DC5A
Expand Down Expand Up @@ -384,9 +384,9 @@ Unknown,Unknown
NONE

1EAF840C
Unknown_1EA
0,0,1,1,0,1,0,0,0
Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown,Unknown
Grab_collision2
0,0,1,1,1,1,0,0,0
ID,bone,size,x,y,z,Unknown,airground,Unknown
NONE

26E9C6BE
Expand Down
72 changes: 37 additions & 35 deletions AnimCmd/Gui/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2643832

Please sign in to comment.