Crate elma [] [src]

Library for reading and writing Elasto Mania files.

Modules

lev

Read and write Elasto Mania level files.

rec

Read and write Elasto Mania replay files.

Structs

Position

Shared position struct used in both sub-modules.

Enums

ElmaError

General errors.

Constants

HEAD_DIAMETER

Diameter of player head.

HEAD_RADIUS

Radius of player head.

OBJECT_DIAMETER

Diameter of objects (and wheels).

OBJECT_RADIUS

Radius of objects (and wheels).

Functions

string_null_pad

Pads a string with null bytes.

time_format

Converts the string-as-i32 times in top10 list to strings.

trim_string

Trims trailing bytes after and including null byte.