Necrophagos/SF4ComboTrainer — pull request #5 by Ceaseless (2014-01-11 17:13:56+00:00)
Title: Added rudimentary input via text commands

More of a personal prefrence thing, but I find it more convinient to create the basic combo by using text input and then tweak it via the TimeLine, so I wrote a basic parsing method for text commands.

Changes:
Added a textBox and a Button component to the form. If the parseButton
is clicked the TimeLine is cleared, the text in the scriptBox is parsed
to TimeLineItem's and then added to the TimeLine.
It allows for input via basic text commands and supports some shorthand notations for
common inputs (like shoryuken or quarter circle).

Syntax:
Every line is interpreted as one TimeLineItem.
Simultaneous commands are input via '.' (eg HP.MP = Press HP MP)
HoldItems are input via '+' (eg +D = Hold DN)
ReleaseItems are input via '-' (eg -D = Release DN)
WaitFrameItems are input via 'W' followed by the number of frames to
wait (eg W100 = Wait 100 Frames)
Every other input is interpreted as a PressItem

Commands:
LP, MP, HP, LK, MK, HK -> Attacks
F,B,D,U -> Directions
SRKF, SRKB -> Shoryuken forward and Shoryuken Backward
QCF,QCB -> Quarter Circle Forward and Quarter Circle Backward
HCF,HCB -> Half Circle Forward and Half Circle Backward

It should ignore every invalid or unrecognized input.