[−][src]Crate lf2_parse
Parses Little Fighter 2 (LF2) data files into an in-memory model.
Structs
BPoint | Bleeding coordinates when the character has low HP. |
Bdy | Hittable body of the object. |
CPoint | Aligns the character that is holding and the one that is held. |
Frame | |
FrameNumber | Represents the frame number. |
FrameNumberNext | Represents the next frame number to go to. |
Frames |
|
Header | |
Itr | Area that hits other objects. |
OPoint | Spawns an object during a game. |
OPointFacing | Number of objects to spawn, and their facing direction. |
ObjectData | |
ObjectDataParser | |
ObjectId | Object ID in |
Pic | Represents the sprite number to use. |
SpriteFile | |
SubRuleWrapper | |
WPoint | Holds a weapon / weapon is held. |
Wait | Represents the frame number. |
WeaponStrength | Attack strength of a light weapon. |
WeaponStrengthIndex | Represents the index in the [ |
Enums
BdyKind | Hittable volume of an object. |
BdyKindParseError | Errors when parsing a string as a |
CPointKind | Variants of |
CPointKindParseError | Errors when parsing a string as a |
Effect | Itr |
EffectParseError | Errors when parsing a string as a |
Element | |
Error | |
ItrKind | Interaction variants. |
ItrKindParseError | Errors when parsing a string as an |
OPointFacingDir | Whether the same / opposite of parent, or always to the right. |
OPointKind | Object spawning variants. |
OPointKindParseError | Errors when parsing a string as an |
Rule | |
State | States |
StateParseError | Errors when parsing a string as a |
WPointKind | Whether this describes holding a weapon, held as one, or dropping one. |
WPointKindParseError | Errors when parsing a string as a |
Type Definitions
SubRuleFn | Function that processes a sub grammar rule. |