.gitignore | ||
DGL.C | ||
DGL.H | ||
DGLBLIT.C | ||
DGLBLIT.H | ||
DGLBLITA.ASM | ||
DGLCLIP.C | ||
DGLCLIP.H | ||
DGLCMN.H | ||
DGLDRAW.C | ||
DGLDRAW.H | ||
DGLDRAWA.ASM | ||
DGLERROR.H | ||
DGLFIXP.C | ||
DGLFIXP.H | ||
DGLGFX.C | ||
DGLGFX.H | ||
DGLKBRD.C | ||
DGLKBRD.H | ||
DGLKEYS.H | ||
DGLMATH.C | ||
DGLMATH.H | ||
DGLMOUSE.C | ||
DGLMOUSE.H | ||
DGLMTX33.H | ||
DGLPAL.C | ||
DGLPAL.H | ||
DGLPCX.C | ||
DGLPCX.H | ||
DGLRECT.H | ||
DGLUTIL.C | ||
DGLUTIL.H | ||
DGLVEC2.H | ||
MAKEFILE | ||
README.md | ||
TEST.C |
libDGL
libDGL is a "retro coding" C library aimed at MS-DOS VGA Mode 13h game development. It is developed with DJGPP with 486 DX2 systems as a baseline target for performance.
The project is developed with Watcom C 10.0b.
Why?
Because it's fun.
If you were looking for something for "retro" MS-DOS game development that is fully featured, really performant and bug-tested that's ready right now, have a look at Allegro 3.x or possibly 4.x depending on what hardware you're targetting.
Status
This library is currently under early development and is lacking many things and probably chock-full of bugs.
Done / Mostly Done
- Primitive drawing support
- Text rendering
- Blitting
- Graphics clipping
- Keyboard input
- Mouse input
- PCX loading/saving
- Math library (general helpers, 2D vector, 3x3 matrix)
- Fixed point math
- Basic error handling / results
TODO
- Scaled/rotated blitting support
- Blending
- "Mode 7" like support
- Custom font loading (BIOS-like format?)
- Joystick / Gravis GamePad support
- PC speaker sounds
- Sound Blaster compatible sound/music
- Gravis Ultrasound compatible sound/music
- Sine/cosine lookup table optimizations
- BMP, LBM, GIF image loading (and saving?)