Hi. Thanks for downloading my JTris 1.01 source code.


Requirement on compiling JTris
------------------------------
JTris only compiles on DJGPP compiler which can be obtained from
http://www.delorie.com and it doesn't compile on other compilers
(e.g. Borland Turbo C/C++, Microsoft Visual C/C++, Watcom C/C++).
DJGPP is a 32bit compiler which produces 32bit dos protected mode
programs which really benefits JTris because JTris does not need
about to worry the 1Mb memory limitation.

In addition, JTris requires 4 additional libraries which is

    1. Allegro version 3.9.22 or above
    2. JGMOD
    3. LibJpeg
    4. LibAmp

Allegro is a game programming libraries developed by Shawn Hargraves
which provides game programming related functions like sound, keyboard
input, graphics, etc which really cut short my development time for
Jtris. Allegro can be obtained from http://www.talula.demon.co.uk/allegro

JGMOD provides MOD music playing capability to JTris and it is developed
by myself since December 1997. It can be obtained from http://surf.to/jgmod

LibJpeg provides functions for loading Jpeg pictures. Jpeg is a commonly
used format for storing pictures on the internet and is best used for
storing real pictures, not cartoonish pictures. All those background
pictures found in JTris (e.g. Terminator and Star Trek space ships) are
actually Jpeg which is stored in pictures.dat file.

LibAmp, provides MPEG music playing capability to JTris.


And forgotten, some DOS knowledge will help you better.




Compiling JTris
---------------
Just make sure that the path environment is set to the DJGPP bin directory.
For example, if DJGPP is installed in c:\djgpp, then type this

path=%path%;c:\djgpp\bin

Then make sure that all the libraries and header files for JGMOD, Allegro,
LibJpeg, LibAmp are all installed in appropriate directories in DJGPP
compiler. Header files are files usually end with dot h (eg. studio.h) and
in DJGPP, libraries are end with dot a. Header files should be copied to
djgpp\include while libraries should be copied to djgpp\lib.


Once all are done, just type "make" without the quote in Jtris directory
and compilation will begin.


If you have any problems compiling JTris, you can contact me at
jgfw@iname.com


and my snail mail address is :-

Guan Foo Wah
18, SS17/1H
47500 Subang Jaya
Selangor Darul Ehsan
Malaysia

Good Luck
