X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fpanel.cxx;h=9c39626ee6bd1dd4250047400a198064a1169b36;hb=8e5f3ac8a333a971d7f8104a387426c3bc47a014;hp=09194ef12de8cc31178e675b7a994227a78dd98b;hpb=de47d1a7d897ae1458c2a83bf2b3d99d147470c0;p=flightgear.git diff --git a/src/Cockpit/panel.cxx b/src/Cockpit/panel.cxx index 09194ef12..9c39626ee 100644 --- a/src/Cockpit/panel.cxx +++ b/src/Cockpit/panel.cxx @@ -11,39 +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 -#include #include #include #include +#include +#include #include
#include
#include
#include