Module elma::lev [] [src]

Read and write Elasto Mania level files.

Structs

Level

Level struct that contains all level information.

ListEntry

Top10 list entry struct.

Object

Object struct. Every level requires one ObjectType::Player Object and at least one ObjectType::Exit Object.

Picture

Picture struct.

Polygon

Polygon struct.

Enums

Clip

Picture clipping.

Direction

Apple direction object.

ObjectType

Type of object.

TopologyError

Topology related errors.

Version

Game version.

Traits

BoundingBox

This trait specifies something having a rectangle bounding box.

Functions

crypt_top10

Decrypt and encrypt top10 list data. Same algorithm for both.

parse_top10

Parse top10 lists and return a vector of ListEntrys