Jump to content
The simFlight Network Forums

Offset reserved


Recommended Posts

  • 2 weeks later...

I'm writing an instructor station (http://fsinstructor.com/). I need to write into FSUIPC offsets. Could you reserve an offsets range to stock my variables for:

- One short int (2 bytes)

- Ten long double (10 bytes each)

so a total of 102 bytes;

Is it possible?

Well, yes, probably. Please write to me at petedowson@btconnect.com.

Do you really need long double precision? Sounds extreme. Nothing I know of in FS itself uses anything bigger than a normal double 64-bit, 8 bytes), and most things are accurate enough with the 32-bit (4-byte) floats. Using those would bring your need down to 42 bytes, which would be much easier to fit in.

Regards

Pete

Link to comment
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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.