Start Games Utils Writings Paintings Contact

Utils

Just a bunch of utils and libs I've written over the years.

klibb

Collection of general-purpose low-level C++ libs. Includes memory management, string manipulation helpers, vector and matrix mathematics, file management and more. When doing new projects I usually copy needed files from these and shave off any excess features.

Source at GitHub

pvx

Minimalistic shape rendering system for interfacing with lua. The only thing it can do is draw colored shapes, process mouse input and process a few keys (escape and arrow keys). After compiling this as a dll you can then load it up from lua like so:

    package.loadlib("pvx.dll", "pvx_load")()

This injects these global functions into your lua environment, which you can then use to draw graphics and process simple input:

    pvx_init
    pvx_deinit
    pvx_process_events
    pvx_is_window_open
    pvx_add_shape
    pvx_draw_shape
    pvx_clear
    pvx_flip
    pvx_key_held
    pvx_move_view
    pvx_view_pos
    pvx_mouse_pos
    pvx_window_size
    pvx_left_mouse_held
    pvx_right_mouse_held

The library is a simple 600 LOC thing written in C which just draws arbitrary colored shapes using OpenGL. It is used and written specically for my gamejam town AI simulation KOFFERT, which is written in lua.

Source at GitHub
Binary windows DLL. I have no idea if this will work on you computer :D

jzon

jzon is a format for describing data that is easier and less error-prone to edit than standard json. It differs from normal json in these ways:

I have made a C implementation of a reader for this data format.

Source at GitHub with more info

MEGACOPY

DOS application which copies files to from one place to another and lets you retry / skip / quit if the operation fails. It's very handy for copying a directory tree off a harddrive onto several floppys.

Source at GitHub
Download binary (18 KB, tested on my IBM 286)