Radar Contact V2.x - Super Flight Planner Adventure Write Module. By Alessandro Antonini, "theflyguy" - alex@futurtechno.com Welcome to the Radar Contact V2.x - Super Flight Planner Adventure Write Module source code package. This package is meant to distribute a more than exhaustive sample of how to write a custom Adventure Write Module for SFP 2.5 and above. It is presupposed you have at least a bare knowledge of the C programming language, however I have done my best in order for the code to be as readable as possible. Feel free to contact me if you have something that puts you in troubles and I'll see what I can do for you. My Email address is shown above in case you need a technical explaination, a code snip, etc. Package contents: ----------------- FLSUPP.H - this is the interface file to SFP plan engine contained within FLSUPP.DLL and FLDLGS.DLL (routines to access SFP database or plan table are included here). FLPLDEFS.H - this is a FLSUPP.H accompanying file. Contains several precompiler settings ADVTYPES.H - contains all structures related to adventure generation, such as weather, etc. COMPILE.C - module which does write the Radar Contact source file. COMPILE.H - interface file for COMPILE.C LV.C - contains code to access SFP runways listview available within Adventure Maker runways tab-sheet. DISCOMP.C - contains code to uncheck the Compile adventure switch within Adventure Maker flags tab-sheet. This is accomplished by entering into SFP Adventure IPC server and sending a WM_COPYDATA message to Adventure Maker window handle. RADARCNT.C - contains the exported routine. This routine will be called by SFP at the moment of launching the DLL to generate the source code of your adventure. MS\ subdirectory - contains make files and import libraries for MS Developer Studio (Aka Visual C++ 5) BCB\ subdirectory - contains make files and import libraries for Borland C++ Builder 3 environment. The code is all plain C (no C++) and should be easily readapted in order to be compiled by environments other than the two above (e.g CygWin, Watcom C++, etc.). Copyrights: ----------- SFP is Copyright by me. Radar Contact is Copyright by John Dekker and Doug Thompson. Flight Simulator is Copyright by Microsoft. (If I'm forgetting somebody here, I do apologize in advance). Have Fun! Alex.