X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fpanel.cxx;h=be2f12570e8fb3d336e9e79d0c68ccee5b2a0155;hb=d0be86810e3d070758cbad507d396523203f943a;hp=d59c06f5101c4202bc7e8c83e10c49916f733bac;hpb=62a359cc4a338b2f8b720edf8183ab5b69710b14;p=flightgear.git diff --git a/src/Cockpit/panel.cxx b/src/Cockpit/panel.cxx index d59c06f51..be2f12570 100644 --- a/src/Cockpit/panel.cxx +++ b/src/Cockpit/panel.cxx @@ -11,41 +11,57 @@ // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // $Id$ +//JVK +// On 2D panels all instruments include light sources were in night displayed +// with a red mask (instrument light). It is not correct for light sources +// (bulbs). There is added new layer property "emissive" (boolean) (only for +// textured layers). +// If a layer has to shine set it in the "instrument_def_file.xml" inside the +// tag by adding true tag. When omitted the default +// value is for backward compatibility set to false. + #ifdef HAVE_CONFIG_H # include #endif -#ifdef HAVE_WINDOWS_H -# include -#endif +#include "panel.hxx" #include // sprintf #include +#include -#include +#include +#include +#include +#include +#include -#include SG_GLU_H +#include -#include #include #include #include +#include +#include #include
#include
#include
#include