summaryrefslogtreecommitdiffstats
path: root/src/event.cpp
diff options
context:
space:
mode:
authorProgramerus <alcadeias95@gmail.com>2012-03-21 21:34:46 +0100
committerProgramerus <alcadeias95@gmail.com>2012-03-21 21:34:46 +0100
commit66d84132e108144b4bad73b22b201a6008571b99 (patch)
tree9cd6dbc3b8f45e0daf16f08503a6cfba165e4e09 /src/event.cpp
parent768d8ccdd7c617380a3bfe26b82aa63118c2b176 (diff)
downloadcolobot-66d84132e108144b4bad73b22b201a6008571b99.tar.gz
colobot-66d84132e108144b4bad73b22b201a6008571b99.tar.bz2
colobot-66d84132e108144b4bad73b22b201a6008571b99.zip
Comments translated from French to English.
Diffstat (limited to 'src/event.cpp')
-rw-r--r--src/event.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/event.cpp b/src/event.cpp
index 4ee5733..2eeddb4 100644
--- a/src/event.cpp
+++ b/src/event.cpp
@@ -12,7 +12,9 @@
// * 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 http://www.gnu.org/licenses/.// event.cpp
+// * along with this program. If not, see http://www.gnu.org/licenses/.
+
+// event.cpp
#define STRICT
#define D3D_OVERLOADS
@@ -27,7 +29,7 @@
-// Constructeur de l'objet.
+// Object's constructor.
CEvent::CEvent(CInstanceManager* iMan)
{
@@ -37,14 +39,14 @@ CEvent::CEvent(CInstanceManager* iMan)
Flush();
}
-// Destructeur de l'objet.
+// Object's destructor.
CEvent::~CEvent()
{
}
-// Vide le fifo des événements.
+// Empty the FIFO of events.
void CEvent::Flush()
{
@@ -53,7 +55,7 @@ void CEvent::Flush()
m_total = 0;
}
-// Fabrique un événement.
+// Produces an event.
void CEvent::MakeEvent(Event &event, EventMsg msg)
{
@@ -61,7 +63,7 @@ void CEvent::MakeEvent(Event &event, EventMsg msg)
event.event = msg;
}
-// Ajoute un événement dans le fifo.
+// Adds an event in the FIFO.
BOOL CEvent::AddEvent(const Event &event)
{
@@ -74,7 +76,7 @@ BOOL CEvent::AddEvent(const Event &event)
return TRUE;
}
-// Enlève un événement du fifo.
+// Removes an event from the FIFO.
BOOL CEvent::GetEvent(Event &event)
{