[][src]Crate thorium

Lokathor makes stuff.

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

Modules

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

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

Pushes out the sound samples for the buffer size given.

game_output_sound

Causes the game to output sound.

game_update_and_render

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

render_screen_block

Displays an entire screenblock into a Bitmap.

render_tile_memory

renders out the first 256 tiles in the tile memory into a plain grid

render_weird_gradient

Renders the weird gradient into the bitmap.