Game Programming Libraries
Want to develop your own MS-DOS games? This page is here to help you. All of the reusable code libraries for the Cyningstan DOS Games will be offered here for download.
CGALIB Graphics Library
All of the games on this site are based on the CGALIB graphics library. CGALIB is a relatively fast, specialised C graphics library. It targets the CGA graphics adapter, specifically the 4-colour 320x200 CGA graphics modes, although it will also emulate these modes on the 640x200 screen using dithering, for clarity on monochrome devices. For speed it organises the screen into 4x2 pixel cells, making it more suitable for turn-based games than for action games that require pixel-perfect positioning. ... (read more...)
KEYLIB Keyboard Library
Some of the games on this site use KEYLIB as their keyboard input library. KEYLIB is a small, simple library for reading a standard IBM PC/XT/AT keyboard. As well as the usual ASCII keypress functions, it allows scanning any key by scancode to check its key up/key down status. This means you can use it to check for shift keys used alone, or combinations of non-shift keys. KEYLIB is provided in source and binary formats for the OpenWatcom ... (read more...)