Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

itrafficinfo examples needed

Featured Replies

Got it !!Thanks a million ;-)Eric

  • Replies 47
  • Views 5.2k
  • Created
  • Last Reply

Top Posters In This Topic

I added a boolean called "MODE" that is supposed to switch between horizontal and vertical presentation. The presentation itself works perfectly, but I am obviously not smart enough to figure out how to pass the parameter from the XML file to the dll. I added this to XMLCCallbacks.cpp:pParameters->GetParameter(DRAW_PROPERTY_MODE,&mode);---pParameters->SetParameterId (DRAW_NAME_MODE, DRAW_PROPERTY_MODE, pParameters->PARAMETER_TYPE_BOOL); And in GdiPlusRadar.cpp:bool mode = FALSE;---if(mode) y = pai_data->dlt_alt/-100;else y = -DEG_COS(pai_data->brg-true_hdg)*50*pai_data->dist/m_range;Now, what's missing here? /Thomas

Where do you pass the variable mode from XMLCCallbacks ::Draw() to GdiPlusRadar ::Draw()? I added each param in the Draw() definition in GdiPlusRadar.h, it could be done differently so it is such a long call with so much params, but as long as it works...

I tried that, it says: error C2660: 'Draw' : function does not take 13 parameters

You have to redo the definition in GdiPlusRadar.h, the declaration in the GdiPlusRadar.cpp and the call in XMLCCallbacks.cpp of course.

Whoops. I forgot to change the call in XMLCCallbacks.cpp. Now it compiles OK, but the "mode" parameter is still not detected from the XML file. (A:GPS GROUND TRUE HEADING, degrees) Sorry if I sound like a complete idiot sometimes, but I AM one when it comes to C++. ;o)/Thomas

I put them in the library coming weekend. I'm not at home at the moment.

Hi Arne,nice to meet you here again!I tried to d/l your zips, but it looks as if the aren`t on the server any more. Is there any chance to get them from you via mail?Danke!Herbert Pralle

Hello Arne, i

The files are uploaded to the library now.

Hi Herbert.Guten Tag! Arne posted a note to me today that he has put the files in the Avsim Library. So they should be available later today then.Frank Safranek - Alphasim Paint CrewMirage Aircraft for Flight Simulatorhttp://www.mirage4fs.com

Frank Safranek - Alphasim/Virtavia Paint Crew

m4fs_banner.jpg

Great News, Thanks for the info Frank!

Hey guys i

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.