Crate dwarf_term[][src]

The dwarf-term crate allows you to draw a screen that ends up looking like dwarf fortress.

At the moment there's only a single graphics set supported, but perhaps in future versions that will become an element that you can change at runtime.

Re-exports

pub use retro_pixel::*;
pub use glium::glutin::*;

Macros

check_misalign4

Checks that an address is aligned to a 4 byte bound.

check_misalign8

Checks that an address is aligned to a 8 byte bound.

check_misalign16

Checks that an address is aligned to a 16 byte bound.

check_misalign32

Checks that an address is aligned to a 32 byte bound.

determine_overlay
rgb16

As per rgba16, but automatically selects alpha=true.

rgb32

As per rgba32, but automatically selects alpha = 255.

rgba16

Builds a u16 value from the given RGBA values.

rgba32

Builds a u32 value from the given RGBA values.

Structs

DwarfTerm

A terminal where each cell has a foreground, background, and sprite id.

Enums

DwarfTermGliumError

Some sort of OpenGL error happened.