Jump to content
The simFlight Network Forums

adding/using Free OFFSETS in FSUIPC


Guest lamdid

Recommended Posts

Guest lamdid

Hello everyone, would someone be kind enough to explain to me the meaning of the following sentence (found on page 34 of the FSUIPC For Advanced Users documentation in the paragraph 'Adding Simulator variables (simvars) to FSUIPC offsets'):
"Note also that the offset needs to be bound to the size. This means that if the size is 8, the last offset digit needs to be 0 or 8, if the size is 4, the last offset digit needs to be 0, 4, 8 or C, etc (but not for string types)."

Indeed I would have simply imagined that it is the following offset which had to take into account the size of the one which precedes it.

But this sentence makes me doubt!? Do you have the explanation, thank you

Link to comment
Share on other sites

  • 1 month later...

The sentence means that the offset value should match the size of the data it represents. The last digit of the offset has specific requirements based on the data size, except for string types.
 

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • 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.