[Scummvm-cvs-logs] SF.net SVN: scummvm:[53588] scummvm/trunk/engines/lastexpress

littleboy at users.sourceforge.net littleboy at users.sourceforge.net
Mon Oct 18 23:03:28 CEST 2010


Revision: 53588
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53588&view=rev
Author:   littleboy
Date:     2010-10-18 21:03:28 +0000 (Mon, 18 Oct 2010)

Log Message:
-----------
LASTEXPRESS: Fix GCC warnings

Modified Paths:
--------------
    scummvm/trunk/engines/lastexpress/data/scene.h
    scummvm/trunk/engines/lastexpress/data/sequence.h
    scummvm/trunk/engines/lastexpress/entities/abbot.h
    scummvm/trunk/engines/lastexpress/entities/alexei.h
    scummvm/trunk/engines/lastexpress/entities/alouan.h
    scummvm/trunk/engines/lastexpress/entities/anna.h
    scummvm/trunk/engines/lastexpress/entities/august.h
    scummvm/trunk/engines/lastexpress/entities/boutarel.h
    scummvm/trunk/engines/lastexpress/entities/chapters.h
    scummvm/trunk/engines/lastexpress/entities/cooks.h
    scummvm/trunk/engines/lastexpress/entities/coudert.h
    scummvm/trunk/engines/lastexpress/entities/entity39.h
    scummvm/trunk/engines/lastexpress/entities/francois.h
    scummvm/trunk/engines/lastexpress/entities/gendarmes.h
    scummvm/trunk/engines/lastexpress/entities/hadija.h
    scummvm/trunk/engines/lastexpress/entities/ivo.h
    scummvm/trunk/engines/lastexpress/entities/kahina.h
    scummvm/trunk/engines/lastexpress/entities/kronos.h
    scummvm/trunk/engines/lastexpress/entities/mahmud.h
    scummvm/trunk/engines/lastexpress/entities/max.h
    scummvm/trunk/engines/lastexpress/entities/mertens.h
    scummvm/trunk/engines/lastexpress/entities/milos.h
    scummvm/trunk/engines/lastexpress/entities/mmeboutarel.h
    scummvm/trunk/engines/lastexpress/entities/pascale.h
    scummvm/trunk/engines/lastexpress/entities/rebecca.h
    scummvm/trunk/engines/lastexpress/entities/salko.h
    scummvm/trunk/engines/lastexpress/entities/servers0.h
    scummvm/trunk/engines/lastexpress/entities/servers1.h
    scummvm/trunk/engines/lastexpress/entities/sophie.h
    scummvm/trunk/engines/lastexpress/entities/tables.h
    scummvm/trunk/engines/lastexpress/entities/tatiana.h
    scummvm/trunk/engines/lastexpress/entities/train.h
    scummvm/trunk/engines/lastexpress/entities/vassili.h
    scummvm/trunk/engines/lastexpress/entities/verges.h
    scummvm/trunk/engines/lastexpress/entities/vesna.h
    scummvm/trunk/engines/lastexpress/entities/yasmin.h
    scummvm/trunk/engines/lastexpress/eventhandler.h
    scummvm/trunk/engines/lastexpress/game/entities.cpp
    scummvm/trunk/engines/lastexpress/game/sound.h

Modified: scummvm/trunk/engines/lastexpress/data/scene.h
===================================================================
--- scummvm/trunk/engines/lastexpress/data/scene.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/data/scene.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -169,7 +169,7 @@
 	bool load(Common::SeekableReadStream *stream);
 	Scene *get(SceneIndex index);
 
-	uint32 count() const { return _scenes.size() - 1; };
+	uint32 count() const { return _scenes.size() - 1; }
 
 private:
 	Common::SeekableReadStream *_stream;

Modified: scummvm/trunk/engines/lastexpress/data/sequence.h
===================================================================
--- scummvm/trunk/engines/lastexpress/data/sequence.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/data/sequence.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -155,7 +155,7 @@
 
 	bool load(Common::SeekableReadStream *stream, byte field30 = 15);
 
-	uint16 count() const { return (uint16)_frames.size(); };
+	uint16 count() const { return (uint16)_frames.size(); }
 	AnimFrame *getFrame(uint16 index = 0);
 	FrameInfo *getFrameInfo(uint16 index = 0);
 

Modified: scummvm/trunk/engines/lastexpress/entities/abbot.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/abbot.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/abbot.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Abbot : public Entity {
 public:
 	Abbot(LastExpressEngine *engine);
-	~Abbot() {};
+	~Abbot() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/alexei.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/alexei.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/alexei.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Alexei : public Entity {
 public:
 	Alexei(LastExpressEngine *engine);
-	~Alexei() {};
+	~Alexei() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/alouan.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/alouan.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/alouan.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Alouan : public Entity {
 public:
 	Alouan(LastExpressEngine *engine);
-	~Alouan() {};
+	~Alouan() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/anna.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/anna.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/anna.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Anna : public Entity {
 public:
 	Anna(LastExpressEngine *engine);
-	~Anna() {};
+	~Anna() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/august.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/august.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/august.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class August : public Entity {
 public:
 	August(LastExpressEngine *engine);
-	~August() {};
+	~August() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/boutarel.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/boutarel.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/boutarel.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Boutarel : public Entity {
 public:
 	Boutarel(LastExpressEngine *engine);
-	~Boutarel() {};
+	~Boutarel() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/chapters.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/chapters.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/chapters.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Chapters : public Entity {
 public:
 	Chapters(LastExpressEngine *engine);
-	~Chapters() {};
+	~Chapters() {}
 
 	/**
 	 * Saves the game

Modified: scummvm/trunk/engines/lastexpress/entities/cooks.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/cooks.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/cooks.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Cooks : public Entity {
 public:
 	Cooks(LastExpressEngine *engine);
-	~Cooks() {};
+	~Cooks() {}
 
 	/**
 	 * Draws the entity

Modified: scummvm/trunk/engines/lastexpress/entities/coudert.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/coudert.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/coudert.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Coudert : public Entity {
 public:
 	Coudert(LastExpressEngine *engine);
-	~Coudert() {};
+	~Coudert() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/entity39.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/entity39.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/entity39.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Entity39 : public Entity {
 public:
 	Entity39(LastExpressEngine *engine);
-	~Entity39() {};
+	~Entity39() {}
 
 	/**
 	 * Setup Chapter 1

Modified: scummvm/trunk/engines/lastexpress/entities/francois.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/francois.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/francois.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Francois : public Entity {
 public:
 	Francois(LastExpressEngine *engine);
-	~Francois() {};
+	~Francois() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/gendarmes.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/gendarmes.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/gendarmes.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -38,7 +38,7 @@
 class Gendarmes : public Entity {
 public:
 	Gendarmes(LastExpressEngine *engine);
-	~Gendarmes() {};
+	~Gendarmes() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/hadija.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/hadija.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/hadija.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Hadija : public Entity {
 public:
 	Hadija(LastExpressEngine *engine);
-	~Hadija() {};
+	~Hadija() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/ivo.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/ivo.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/ivo.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Ivo : public Entity {
 public:
 	Ivo(LastExpressEngine *engine);
-	~Ivo() {};
+	~Ivo() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/kahina.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/kahina.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/kahina.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Kahina : public Entity {
 public:
 	Kahina(LastExpressEngine *engine);
-	~Kahina() {};
+	~Kahina() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/kronos.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/kronos.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/kronos.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Kronos : public Entity {
 public:
 	Kronos(LastExpressEngine *engine);
-	~Kronos() {};
+	~Kronos() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/mahmud.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/mahmud.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/mahmud.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Mahmud : public Entity {
 public:
 	Mahmud(LastExpressEngine *engine);
-	~Mahmud() {};
+	~Mahmud() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/max.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/max.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/max.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Max : public Entity {
 public:
 	Max(LastExpressEngine *engine);
-	~Max() {};
+	~Max() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/mertens.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/mertens.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/mertens.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -45,7 +45,7 @@
 
 public:
 	Mertens(LastExpressEngine *engine);
-	~Mertens() {};
+	~Mertens() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/milos.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/milos.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/milos.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Milos : public Entity {
 public:
 	Milos(LastExpressEngine *engine);
-	~Milos() {};
+	~Milos() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/mmeboutarel.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/mmeboutarel.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/mmeboutarel.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class MmeBoutarel : public Entity {
 public:
 	MmeBoutarel(LastExpressEngine *engine);
-	~MmeBoutarel() {};
+	~MmeBoutarel() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/pascale.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/pascale.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/pascale.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,9 +36,8 @@
 class Pascale : public Entity {
 public:
 	Pascale(LastExpressEngine *engine);
-	~Pascale() {};
+	~Pascale() {}
 
-
 	/**
 	 * Draws the entity
 	 *

Modified: scummvm/trunk/engines/lastexpress/entities/rebecca.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/rebecca.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/rebecca.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Rebecca : public Entity {
 public:
 	Rebecca(LastExpressEngine *engine);
-	~Rebecca() {};
+	~Rebecca() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/salko.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/salko.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/salko.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Salko : public Entity {
 public:
 	Salko(LastExpressEngine *engine);
-	~Salko() {};
+	~Salko() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/servers0.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/servers0.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/servers0.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,9 +36,8 @@
 class Servers0 : public Entity {
 public:
 	Servers0(LastExpressEngine *engine);
-	~Servers0() {};
+	~Servers0() {}
 
-
 	/**
 	 * Call a savepoint (or draw sequence in default case)
 	 *

Modified: scummvm/trunk/engines/lastexpress/entities/servers1.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/servers1.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/servers1.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Servers1 : public Entity {
 public:
 	Servers1(LastExpressEngine *engine);
-	~Servers1() {};
+	~Servers1() {}
 
 	/**
 	 * Updates parameter 2 using time value

Modified: scummvm/trunk/engines/lastexpress/entities/sophie.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/sophie.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/sophie.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Sophie : public Entity {
 public:
 	Sophie(LastExpressEngine *engine);
-	~Sophie() {};
+	~Sophie() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/tables.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/tables.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/tables.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Tables : public Entity {
 public:
 	Tables(LastExpressEngine *engine, EntityIndex id);
-	~Tables() {};
+	~Tables() {}
 
 	/**
 	 * Setup Chapter 1

Modified: scummvm/trunk/engines/lastexpress/entities/tatiana.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/tatiana.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/tatiana.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Tatiana : public Entity {
 public:
 	Tatiana(LastExpressEngine *engine);
-	~Tatiana() {};
+	~Tatiana() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/train.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/train.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/train.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Train : public Entity {
 public:
 	Train(LastExpressEngine *engine);
-	~Train() {};
+	~Train() {}
 
 	/**
 	 * Saves the game

Modified: scummvm/trunk/engines/lastexpress/entities/vassili.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/vassili.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/vassili.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Vassili : public Entity {
 public:
 	Vassili(LastExpressEngine *engine);
-	~Vassili() {};
+	~Vassili() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/verges.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/verges.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/verges.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Verges : public Entity {
 public:
 	Verges(LastExpressEngine *engine);
-	~Verges() {};
+	~Verges() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/vesna.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/vesna.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/vesna.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Vesna : public Entity {
 public:
 	Vesna(LastExpressEngine *engine);
-	~Vesna() {};
+	~Vesna() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/entities/yasmin.h
===================================================================
--- scummvm/trunk/engines/lastexpress/entities/yasmin.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/entities/yasmin.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -36,7 +36,7 @@
 class Yasmin : public Entity {
 public:
 	Yasmin(LastExpressEngine *engine);
-	~Yasmin() {};
+	~Yasmin() {}
 
 	/**
 	 * Resets the entity

Modified: scummvm/trunk/engines/lastexpress/eventhandler.h
===================================================================
--- scummvm/trunk/engines/lastexpress/eventhandler.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/eventhandler.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -44,8 +44,8 @@
 	// Function pointer for event handler
 	typedef Common::Functor1<const Common::Event&, void> EventFunction;
 
-	virtual void eventMouse(const Common::Event &ev) {};    // Event type 1
-	virtual void eventTick(const Common::Event &ev) {};     // Event type 3
+	virtual void eventMouse(const Common::Event &ev) {}    // Event type 1
+	virtual void eventTick(const Common::Event &ev) {}     // Event type 3
 };
 
 } // End of namespace LastExpress

Modified: scummvm/trunk/engines/lastexpress/game/entities.cpp
===================================================================
--- scummvm/trunk/engines/lastexpress/game/entities.cpp	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/game/entities.cpp	2010-10-18 21:03:28 UTC (rev 53588)
@@ -221,7 +221,7 @@
 	if (car < 0 || car > 10)
 		error("Entities::getPosition: trying to access an invalid car (was: %d, valid:0-9)", car);
 
-	if (position < 0 || position > 100)
+	if (position > 100)
 		error("Entities::getPosition: trying to access an invalid position (was: %d, valid:0-100)", position);
 
 	return _positions[index];

Modified: scummvm/trunk/engines/lastexpress/game/sound.h
===================================================================
--- scummvm/trunk/engines/lastexpress/game/sound.h	2010-10-18 20:39:54 UTC (rev 53587)
+++ scummvm/trunk/engines/lastexpress/game/sound.h	2010-10-18 21:03:28 UTC (rev 53588)
@@ -273,7 +273,7 @@
 			subtitle = NULL;
 
 			isStreamed = false;
-		};
+		}
 	};
 
 	// Engine


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list