// panel.cxx - default, 2D single-engine prop instrument panel // // Written by David Megginson, started January 2000. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as // published by the Free Software Foundation; either version 2 of the // License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, but // 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., 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 #include "panel.hxx" #include // sprintf #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include
#include
#include
#include