add to project files
This commit is contained in:
parent
c6062ad93c
commit
9527a0391e
6 changed files with 14 additions and 3 deletions
|
@ -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"
|
||||
>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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; };
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue