X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fpanel.cxx;h=a7b860afa43aa4ac8433a640f0e4640f9021a5c8;hb=35396de6f87e2a8b8d0c21eb1d0908db586799f8;hp=11d69e04618543e41e34dc2ff44e4afac48fa9aa;hpb=79b25c850e561f83590717700eb58e22f7818a09;p=flightgear.git diff --git a/src/Cockpit/panel.cxx b/src/Cockpit/panel.cxx index 11d69e046..a7b860afa 100644 --- a/src/Cockpit/panel.cxx +++ b/src/Cockpit/panel.cxx @@ -11,34 +11,50 @@ // 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 // sprintf #include +#include + +#include +#include +#include +#include +#include + +#include -#include #include #include #include +#include +#include #include
#include
#include
-#include #include