summaryrefslogtreecommitdiffstats
path: root/src/event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.cpp')
-rw-r--r--src/event.cpp24
1 files changed, 19 insertions, 5 deletions
diff --git a/src/event.cpp b/src/event.cpp
index b3480e0..3f29e63 100644
--- a/src/event.cpp
+++ b/src/event.cpp
@@ -1,4 +1,18 @@
-// event.cpp
+// * 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 .
#define STRICT
#define D3D_OVERLOADS
@@ -30,7 +44,7 @@ CEvent::~CEvent()
}
-// Vide le fifo des événements.
+// Vide le fifo des �v�nements.
void CEvent::Flush()
{
@@ -39,7 +53,7 @@ void CEvent::Flush()
m_total = 0;
}
-// Fabrique un événement.
+// Fabrique un �v�nement.
void CEvent::MakeEvent(Event &event, EventMsg msg)
{
@@ -47,7 +61,7 @@ void CEvent::MakeEvent(Event &event, EventMsg msg)
event.event = msg;
}
-// Ajoute un événement dans le fifo.
+// Ajoute un �v�nement dans le fifo.
BOOL CEvent::AddEvent(const Event &event)
{
@@ -60,7 +74,7 @@ BOOL CEvent::AddEvent(const Event &event)
return TRUE;
}
-// Enlève un événement du fifo.
+// Enl�ve un �v�nement du fifo.
BOOL CEvent::GetEvent(Event &event)
{