Jump to content
Sign in to follow this  
Guest bartels

Gauge Headers

Recommended Posts

Guest Fabio Miguez

Hey all.Does anybody know if the newer Gauge Headers can be used? When looking at Gauges.h, I found this:

#define GAUGE_HEADER_VERSION_FS610						610	// FS 6.10 gauges#define GAUGE_HEADER_VERSION_FSNEW						625	// OLD style gauges compiled in the FS70 TREE#define GAUGE_HEADER_VERSION_CFS1						650	// CFS1 Gauges#define GAUGE_HEADER_VERSION_FS700						700	// new FS7 gauges built after CFS1 is finalized#define GAUGE_HEADER_VERSION_CFS2						750	// gauges built after FS2000 shipped and before CFS2 shipped#define GAUGE_HEADER_VERSION_FS800						800	// FS2002 gauges

I've only used version FS700 so far, making gauges for FS2002, for that is what MS and Dai had in their examples. But can you use FS800? Is there any difference? The definition of all of them seems to be the same...

Share this post


Link to post
Share on other sites

If you are making gauges for FS2002 then you should use the FS800 gauge header version, I suppose the FS700 will probably work. Then again, take the fs2000 gps gauge doesn't work in fs2002!!

Share this post


Link to post
Share on other sites
Guest bartels

The structure GAUGEHDR differs with the versions, if you don't need anything of it explicetly the GAUGE_HEADER_VERSIONs are more or less arbitrary. BTW the GAUGE_HEADER_FS700 macro in fs2k2gauges.h is actually a renamed GAUGE_HEADER_FS800 macro, so any gauge complied with fs2k2gauges.h is automatically GAUGE_HEADER_VERSION_FS800. The one constant that is really interesting in the FS8LINK_VERSION 0x0800 definition, it determines if you get the oldmodules warning or not. This has possibly to be modified with using /RELEASE (building module checksum) as linker option to avoid warnings on some WindowsXP systems (after Dais newest version sd2gau14.zip).Arne Bartels

Share this post


Link to post
Share on other sites
Guest bartels

This can be a specific problem that has nothing to do with the gauge header versions:. It is very likely that the GPSs have direct access to the internal FS GPS data (obviously, since there is no interface in gauges.h) and the GPS data format might differ from FS2000 to FS2002, so the "old" GPS doesn't work with FS2002.Arne Bartels

Share this post


Link to post
Share on other sites
Guest bartels

Oops, that was possibly misleading. FS does of course need a matching header version number to determine what kind of gauge header is following. So the correct gauge header version is vital.Arne Bartels

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...