Crate thorium

Source
Expand description

Lokathor makes stuff.

Major features of the library so far:

Modules§

color
Place to put stuff for color manipulation.
dmg_apu
dmg_render
Module for rendering a Game Boy style image.
interchange
This module defines the interface between platform binary and game library.

Macros§

debugln
file!():line!()>, a space, and then the message.
dump
file!():line!()> expr: expr_value, one per expression
newtype
Assists in defining a newtype wrapper over some base type.
newtype_enum
Assists in defining a newtype that’s an enum.
tlc_modify
Modify a thread_local Cell with the provided function.
tlc_read
Read a value out of a thread_local Cell
tlc_write
Write a new value to a thread_local Cell

Functions§

game_get_sound_samples
A shim to the real sound output, so that the ABI is correct based on link mode.
game_update_and_render
A shim to the real game update, so that the ABI is correct based on link mode.
render_weird_gradient
Renders the weird gradient into the bitmap.