[][src]Crate libosu

libosu

libosu is an attempt to make a convenient library for writing osu!-related programs. It includes data structures and parsers for beatmaps, replays, and more.

Please note that until this crate hits 1.0, none of the APIs in this crate will be stable, so take care when using this crate.

Structs

Additions

A representation of hitsound additions.

Beatmap

Represents a single beatmap.

Color

Represents an RGB color.

Difficulty

Difficulty settings defined by the map.

HitObject

Represents a single hit object.

Math

Zero-sized struct for performing mathematical calculations on floating points.

Mods

Mod listing with their respective bitwise representation.

OsuDB

osu!.db object

OsuDBBeatmap

Beatmap located in osu!.db, they are different from normal beatmaps

OsuDBBeatmapTimingPoint

Timing point for beatmap in osu!.db

Point

Represents a 2D point (or any pair of objects).

SampleInfo

A hitsound "item" represents a single "hitsound".

SliderInfo

Extra information provided by a slider.

SpinnerInfo

Extra information provided by a spinner.

Spline

Represents a spline, a set of points that represents the actual shape of a slider, generated from the control points.

TimeLocation

A struct representing a location in time.

TimingPoint

A timing point, which represents configuration settings for a timing section.

Enums

Grade

Rank grades

HitObjectKind

Distinguishes between different types of hit objects.

Mode

Integer enumeration of the game's game modes.

RankedStatus

Integer enumeration of the ranked statuses.

SampleSet

A set of hitsound samples.

SliderSplineKind

Distinguishes between different types of slider splines.

TimingPointKind

An enum distinguishing between inherited and uninherited timing points.

UserPermission

Integer enumeration of the user's permission

Functions

say_hello_thereDeprecated

Says "hello there"