Professional Documents
Culture Documents
Raas SDK PDF
Raas SDK PDF
Web: www.fs2crew.com
NOTES:
This SDK is for experienced developers only.
To discuss RAAS licensing opportunities for your payware aircraft, please contact FS2Crew Admin at
www.fs2crew.com.
SDK:
The RAAS module registers the following API variables:
register_named_variable("RAAS_Volume_Adjust");
register_named_variable("RAAS_Enable");
register_named_variable("RAAS_Alert");
register_named_variable("RAAS_Mute");
Note:
You may use these functions as detailed in the FSX C++ Panels and Gauges SDK to read and write
into the RAAS variables:
register_named_variable(..)
get_named_variable_value(..)
set_named_variable_value(..)
RAAS_Alert: You *MUST* type cast it to DWORD (32-bits, unsigned integer). It's a bitmask. See
the Define ADVISORIES - Bitmask Flags section below.
"RAAS_Volume_Adjust"
"RAAS_Enable"
"RAAS_Mute"
This value is updated by the RAAS module *EVERY* frame:
"RAAS_Alert"
#define ADVISORIES_BITMASK_APPROACHING_RWY_GROUND 1
#define ADVISORIES_BITMASK_APPROACHING_RWY_AIR 2
#define ADVISORIES_BITMASK_ON_RUNWAY 4
#define ADVISORIES_BITMASK_RUNWAY_END 8
#define ADVISORIES_BITMASK_TAXIWAY_TAKEOFF 16
#define ADVISORIES_BITMASK_INSUFFICIENT_RWY_GROUND 32
#define ADVISORIES_BITMASK_EXTENDED_HOLDING_ON_RWY 64
1- The "ON TAXIWAY, ON TAXIWAY" annunciation is heard when this bit is set:
"ADVISORIES_BITMASK_TAXIWAY_TAKEOFF"
2- The "CAUTION SHORT RUNWAY, SHORT RUNWAY" (IN AIR) annunciation is heard when these bits are
set:
"ADVISORIES_BITMASK_APPROACHING_SHORT_RWY_AIR"
"ADVISORIES_BITMASK_CAUTION_OPTION"
3- The "CAUTION SHORT RUNWAY, SHORT RUNWAY" (ON GROUND) annunciation is heard when these
bits are set:
"ADVISORIES_BITMASK_ON_RUNWAY"
"ADVISORIES_BITMASK_INSUFFICIENT_RWY_GROUND"
"ADVISORIES_BITMASK_CAUTION_OPTION"
Other examples:
-SDK END-