 |
 |
 |
  | |

These sources have been released to the public domain without any warranty. All I wish is that
you would send me an email if you use any of them. I will consider releasing more
code if there is interest.
(Funny thing that; you ask for a postcard, you get email. You ask for email, you get nothing).
textfx7.zip 1219kB
TextFX textmode graphics library, revision 7
Lots of bugfixes and cleanup; the image quality is massively improved. New testbench application included which can be used for regression testing when developing the conversion filters. Also don't miss the updated documentation.
>> Download
textfx6.zip 627kB
TextFX textmode graphics library, revision 6
Massive update including various improved and new rgb to textmode filters. Also don't miss the documentation, describing the theory behind each of the filters.
>> Download
textfx5.zip 187kB
TextFX textmode graphics library, revision 5
A refresh of my textfx routines, including the old blockcolor and asciiart converters as well as new colorful asciiart and half-block modes, and some ditherers for fun measure.
Also includes c++ version of my fli/flc player.
>> Download
theremincampoop.zip 359kB
Theremincampoop 1.0
A webcam-based musical instrument using ESCAPI. Show your camera some colorful objects and enjoy the noise.
>> Download
sol2dglbasecode20.zip 1049kB
Sol's 2d gl basecode 2.0
Updated to include all improvements from the Atanua project. Better IMGUI widgets (esp. slider), portability to linux and OSX (including different endianess), some simple collision routines added, etc.
>> Download
sol2dglbasecode10.zip 1044kB
Sol's 2d gl basecode 1.0
Pile of source including bunch of routines handy for quick 2d game programming. Features include particles, sprites, fonts, IMGUI widgets (button, scrollbar, text field), etc.
>> Download
attractorexplorer10.zip 585kB
Attractor Explorer 1.0
Tool to play around with strange attractors, along with source. To compile the source you need
wxwidgets configured with opengl enabled (and a lot of patience). Win32 binaries included.
>> Download
midiparser.zip 4kB
MIDI parser
A parser for MIDI files that I wrote when I was doing a small softsynth for an AVR microcontroller.
>> Download
interjector10.zip 203kB
Interjector 1.0
Simple C preprocessor that inserts macros at all function entry- and exit points.
These macros can then be defined to perform different things, such as call
flow logging, performance analysis, and similar diagnostics.
>> Download
escapi21.zip 481kB
Extremely Simple Capture API 2.1.
Simple DLL interface to use video capture devices (i.e. webcams), along with a simple example that uses SDL,
as well as a couple even simpler examples that don't require SDL. 2.1 adds examples for BlitzMax, PureBasic, as well as a OpenGL-based "funny mirrors"-example. The only DLL change is that the 'alpha' bits now have value 0xff.
The DLL is free for anyone to use as long as I'm not held responsible for anything.
p.s. if you hit the "debugger detected - please close it down and restart" dialog, you may want to try to run:
regsvr32 /u "C:\Program Files\Common Files\Ahead\DSFilter\NeVideo.ax"
(at your own risk, naturally) - helped me.
>> Download
escapi20.zip 470kB
Extremely Simple Capture API 2.0.
Simple DLL interface to use video capture devices (i.e. webcams), along with a simple example that uses SDL,
as well as a couple even simpler examples that don't require SDL. 2.0 also adds support for multiple capture
devices.
The DLL is free for anyone to use as long as I'm not held responsible for anything.
>> Download
escapi10.zip 274kB
Exceedingly Simple Capture API 1.0.
Simple DLL interface to use video capture devices (i.e. webcams), along with a simple example that uses SDL. The DLL is free for anyone to use as long as I'm not held responsible for anything.
>> Download
lsys.zip 113kB
L-system fractals in OpenGL using SDL.
I had a l-system engine in "gateways". I re-built an l-system engine with more or less the same features
for "the line age". This zip contains the sources, a bunch of the l-systems from the demo, as well as
win32 binaries.
>> Download
pqtorusknots.zip 225kB
PQ-torus knots in OpenGL using SDL.
Early 2004, I decided to give PQ-torus knots a spin based on the theory on this blackpawn site.
The code uses SDL as the basis and renders single-strip texture-wrapping-corrected PQ torus knots using OpenGL. And it generates normals and everything. For one reason or another I never got to release this earlier. Zip contains all sources and pre-built win32 binaries.
>> Download
pcxlite.zip 25kB
PCXLite - lossless PCX compressor.
A PCX compressor I made in 1998, now ported to windows. Analyses
PCX files and rearranges the palette in order to get most out of
the PCX compression. Due to the way photoshop saves PCXes, this
tool can chop as much as 25% off PCX sizes. It's another question
whether anyone finds any use for it these days =) All source etc.
included.
>> Download
cfl3r3.zip 135kB
Compressed file library engine 3 source, release 3.
Completely rewritten c++ version of CFL. Additional functionality includes pluggable
class factories, easy CFL file creation runtime, and possibility of having multiple
separate CFL objects in memory. Also included are cfl testing tool source to ease
porting and making of additional plug-in compressors, preprocessors and ciphers, and
also a completely redesigned makecfl utility, which makes creating ini files a snap.
A win32 executable binary of makecfl is also included.
Most of the new features were implemented with savegames in mind.
You may wish to get zlib from http://www.gzip.org/zlib/, although
cfl3 works without it as well.
Release 3 changes:
- Added Jetro Lauha's uncfl
- Lots of source clean-ups
- getFilePtr now returns correct pointer (was off by 4 bytes)
- ZLIB stuff finally actually tested with 1.1.3 - couple typecasts were still missing
>> Download
textfx4.zip 152kB
TextFX textmode graphics library, revision 4
Majorly rewritten c++ version of my old textfx routines. Includes two separate
rendering methods: the old blocky color mode, and new ascii art mode. Both methods
are used through the same interface.
Mainly targeted towards WinNT console, but the core of the code should compile as-is
under DOS as well, if anyone really needs that anymore.
Also includes c++ version of my fli/flc player.
>> Download
cfl3r2.zip 72kB
Compressed file library engine 3 source, release 2.
Release 2 changes:
- delta preprocessors added
- zlib unit now works with zlib 1.1.3
>> Download
cfl3r1.zip 68kB
Original CFL3 release
>> Download
ramfile.zip 2kB
Ramfile - a hack to help turn just about any application cfl2-friendly.
Has been used successfully with jpeglib etc.
>> Download
cfl2_0.zip 9kB
Compressed file library engine 2.0 source. This is the file library used
(in slightly modified form) in several Trauma demos, screensavers, DEE musicdisks etc.
Doom .WAD like filelibrary, only much better. Can be used to make one-file demos, for
example. Completely dynamic, uses hashes for speed. You may wish to get zlib from
ftp.cdrom.com too.
This version works with visual C.
>> Download
qmedian.zip 5kB
Median cut color reduction source. Re-entrant, completely dynamic, optimized
for speed. Uses radix sort.
>> Download
dpapcpl.zip 4kB
Deluxe paint animator PC player source. This player has pretty much same interface
as the fli player. I'm pretty sure someone wants this source pretty badly, as it gets
called after every now and then.. based on someone elses' work which was very horrible,
but completely recoded.
>> Download
pfence14.zip 6kB
Picket fence malloc debugger v1.4, designed to help hunting down pointer-specific
bugs in C programs.
Like the name implies, this is a very bad imitation of electric fence on
linux. As dos4gw environment does not support any kind of memory protection, I had to
cope otherwise.. download it and read the manual.
>> Download
txtfli2.zip 36kB
Textmode fli animation player: includes re-entrant output device independent
fli/flc player, truecolor buffer to textmode converting routines, and examples
of fli players in 13h (320x200x256c) and textmode.
Fli and flc animations can be made at least with autodesk animator, 3d studio and
Dave's Targa Animator; fli files are 320x200, flc:s vary in resolution. All flc/flc
files are 256c. Flx and flh variants exist which use true- and highcolor, respectively,
but I haven't found any information of these.
>> Download

|
| 
 |  |
|  |
 |
| 
 |