October 14, 200619 yr Commercial Member I've just uploaded a new gauges.h file for FSX (fsxgauges.h - filename fsxgauges.zip - ach! I've just realised what a stupid name that is!). It contains the usual bucketload of corrections and backwards-compatibility code. There's a whole load of new stuff in it compared to fs9gauges.h and I'm not even going to attempt to list it. I've marked all my additions as//***************************//Dragonflight Design change//***************************and//***************************//End change//***************************but I confess I didn't mark all of the aliases added into the gauges token list.Any problems please let me know; I've just compiled my current project with this updated file and it runs okay under FS9 and FSX.-Dai
October 22, 200619 yr Hi Dai; Thanks. There are a pair of duplicate macro defs at line 5272 and line 5275 (LIGHT_LISTELEMENT and DARKEN_LISTELEMENT). I see that you changed the name of the HIDE_ELEMENT and SHOW_ELEMENT macros from the FS2004 version...was that intentional?CheersBob ScottATP IMEL Gulfstream II-III-IV-V L-300Santiago de Chile Bob Scott | President and CEO, AVSIM Inc ATP Gulfstream II-III-IV-V Sys1 (MSFS20+24/XPlane12+11): AMD 9800X3D, water 2x240mm, MSI MPG X670E Carbon, 64GB GSkill 6000/30, nVidia RTX4090FE Alienware AW3821DW 38" 21:9 GSync, 2x4TB Crucial T705 PCIe5 + 2x2TB Samsung 990 SSD, EVGA 1000P2 PSU, 12.9" iPad Pro Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, Twin TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case Sys2 (P3Dv5/v4): i9-13900KS, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090 Samsung 55" JS8500 4K TV@60Hz, 3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box Sys3 (DCS/P3Dv4/ATS/ETS): AMD 7800X3D, MSI MPG X870E Carbon, Noctua NH-D15S, 64GB GSkill 6000/30, EVGA RTX3090 Alienware AW3420DW 34" 21:9 GSync, Corsair HX1000i PSU, 4TB Crucial T705 PCIe5 + 2TB Samsung 970Evo Plus, TM TCA Officer Pack, Saitek combat pedals, TM Warthog, TM RS300 FF wheel/pedals, Coolermaster HAF XB case
October 25, 200619 yr Author Commercial Member Hi BobThanks for the duplicates info. I don't recall changing any macro names as it was mostly a cut-paste-compile-aaargh!! excercise. Point me in the right direction?-Dai
October 26, 200619 yr >Hi Bob>>Thanks for the duplicates info. I don't recall changing any>macro names as it was mostly a cut-paste-compile-aaargh!!>excercise. Point me in the right direction?>>-Dai> Bob Scott | President and CEO, AVSIM Inc ATP Gulfstream II-III-IV-V Sys1 (MSFS20+24/XPlane12+11): AMD 9800X3D, water 2x240mm, MSI MPG X670E Carbon, 64GB GSkill 6000/30, nVidia RTX4090FE Alienware AW3821DW 38" 21:9 GSync, 2x4TB Crucial T705 PCIe5 + 2x2TB Samsung 990 SSD, EVGA 1000P2 PSU, 12.9" iPad Pro Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, Twin TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case Sys2 (P3Dv5/v4): i9-13900KS, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090 Samsung 55" JS8500 4K TV@60Hz, 3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box Sys3 (DCS/P3Dv4/ATS/ETS): AMD 7800X3D, MSI MPG X870E Carbon, Noctua NH-D15S, 64GB GSkill 6000/30, EVGA RTX3090 Alienware AW3420DW 34" 21:9 GSync, Corsair HX1000i PSU, 4TB Crucial T705 PCIe5 + 2TB Samsung 970Evo Plus, TM TCA Officer Pack, Saitek combat pedals, TM Warthog, TM RS300 FF wheel/pedals, Coolermaster HAF XB case
October 27, 200619 yr Author Commercial Member Ah - gotcha. They're two different macro types: SHOW/HIDE_ELEMENT works only in the macro callback and references that macro only, whereas SHOW/HIDE_LISTELEMENT allows you to call a whole bunch of macros by their plist number all at the same time from the gauge callback routine(s). _ELEMENT is not 100% reliable; M$ broke it with the release of FS2K and it hasn't been fixed since. Or maybe it wasn't broken, just corrected... hmmm... never thought of that.-Dai
Create an account or sign in to comment