![]() |
FAT-Engine - SDK | (c) 2001/2002 TiCT |
Terms Of Use |
This release of the FAT-Engine-SDK may be distributed by any other website for non-commercial use only.
DISTRIBUTIONS of the FAT-Engine-SDK and the sourcecode of the FAT-Engine ON ANY OTHER MEDIUM (Disc,CD-ROM,DVD etc.) are PROHIBITED without separate allowance of the author.
DISTRIBUTING the FAT-Engine's Headerfile (fat.h) with your own sourcecode is EXPLICITELY allowed.
The FAT-Engine's Runtime-BINARIES (fatlib.89y/fatlib.9xy) can be DISTRIBUTED FREE in ANY FORM for non-commercial use only (i.e. as part of your own distribution of a client program if your program is NOT a commercial program).
The author makes no representations or warranties about the suitability of the software and/or the data files, either express or implied. The author shall not be liable for any damages suffered as a result of using or distributing this software and/or data files.
You are free to re-use any part of the sourcecode in your products as long as you give credits including a reference to the TICT-HQ (http://tict.ticalc.org/).
Beside the above copyleft terms there is one additionally topic to be mentioned. Since v1.10 the FAT-Engine contains an own splashscreen which displays the version number, a copyright note and the URL of the TICT-HQ.
I don't want to force a client program to show this splashscreen, but I would be very pleased if you could display that screen during startup of your program or and the end. If you display an own splashscreen for your version, then display the FAT-Engine's splashscreen right after it. Thanx.
Displaying the FAT-Engine's splashscreen is quite easy. Here is the sourcecode of a tiny client program which displays only the splashscreen:
#define SAVE_SCREEN // restore screen content automatically #define USE_TI89 #define USE_TI92P #define USE_V200 #include "fat.h" // maybe you have to modify this a little bit // (depending where fat.h is located) void _main() { if (FAT_LoadEngine() != FAT_LOADOKAY) return; // load engine if (!GrayOn()) return; // turn on grayscales FAT_DisplayLogo(200); // display the splashscreen GrayOff(); // turn of grayscales FAT_UnloadEngine(); // unload engine }Notes about function FAT_DisplayLogo():
- Grayscales must be turned on BEFORE calling FAT_DisplayLogo().
- FAT_DisplayLogo() destroys the content of the grayscale planes. Make sure that you backup the content of the planes in your program if it is necessary.
- The parameter (short) of FAT_DisplayLogo() is a delay (in details: the number of grayscale planeswitches to wait)
- FAT_DisplayLogo() allocates dynamically 4000 Bytes internally and frees it again. If the allocation fails it will not display anything, but returns 0 (instead of 1).
If you have already implemented a client program the integration of the FAT-Engine's splashscreen display is simply calling FAT_DisplayLogo(delay) in the right place.
- You can reach Thomas Nussbaumer at thomas.nussbaumer@gmx.net
- Marcos Lopez can be reached at marcos.lopez@gmx.net
- Lionel Debroux can be reached at lionel_debroux@yahoo.fr
Bug reports and similar are VERY welcome. Please use our Messageboard at http://pub26.ezboard.com/btichessteamhq for this.
... and last but not least: The TI-Chess Team (TICT) Website can be found at: http://tict.ticalc.org