1
0
Fork 0

add to project files

This commit is contained in:
adrian 2011-11-01 17:44:41 +02:00
parent c6062ad93c
commit 9527a0391e
6 changed files with 14 additions and 3 deletions

View file

@ -3865,6 +3865,14 @@
RelativePath="..\..\..\src\Instrumentation\wxradar.hxx"
>
</File>
<File
RelativePath="..\..\..\src\Instrumentation\commradio.hxx"
>
</File>
<File
RelativePath="..\..\..\src\Instrumentation\commradio.cxx"
>
</File>
<Filter
Name="Lib_HUD"
>

View file

@ -26,6 +26,7 @@ set(SOURCES
mrg.cxx
navradio.cxx
newnavradio.cxx
commradio.cxx
od_gauge.cxx
rad_alt.cxx
render_area_2d.cxx
@ -93,6 +94,7 @@ set(HEADERS
mrg.hxx
navradio.hxx
newnavradio.hxx
commradio.hxx
od_gauge.hxx
rad_alt.hxx
render_area_2d.hxx

View file

@ -23,6 +23,7 @@ libInstrumentation_a_SOURCES = \
mrg.cxx mrg.hxx\
navradio.cxx navradio.hxx \
newnavradio.cxx newnavradio.hxx \
commradio.cxx commradio.hxx \
slip_skid_ball.cxx slip_skid_ball.hxx \
transponder.cxx transponder.hxx \
turn_indicator.cxx turn_indicator.hxx \

View file

@ -1,5 +1,5 @@
// commradio.cxx -- implementation of FGCommRadio
//
// Class to manage radio propagation using the ITM model
// Written by Adrian Musceac, started August 2011.
//
// This program is free software; you can redistribute it and/or
@ -89,7 +89,7 @@ double FGCommRadio::getFrequency(int radio) {
void FGCommRadio::receive_text(SGGeod tx_pos, double freq, string text,
void FGCommRadio::receiveText(SGGeod tx_pos, double freq, string text,
int ground_to_air) {
comm1 = getFrequency(1);

View file

@ -62,7 +62,7 @@ public:
double getFrequency(int radio);
void setTxPower(double txpower) { _transmitter_power = txpower; };
// transmission_type: 1 for ground to air, 2 for air to air, 3 for pilot to ground, 4 for pilot to air
void receive_text(SGGeod tx_pos, double freq, string text, int transmission_type);
void receiveText(SGGeod tx_pos, double freq, string text, int transmission_type);
void setPropagationModel(int model) { _propagation_model = model; };
};