Crate ssbm_utils

Source
Expand description

§SSBM Utils

A crate for interacting with data from Super Smash Bros. Melee. Contains enums, helper types, and various functions to replicate in-game calculations

Modules§

calc
checks
Contains an assortment of helper functions to determine when various events occur in replays.
constants
enums
prelude
trackers
Trackers are small, self contained structs that keep track of in-game parameters through an update method. These are useful in stats code for tracking things like tech lockout windows and state transitions
types

Macros§

mf
Converts a melee frame index (i32 starting at -123) to a real-time frame index (usize starting at 0)
pos
Constructor macro for Position structs. Accepts 2 values that can be as f32 casted.
stick_pos
Constructor macro for StickPosition structs. Accepts 2 values that can be as f32 casted.
vel
Constructor macro for Velocity structs. Accepts 2 values that can be as f32 casted.