Author: Jari Komppa aka Sol/Trauma
<mailto:solar@compart.fi>
http://www.compart.fi/~solar
Hi there.
As I received some comments, I decided to re-work the textmode fli player
a bit. No new functionality is included (except those of the textfx2),
but the source is somewhat cleaned up and the FLI/FLC player is now
completely separated from the textmode player part.
What surprised me was the comment on Hornet that the mode setup of textfx
didn't work but on some weird tweak.. in our testing (and man, did we
waste time on this) textfx-based programs work in linux dosemu, WinNT,
Win95, Win3.1, OS/2 Warp3, and dos of course, and mostly (if not in
every case) in window as well as fullscreen.
It might be that the "useless" comment was due to the fact that who on
Earth would use a textmode fli player :)
One reason for releasing this package is to produce some resources for
people to use in textmode demos. (what? textmode demos? - check my
homepage for textmode democompo info. If I've moved, search the net,
I'm bound to be out there somewhere =)
The sources in this package might be grouped this way:
makefile - Watcom makefile
fliflc.c - The FLI/FLC player "engine". Re-entrant, output device
independent, etc.
fliflc.h - Header file for fliflc
txtfli_o.c - Textmode fli/flc player that rescales to the screen.
This version uses the "old" txtfli player method of
calculating palette and dumping the output.
The scaling doesn't care about aspect ratio..
txtfli_n.c - Textmode fli/flc player that rescales to the screen with
antialiasing. This version uses "new" method by converting
the frames to truecolor with double resolution and running
it through textfx2:s truecolor-to-textmode conversion with
resampling back down to 80x50.
mcgafli.c - Done just to prove my point that fliflc can be used in
any mode :) (actually 13h use is easier than textmode use..)
txtfli_o.lnk - Watcom linker options for txtfli_o
txtfli_n.lnk - Watcom linker options for txtfli_n
mcgafli.lnk - Watcom linker options for mcgafli
textfx2.c - New version of my textfx.c/h routines with some experimental
routines as well as some useful ones =).
The calcpal routine some people have learned to love to hate
has gone through some "slight" optimization (it now takes
about sqrt(t) time compared to the old version). There are
some other features added as well, so check them out..
textfx2.h - Header file for textfx2
Also included:
ottpalet.zip - "optimal" textmode target palette for renderers / animation
compilers (such as Dave's Targa Animator).
tmdc.flc - Example flic file.
file_id.diz - Description In Zip file for BBS systems.
Sorry for no compiled versions but I wanted to keep the ZIP size SMALL.
Please, if you use any of those sources for anything, let me know!
And if you make improvements, throw me a copy!
Don't be a lamer - give proper credit!