[][src]Crate thorium

Lokathor makes stuff.

Currently we're working on some Handmade Hero inspired stuff using winapi.

Modules

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

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_output_sound

Causes the game to output sound.

game_update_and_render

Updates the game, renders the frame, and also does sound.

render_weird_gradient

Renders the weird gradient into the bitmap.