A couple points of clarification related to XML and TCAS:
- One can write an 'xml TCAS' (specifically, a TCAS not utilizing Arne Bartles traffic radar module) using either FS9 or FSX xml schema. As noted earlier in this thread, most people consider FS9 schema to be less verbose and simpler to use than FSX schema. The xml schemas, so far, are forward but not backward compatible. You can use FS9 schema in the FS9 through P3D v4 sims, but you cannot use FSX schema in the FS9 simulator.
- An xml TCAS requires use of the ITrafficInfo xml variables which are available starting with the FSX simulator's gps module. These variables are maintained in the gps modules of subsequent simulations through P3D v4. There are no ITrafficInfo xml variables associated with the FS9 gps.dll, so for that sim, you must use Bartel's module for a TCAS gauge.
- CustomDraw xml was introduced in the FS9 simulation concurrent with the release of MS's xml Garmin 295 and 500 gps gauges. Those gps gauges contained a moving map, and CustomDraw was the framework to manipulate the layers (terrain, navaids, flight plans, etc) of the map.
- You don't need CustomDraw elements to write an xml TCAS gauge. Early RW TCAS gauges were not superimposed on top of a terrain map; their backgrounds were just black. That can be re-created in xml using ITrafficInfo variables without use of CustomDraw elements. The key to an xml TCAS is the availability of xml ITrafficInfo variables.
Bob