#5 Flight Log

open
nobody
None
5
2008-12-08
2008-12-08
Geoff
No

Monday, December 08, 2008.

Hi,

I did a build of FGRUN OSG in MSVC9 (2008) a few days ago, and added back a 'Flight Log' feature I first added a few years ago ...

The attached patch file contains the small changes, and source of my new module, fgfslog.[cxx|h] ... of course, to be fully complete, no doubt it should also be incorporated into the GUI rather than using my static 'temp' file names ...

It also has a small change to fgrun.rc, since afxres.h is no longer part of the MSVC9 download, but windows.h works just as well ... also strange that resoure.h is missing from the SVN source - all branches and tags - but it only has one define, IDI_ICON1 ...

Regrettably, I have NOT had a chance to compile my new module in unix, but I took care to use cross platform system functions, and have not added the calls to run_posix.cxx, but it seems simple to put the new log function calls around pty_fork(), waitpid(), etc ... for unix.

If you are interested, you can read all about my native WIN32 FGRUN 'update' with MSVC9 Express at :-
http://geoffair.net/fg/fgfs-048.htm
You will note I skipped the 'gettext' step ;=(( I did download its source, but had some troubles generating a WIN32 port ...

Anyway, thank you for a GREAT application ... it certainly makes running FG much, MUCH EASIER, and now I can review the run string, and have a LOG of my flights with it as well ;=)) Maybe you will consider these 'features' ...

Regards,

Geoff.

PS: Also note the application 'hangs' if you select the 'Airbus A38-House', and aborts on the 'Fokker 50'. but understand this may not be a problem with FGRUN, but the aircraft 'model' itself ...

attached: fgrun.patch.txt

EOF - fgrun-02.doc

Discussion

  • Geoff
    Geoff
    2008-12-08

    Patch for Flight Log

     
    Attachments