summaryrefslogtreecommitdiffstats
path: root/src/event.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/event.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/event.h')
-rw-r--r--src/event.h24
1 files changed, 19 insertions, 5 deletions
diff --git a/src/event.h b/src/event.h
index c9877db..e47b65e 100644
--- a/src/event.h
+++ b/src/event.h
@@ -1,4 +1,18 @@
-// event.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 _EVENT_H_
#define _EVENT_H_
@@ -18,7 +32,7 @@ class CInstanceManager;
#define MAXEVENT 100
-// Evénements.
+// Ev�nements.
enum EventMsg
{
@@ -512,13 +526,13 @@ enum EventMsg
typedef struct
{
- EventMsg event; // événement (EVENT_*)
- long param; // paramètre
+ EventMsg event; // �v�nement (EVENT_*)
+ long param; // param�tre
FPOINT pos; // position de la souris (0..1)
float axeX; // commande de l'axe X (-1..1)
float axeY; // commande de l'axe Y (-1..1)
float axeZ; // commande de l'axe Z (-1..1)
- short keyState; // état du clavier (KS_*)
+ short keyState; // �tat du clavier (KS_*)
float rTime; // temps relatif
}
Event;