summaryrefslogtreecommitdiffstats
path: root/src/light.h
diff options
context:
space:
mode:
authorKrzysztof H <krzys_h@interia.pl>2012-03-09 17:08:05 +0100
committerKrzysztof H <krzys_h@interia.pl>2012-03-09 17:08:05 +0100
commit84d1f79fdf02e0010e4b2d118458e8cd8ce0dd71 (patch)
tree842825145ada8e6f53d1de9f100383cc028d2b46 /src/light.h
parenta4c804b49ec872b71bd5a0167c3ad45704a3cc30 (diff)
downloadcolobot-84d1f79fdf02e0010e4b2d118458e8cd8ce0dd71.tar.gz
colobot-84d1f79fdf02e0010e4b2d118458e8cd8ce0dd71.tar.bz2
colobot-84d1f79fdf02e0010e4b2d118458e8cd8ce0dd71.zip
Added license info using a small program SrcHead.
Diffstat (limited to 'src/light.h')
-rw-r--r--src/light.h24
1 files changed, 19 insertions, 5 deletions
diff --git a/src/light.h b/src/light.h
index c67f219..357f181 100644
--- a/src/light.h
+++ b/src/light.h
@@ -1,4 +1,18 @@
-// light.h
+// * This file is part of the COLOBOT source code
+// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
+// *
+// * 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 3 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, see .
#ifndef _LIGHT_H_
#define _LIGHT_H_
@@ -25,15 +39,15 @@ LightProg;
typedef struct
{
- char bUsed; // TRUE -> lumière existe
- char bEnable; // TRUE -> lumière allumée
+ char bUsed; // TRUE -> lumi�re existe
+ char bEnable; // TRUE -> lumi�re allum�e
D3DTypeObj incluType; // type de tous les objets inclus
D3DTypeObj excluType; // type de tous les objets exclus
- D3DLIGHT7 light; // configuration de la lumière
+ D3DLIGHT7 light; // configuration de la lumi�re
- LightProg intensity; // intensité (0..1)
+ LightProg intensity; // intensit� (0..1)
LightProg colorRed;
LightProg colorGreen;
LightProg colorBlue;