[Scummvm-cvs-logs] SF.net SVN: scummvm:[48359] scummvm/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Mar 22 21:28:09 CET 2010


Revision: 48359
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48359&view=rev
Author:   fingolfin
Date:     2010-03-22 20:28:08 +0000 (Mon, 22 Mar 2010)

Log Message:
-----------
Patch #2973290: Semicolon cleanup

Modified Paths:
--------------
    scummvm/trunk/backends/platform/sdl/sdl.h
    scummvm/trunk/common/rect.h
    scummvm/trunk/engines/agi/wagparser.h
    scummvm/trunk/engines/agos/animation.h
    scummvm/trunk/engines/cruise/detection.cpp
    scummvm/trunk/engines/draci/detection.cpp
    scummvm/trunk/engines/draci/font.h
    scummvm/trunk/engines/draci/mouse.h
    scummvm/trunk/engines/draci/script.h
    scummvm/trunk/engines/draci/sprite.h
    scummvm/trunk/engines/groovie/player.h
    scummvm/trunk/engines/groovie/resource.h
    scummvm/trunk/engines/kyra/screen.h
    scummvm/trunk/engines/kyra/script_tim.h
    scummvm/trunk/engines/lure/res_struct.h
    scummvm/trunk/engines/m4/console.h
    scummvm/trunk/engines/m4/globals.h
    scummvm/trunk/engines/m4/gui.h
    scummvm/trunk/engines/m4/m4.h
    scummvm/trunk/engines/m4/m4_scene.h
    scummvm/trunk/engines/m4/mads_scene.h
    scummvm/trunk/engines/m4/resource.h
    scummvm/trunk/engines/m4/scene.h
    scummvm/trunk/engines/m4/script.h
    scummvm/trunk/engines/m4/viewmgr.h
    scummvm/trunk/engines/metaengine.h
    scummvm/trunk/engines/sci/engine/kernel32.cpp
    scummvm/trunk/engines/sci/engine/kstring.cpp
    scummvm/trunk/engines/sci/engine/message.cpp
    scummvm/trunk/engines/sci/graphics/animate.h
    scummvm/trunk/engines/sci/graphics/coordadjuster.h
    scummvm/trunk/engines/sci/graphics/screen.h
    scummvm/trunk/engines/sci/resource.h
    scummvm/trunk/engines/scumm/player_nes.cpp
    scummvm/trunk/engines/scumm/player_pce.h
    scummvm/trunk/engines/scumm/player_sid.h
    scummvm/trunk/engines/scumm/smush/channel.h
    scummvm/trunk/engines/sky/mouse.h
    scummvm/trunk/gui/ThemeParser.h

Modified: scummvm/trunk/backends/platform/sdl/sdl.h
===================================================================
--- scummvm/trunk/backends/platform/sdl/sdl.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/backends/platform/sdl/sdl.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -235,7 +235,7 @@
 	virtual bool hasFeature(Feature f);
 	virtual void setFeatureState(Feature f, bool enable);
 	virtual bool getFeatureState(Feature f);
-	virtual void preprocessEvents(SDL_Event *event) {};
+	virtual void preprocessEvents(SDL_Event *event) {}
 
 #ifdef USE_OSD
 	void displayMessageOnOSD(const char *msg);

Modified: scummvm/trunk/common/rect.h
===================================================================
--- scummvm/trunk/common/rect.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/common/rect.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -41,8 +41,8 @@
 
 	Point() : x(0), y(0) {}
 	Point(int16 x1, int16 y1) : x(x1), y(y1) {}
-	bool operator==(const Point &p) const { return x == p.x && y == p.y; };
-	bool operator!=(const Point &p) const { return x != p.x || y != p.y; };
+	bool operator==(const Point &p) const { return x == p.x && y == p.y; }
+	bool operator!=(const Point &p) const { return x != p.x || y != p.y; }
 
 	/**
 	 * Return the square of the distance between this point and the point p.

Modified: scummvm/trunk/engines/agi/wagparser.h
===================================================================
--- scummvm/trunk/engines/agi/wagparser.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/agi/wagparser.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -150,25 +150,25 @@
 	/**
 	 * Was the property read ok from the source stream?
 	 */
-	bool readOk() const { return _readOk; };
+	bool readOk() const { return _readOk; }
 
 	/**
 	 * Return the property's code.
 	 * @return The property's code if readOk(), PC_UNDEFINED otherwise.
 	 */
-	enum WagPropertyCode getCode() const { return _propCode; };
+	enum WagPropertyCode getCode() const { return _propCode; }
 
 	/**
 	 * Return the property's type.
 	 * @return The property's type if readOk(), PT_UNDEFINED otherwise.
 	 */
-	enum WagPropertyType getType() const { return _propType; };
+	enum WagPropertyType getType() const { return _propType; }
 
 	/**
 	 * Return the property's number.
 	 * @return The property's number if readOk(), 0 otherwise.
 	 */
-	byte getNumber() const { return _propNum; };
+	byte getNumber() const { return _propNum; }
 
 	/**
 	 * Return the property's data's length.
@@ -181,7 +181,7 @@
 	 * Can be used as a C-style string (i.e. this is guaranteed to have a trailing zero).
 	 * @return The property's data if readOk(), NULL otherwise.
 	 */
-	const char *getData() const { return _propData; };
+	const char *getData() const { return _propData; }
 
 // Member variables
 protected:
@@ -230,7 +230,7 @@
 	 * @note Use only after a call to parse() first.
 	 * @return The list of loaded properties.
 	 */
-	const PropertyList &getProperties() const { return _propList; };
+	const PropertyList &getProperties() const { return _propList; }
 
 	/**
 	 * Get property with the given property code.
@@ -264,7 +264,7 @@
 	 * Was the file parsed successfully?
 	 * @return True if file was parsed successfully, false otherwise.
 	 */
-	bool parsedOk() const { return _parsedOk; };
+	bool parsedOk() const { return _parsedOk; }
 
 protected:
 	/**

Modified: scummvm/trunk/engines/agos/animation.h
===================================================================
--- scummvm/trunk/engines/agos/animation.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/agos/animation.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -71,7 +71,7 @@
 private:
 	virtual void handleNextFrame();
 	virtual bool processFrame() = 0;
-	virtual void startSound() {};
+	virtual void startSound() {}
 };
 
 class MoviePlayerDXA : public MoviePlayer, ::Graphics::DXADecoder {

Modified: scummvm/trunk/engines/cruise/detection.cpp
===================================================================
--- scummvm/trunk/engines/cruise/detection.cpp	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/cruise/detection.cpp	2010-03-22 20:28:08 UTC (rev 48359)
@@ -253,7 +253,7 @@
 	}
 
 	virtual bool hasFeature(MetaEngineFeature f) const;
-	virtual int getMaximumSaveSlot() const { return 99; };
+	virtual int getMaximumSaveSlot() const { return 99; }
 	virtual SaveStateList listSaves(const char *target) const;
 	virtual void removeSaveState(const char *target, int slot) const;
 	virtual SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const;

Modified: scummvm/trunk/engines/draci/detection.cpp
===================================================================
--- scummvm/trunk/engines/draci/detection.cpp	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/draci/detection.cpp	2010-03-22 20:28:08 UTC (rev 48359)
@@ -110,7 +110,7 @@
 	}
 
 	virtual bool hasFeature(MetaEngineFeature f) const;
-	virtual int getMaximumSaveSlot() const { return 99; };
+	virtual int getMaximumSaveSlot() const { return 99; }
 	virtual SaveStateList listSaves(const char *target) const;
 	virtual void removeSaveState(const char *target, int slot) const;
 	virtual SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const;

Modified: scummvm/trunk/engines/draci/font.h
===================================================================
--- scummvm/trunk/engines/draci/font.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/draci/font.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -61,8 +61,8 @@
 	~Font();
 
 	bool loadFont(const Common::String &filename);
-	uint8 getFontHeight() const { return _fontHeight; };
-	uint8 getMaxCharWidth() const { return _maxCharWidth; };
+	uint8 getFontHeight() const { return _fontHeight; }
+	uint8 getMaxCharWidth() const { return _maxCharWidth; }
 	uint8 getCharWidth(byte chr) const;
 	void drawChar(Surface *dst, uint8 chr, int tx, int ty, int with_colour) const;
 

Modified: scummvm/trunk/engines/draci/mouse.h
===================================================================
--- scummvm/trunk/engines/draci/mouse.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/draci/mouse.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -49,7 +49,7 @@
 class Mouse {
 public:
 	Mouse(DraciEngine *vm);
-	~Mouse() {};
+	~Mouse() {}
 
 	void handleEvent(Common::Event event);
 	void cursorOn();

Modified: scummvm/trunk/engines/draci/script.h
===================================================================
--- scummvm/trunk/engines/draci/script.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/draci/script.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -97,7 +97,7 @@
 class Script {
 
 public:
-	Script(DraciEngine *vm) : _vm(vm), _jump(0), _endProgram(false) { setupCommandList(); };
+	Script(DraciEngine *vm) : _vm(vm), _jump(0), _endProgram(false) { setupCommandList(); }
 
 	void run(const GPL2Program &program, uint16 offset);
 	void runWrapper(const GPL2Program &program, uint16 offset, bool disableCursor, bool releaseAnims);

Modified: scummvm/trunk/engines/draci/sprite.h
===================================================================
--- scummvm/trunk/engines/draci/sprite.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/draci/sprite.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -51,7 +51,7 @@
 	virtual void draw(Surface *surface, bool markDirty, int relX, int relY) const = 0;
 	virtual void drawReScaled(Surface *surface, bool markDirty, const Displacement &displacement) const = 0;
 
-	virtual ~Drawable() {};
+	virtual ~Drawable() {}
 
 	uint getWidth() const { return _width; }
 	uint getHeight() const { return _height; }
@@ -141,7 +141,7 @@
 public:
 	Text(const Common::String &str, const Font *font, byte fontColour,
 	    int x, int y, uint spacing);
-	~Text() {};
+	~Text() {}
 
 	void setText(const Common::String &str);
 	void setColour(byte fontColour) { _colour = fontColour; }

Modified: scummvm/trunk/engines/groovie/player.h
===================================================================
--- scummvm/trunk/engines/groovie/player.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/groovie/player.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -40,8 +40,8 @@
 
 	bool load(Common::SeekableReadStream *file, uint16 flags);
 	bool playFrame();
-	virtual void resetFlags() {};
-	virtual void setOrigin(int16 x, int16 y) {};
+	virtual void resetFlags() {}
+	virtual void setOrigin(int16 x, int16 y) {}
 
 protected:
 	// To be implemented by subclasses

Modified: scummvm/trunk/engines/groovie/resource.h
===================================================================
--- scummvm/trunk/engines/groovie/resource.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/groovie/resource.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -36,7 +36,7 @@
 
 class ResMan {
 public:
-	virtual ~ResMan() {};
+	virtual ~ResMan() {}
 
 	Common::SeekableReadStream *open(uint32 fileRef);
 	virtual uint16 getRef(Common::String name, Common::String scriptname = "") = 0;
@@ -51,7 +51,7 @@
 class ResMan_t7g : public ResMan {
 public:
 	ResMan_t7g();
-	~ResMan_t7g() {};
+	~ResMan_t7g() {}
 
 	uint16 getRef(Common::String name, Common::String scriptname);
 	bool getResInfo(uint32 fileRef, ResInfo &resInfo);
@@ -60,7 +60,7 @@
 class ResMan_v2 : public ResMan {
 public:
 	ResMan_v2();
-	~ResMan_v2() {};
+	~ResMan_v2() {}
 
 	uint16 getRef(Common::String name, Common::String scriptname);
 	bool getResInfo(uint32 fileRef, ResInfo &resInfo);

Modified: scummvm/trunk/engines/kyra/screen.h
===================================================================
--- scummvm/trunk/engines/kyra/screen.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/kyra/screen.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -532,7 +532,7 @@
 	int _mouseLockCount;
 	const uint8 _cursorColorKey;
 
-	virtual void postProcessCursor(uint8 *data, int w, int h, int pitch) {};
+	virtual void postProcessCursor(uint8 *data, int w, int h, int pitch) {}
 
 	enum {
 		kMaxDirtyRects = 50

Modified: scummvm/trunk/engines/kyra/script_tim.h
===================================================================
--- scummvm/trunk/engines/kyra/script_tim.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/kyra/script_tim.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -260,8 +260,8 @@
 	int cmd_stopAllFuncs(const uint16 *param);
 #define cmd_return(n, v) \
 	int cmd_return_##n(const uint16 *){ return v; }
-	cmd_return( 1,  1);
-	cmd_return(n1, -1);
+	cmd_return( 1,  1)
+	cmd_return(n1, -1)
 #undef cmd_return
 };
 

Modified: scummvm/trunk/engines/lure/res_struct.h
===================================================================
--- scummvm/trunk/engines/lure/res_struct.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/lure/res_struct.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -699,7 +699,7 @@
 
 class SequenceDelayData {
 private:
-	SequenceDelayData() {};
+	SequenceDelayData() {}
 public:
 	SequenceDelayData(uint16 delay, uint16 seqOffset, bool canClearFlag);
 	static SequenceDelayData *load(uint32 delay, uint16 seqOffset, bool canClearFlag);

Modified: scummvm/trunk/engines/m4/console.h
===================================================================
--- scummvm/trunk/engines/m4/console.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/m4/console.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -66,7 +66,7 @@
 	bool cmdSceneInfo(int argc, const char **argv);
 public:
 	MadsConsole(MadsEngine *vm);
-	virtual ~MadsConsole() {};
+	virtual ~MadsConsole() {}
 };
 
 class M4Console : public Console {
@@ -76,7 +76,7 @@
 	bool cmdSceneInfo(int argc, const char **argv);
 public:
 	M4Console(M4Engine *vm);
-	virtual ~M4Console() {};
+	virtual ~M4Console() {}
 };
 
 } // End of namespace M4

Modified: scummvm/trunk/engines/m4/globals.h
===================================================================
--- scummvm/trunk/engines/m4/globals.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/m4/globals.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -173,10 +173,10 @@
 
 class MadsObject {
 public:
-	MadsObject() {};
+	MadsObject() {}
 	MadsObject(Common::SeekableReadStream *stream);
 	void load(Common::SeekableReadStream *stream);
-	bool isInInventory() const { return roomNumber == PLAYER_INVENTORY; };
+	bool isInInventory() const { return roomNumber == PLAYER_INVENTORY; }
 
 	uint16 descId;
 	uint16 roomNumber;
@@ -192,7 +192,7 @@
 	MadsM4Engine *_vm;
 public:
 	Globals(MadsM4Engine *vm);
-	virtual ~Globals() {};
+	virtual ~Globals() {}
 
 	bool isInterfaceVisible();
 
@@ -203,7 +203,7 @@
 	M4Engine *_vm;
 public:
 	M4Globals(M4Engine *vm);
-	virtual ~M4Globals() {};
+	virtual ~M4Globals() {}
 
 	bool invSuppressClickSound;
 };

Modified: scummvm/trunk/engines/m4/gui.h
===================================================================
--- scummvm/trunk/engines/m4/gui.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/m4/gui.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -213,9 +213,9 @@
 class DialogView : public View {
 public:
 	DialogView(MadsM4Engine *Vm, const Common::Rect &viewBounds, bool transparent = false):
-		View(Vm, viewBounds, transparent) {};
+		View(Vm, viewBounds, transparent) {}
 	DialogView(MadsM4Engine *Vm, int x = 0, int y = 0, bool transparent = false):
-		View(Vm, x, y, transparent) {};
+		View(Vm, x, y, transparent) {}
 
 	MadsM4Engine *vm() { return _vm; }
 	virtual SpriteAsset *sprites() = 0;
@@ -399,7 +399,7 @@
 private:
 	int _tag;
 public:
-	GUIRect(View *owner, const Common::Rect &bounds, int tag): GUIObject(owner, bounds) { _tag = tag; };
+	GUIRect(View *owner, const Common::Rect &bounds, int tag): GUIObject(owner, bounds) { _tag = tag; }
 
 	virtual bool onEvent(M4EventType eventType, int32 param, int x, int y, GUIObject *&currentItem) { return false; }
 	int getTag() const { return _tag; }
@@ -443,12 +443,12 @@
 
 class GameInterfaceView : public View {
 public:
-	GameInterfaceView(MadsM4Engine *vm, const Common::Rect &rect): View(vm, rect) {};
-	~GameInterfaceView() {};
+	GameInterfaceView(MadsM4Engine *vm, const Common::Rect &rect): View(vm, rect) {}
+	~GameInterfaceView() {}
 
-	virtual void initialise() {};
-	virtual void setSelectedObject(int objectNumber) {};
-	virtual void addObjectToInventory(int objectNumber) {};
+	virtual void initialise() {}
+	virtual void setSelectedObject(int objectNumber) {}
+	virtual void addObjectToInventory(int objectNumber) {}
 };
 
 }

Modified: scummvm/trunk/engines/m4/m4.h
===================================================================
--- scummvm/trunk/engines/m4/m4.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/m4/m4.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -202,7 +202,7 @@
 	Animation *_animation;
 	Common::RandomSource *_random;
 
-	Scene *scene() { return _scene; };
+	Scene *scene() { return _scene; }
 };
 
 class MadsEngine : public MadsM4Engine {
@@ -216,8 +216,8 @@
 
 	virtual Common::Error run();
 
-	MadsGlobals *globals() { return (MadsGlobals *)_globals; };
-	MadsScene *scene() { return (MadsScene *)_scene; };
+	MadsGlobals *globals() { return (MadsGlobals *)_globals; }
+	MadsScene *scene() { return (MadsScene *)_scene; }
 };
 
 class M4Engine : public MadsM4Engine {
@@ -229,8 +229,8 @@
 
 	virtual Common::Error run();
 
-	M4Globals *globals() { return (M4Globals *)_globals; };
-	M4Scene *scene() { return (M4Scene *)_scene; };
+	M4Globals *globals() { return (M4Globals *)_globals; }
+	M4Scene *scene() { return (M4Scene *)_scene; }
 };
 
 // FIXME: remove globals

Modified: scummvm/trunk/engines/m4/m4_scene.h
===================================================================
--- scummvm/trunk/engines/m4/m4_scene.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/m4/m4_scene.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -76,8 +76,8 @@
 	virtual void showHotSpots();
 
 	byte *getInverseColourTable() const { return _inverseColourTable; }
-	M4InterfaceView *getInterface() { return (M4InterfaceView *)_interfaceSurface; };
-	M4SceneResources &getSceneResources() { return _sceneResources; };
+	M4InterfaceView *getInterface() { return (M4InterfaceView *)_interfaceSurface; }
+	M4SceneResources &getSceneResources() { return _sceneResources; }
 	void setStatusText(const char *text);
 	void setAction(int action, int objectId = -1);
 };

Modified: scummvm/trunk/engines/m4/mads_scene.h
===================================================================
--- scummvm/trunk/engines/m4/mads_scene.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/m4/mads_scene.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -206,8 +206,8 @@
 	void loadPlayerSprites(const char *prefix);
 	void showMADSV2TextBox(char *text, int x, int y, char *faceName);
 
-	MadsInterfaceView *getInterface() { return (MadsInterfaceView *)_interfaceSurface; };
-	MadsSceneResources &getSceneResources() { return _sceneResources; };
+	MadsInterfaceView *getInterface() { return (MadsInterfaceView *)_interfaceSurface; }
+	MadsSceneResources &getSceneResources() { return _sceneResources; }
 	MadsAction &getAction() { return _action; }
 	void setStatusText(const char *text) {};//***DEPRECATED***
 };

Modified: scummvm/trunk/engines/m4/resource.h
===================================================================
--- scummvm/trunk/engines/m4/resource.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/m4/resource.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -94,7 +94,7 @@
 
 	virtual Common::SeekableReadStream *loadResource(const char *resourceName, bool loadFlag) = 0;
 public:
-	ResourceManager(MadsM4Engine *vm): _vm(vm) {};
+	ResourceManager(MadsM4Engine *vm): _vm(vm) {}
 	virtual ~ResourceManager();
 
 	Common::SeekableReadStream *get(const char *resourceName, bool loadFlag = true);
@@ -124,7 +124,7 @@
 protected:
 	Common::SeekableReadStream *loadResource(const char *resourceName, bool loadFlag);
 public:
-	MADSResourceManager(MadsM4Engine *vm): ResourceManager(vm) {};
+	MADSResourceManager(MadsM4Engine *vm): ResourceManager(vm) {}
 	bool resourceExists(const char *resourceName);
 
 	static const char *getResourceName(char asciiCh, int prefix, ExtensionType extType, const char *suffix, int index);

Modified: scummvm/trunk/engines/m4/scene.h
===================================================================
--- scummvm/trunk/engines/m4/scene.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/m4/scene.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -111,8 +111,8 @@
 	M4Surface *getBackgroundSurface() const { return _backgroundSurface; }
 	void showInterface();
 	void hideInterface();
-	GameInterfaceView *getInterface() { return _interfaceSurface; };
-	SceneResources &getSceneResources() { return *_sceneResources; };
+	GameInterfaceView *getInterface() { return _interfaceSurface; }
+	SceneResources &getSceneResources() { return *_sceneResources; }
 
 	void onRefresh(RectList *rects, M4Surface *destSurface);
 	bool onEvent(M4EventType eventType, int32 param1, int x, int y, bool &captureEvents);

Modified: scummvm/trunk/engines/m4/script.h
===================================================================
--- scummvm/trunk/engines/m4/script.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/m4/script.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -88,10 +88,10 @@
 		int value;
 	};
 
-	ScriptValue() : type(kInteger), value(0) {};
-	ScriptValue(ScriptValueType itype, int ivalue) : type(itype), value(ivalue) {};
+	ScriptValue() : type(kInteger), value(0) {}
+	ScriptValue(ScriptValueType itype, int ivalue) : type(itype), value(ivalue) {}
 
-	ScriptValue(const int intValue) : type(kInteger), value(intValue) {};
+	ScriptValue(const int intValue) : type(kInteger), value(intValue) {}
 
 	ScriptValue& operator=(const int intValue) {
 		type = kInteger;

Modified: scummvm/trunk/engines/m4/viewmgr.h
===================================================================
--- scummvm/trunk/engines/m4/viewmgr.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/m4/viewmgr.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -90,7 +90,7 @@
 struct Hotkey {
 public:
 	typedef void (*Callback)(MadsM4Engine *vm, View *view, uint32 key);
-	Hotkey(uint32 keyVal, Hotkey::Callback callbackFn) : key(keyVal), callback(callbackFn) {};
+	Hotkey(uint32 keyVal, Hotkey::Callback callbackFn) : key(keyVal), callback(callbackFn) {}
 	uint32 key;
 	Hotkey::Callback callback;
 };
@@ -136,7 +136,7 @@
 
 	virtual void onRefresh(RectList *rects, M4Surface *destSurface);
 	virtual bool onEvent(M4EventType eventType, int32 param, int x, int y, bool &captureEvents) { return false; }
-	virtual void updateState() {};
+	virtual void updateState() {}
 
 protected:
 	MadsM4Engine *_vm;

Modified: scummvm/trunk/engines/metaengine.h
===================================================================
--- scummvm/trunk/engines/metaengine.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/metaengine.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -126,7 +126,7 @@
 	 * @param target	name of a config manager target
 	 * @param slot		slot number of the save state to be removed
 	 */
-	virtual void removeSaveState(const char *target, int slot) const {};
+	virtual void removeSaveState(const char *target, int slot) const {}
 
 	/**
 	 * Returns meta infos from the specified save state.

Modified: scummvm/trunk/engines/sci/engine/kernel32.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel32.cpp	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/sci/engine/kernel32.cpp	2010-03-22 20:28:08 UTC (rev 48359)
@@ -382,7 +382,7 @@
 	// Some SCI games use a modified SCI2 kernel table instead of the SCI2.1/SCI3 kernel table.
 	// The GK2 demo does this as well as at least one version of KQ7. We detect which version
 	// to use based on where kDoSound is called from Sound::play().
-	
+
 	// This is interesting because they all have the same interpreter version (2.100.002), yet
 	// they would not be compatible with other games of the same interpreter.
 
@@ -634,7 +634,7 @@
 		reg_t *adjustedArgs = new reg_t[argc];
 		adjustedArgs[0] = stringHandle;
 		memcpy(&adjustedArgs[1], argv + 1, (argc - 1) * sizeof(reg_t));
-		
+
 		kFormat(s, argc, adjustedArgs);
 		delete[] adjustedArgs;
 		return stringHandle;

Modified: scummvm/trunk/engines/sci/engine/kstring.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kstring.cpp	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/sci/engine/kstring.cpp	2010-03-22 20:28:08 UTC (rev 48359)
@@ -274,7 +274,7 @@
 
 #ifdef ENABLE_SCI32
 				// If the string is a string object, get to the actual string in the data selector
-				if (s->_segMan->isObject(reg)) 
+				if (s->_segMan->isObject(reg))
 					reg = GET_SEL32(s->_segMan, reg, SELECTOR(data));
 #endif
 
@@ -400,7 +400,7 @@
 	free(arguments);
 
 	*target = 0; /* Terminate string */
-	
+
 #ifdef ENABLE_SCI32
 	// Resize SCI32 strings if necessary
 	if (getSciVersion() >= SCI_VERSION_2) {

Modified: scummvm/trunk/engines/sci/engine/message.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/message.cpp	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/sci/engine/message.cpp	2010-03-22 20:28:08 UTC (rev 48359)
@@ -53,7 +53,7 @@
 
 	virtual bool findRecord(const MessageTuple &tuple, MessageRecord &record) = 0;
 
-	virtual ~MessageReader() { };
+	virtual ~MessageReader() { }
 
 protected:
 	MessageReader(const byte *data, uint size, uint headerSize, uint recordSize)

Modified: scummvm/trunk/engines/sci/graphics/animate.h
===================================================================
--- scummvm/trunk/engines/sci/graphics/animate.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/sci/graphics/animate.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -104,7 +104,7 @@
 	void addToPicDrawCels();
 	void addToPicDrawView(GuiResourceId viewId, int16 loopNo, int16 celNo, int16 leftPos, int16 topPos, int16 priority, int16 control);
 
-	uint16 getLastCastCount() { return _lastCastCount; };
+	uint16 getLastCastCount() { return _lastCastCount; }
 
 	virtual void kernelAnimate(reg_t listReference, bool cycle, int argc, reg_t *argv);
 	virtual void kernelAddToPicList(reg_t listReference, int argc, reg_t *argv);

Modified: scummvm/trunk/engines/sci/graphics/coordadjuster.h
===================================================================
--- scummvm/trunk/engines/sci/graphics/coordadjuster.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/sci/graphics/coordadjuster.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -41,16 +41,16 @@
 class GfxCoordAdjuster {
 public:
 	GfxCoordAdjuster();
-	virtual ~GfxCoordAdjuster() { };
+	virtual ~GfxCoordAdjuster() { }
 
-	virtual void kernelGlobalToLocal(int16 &x, int16 &y, reg_t planeObject = NULL_REG) { };
-	virtual void kernelLocalToGlobal(int16 &x, int16 &y, reg_t planeObject = NULL_REG) { };
+	virtual void kernelGlobalToLocal(int16 &x, int16 &y, reg_t planeObject = NULL_REG) { }
+	virtual void kernelLocalToGlobal(int16 &x, int16 &y, reg_t planeObject = NULL_REG) { }
 
-	virtual Common::Rect onControl(Common::Rect rect) { return rect; };
-	virtual void setCursorPos(Common::Point &pos) { };
-	virtual void moveCursor(Common::Point &pos) { };
+	virtual Common::Rect onControl(Common::Rect rect) { return rect; }
+	virtual void setCursorPos(Common::Point &pos) { }
+	virtual void moveCursor(Common::Point &pos) { }
 
-	virtual Common::Rect pictureGetDisplayArea() { return Common::Rect(0, 0); };
+	virtual Common::Rect pictureGetDisplayArea() { return Common::Rect(0, 0); }
 private:
 };
 

Modified: scummvm/trunk/engines/sci/graphics/screen.h
===================================================================
--- scummvm/trunk/engines/sci/graphics/screen.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/sci/graphics/screen.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -51,12 +51,12 @@
 	GfxScreen(ResourceManager *resMan, int16 width = 320, int16 height = 200, bool upscaledHires = false);
 	~GfxScreen();
 
-	uint16 getWidth() { return _width; };
-	uint16 getHeight() { return _height; };
-	uint16 getDisplayWidth() { return _displayWidth; };
-	uint16 getDisplayHeight() { return _displayHeight; };
-	byte getColorWhite() { return _colorWhite; };
-	byte getColorDefaultVectorData() { return _colorDefaultVectorData; };
+	uint16 getWidth() { return _width; }
+	uint16 getHeight() { return _height; }
+	uint16 getDisplayWidth() { return _displayWidth; }
+	uint16 getDisplayHeight() { return _displayHeight; }
+	byte getColorWhite() { return _colorWhite; }
+	byte getColorDefaultVectorData() { return _colorDefaultVectorData; }
 
 	void copyToScreen();
 	void copyFromScreen(byte *buffer);

Modified: scummvm/trunk/engines/sci/resource.h
===================================================================
--- scummvm/trunk/engines/sci/resource.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/sci/resource.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -121,7 +121,7 @@
 	uint16 number;
 	uint32 tuple; // Only used for audio36 and sync36
 
-	ResourceId() : type(kResourceTypeInvalid), number(0), tuple(0) { };
+	ResourceId() : type(kResourceTypeInvalid), number(0), tuple(0) { }
 
 	ResourceId(ResourceType type_, uint16 number_, uint32 tuple_ = 0)
 			: type(type_), number(number_), tuple(tuple_) {

Modified: scummvm/trunk/engines/scumm/player_nes.cpp
===================================================================
--- scummvm/trunk/engines/scumm/player_nes.cpp	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/scumm/player_nes.cpp	2010-03-22 20:28:08 UTC (rev 48359)
@@ -101,7 +101,7 @@
 	int32 Pos;
 	uint32 Cycles;	// short
 
-	inline byte GetTimer() const { return Timer; };
+	inline byte GetTimer() const { return Timer; }
 };
 
 class Square : public SoundGen {

Modified: scummvm/trunk/engines/scumm/player_pce.h
===================================================================
--- scummvm/trunk/engines/scumm/player_pce.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/scumm/player_pce.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -77,7 +77,7 @@
 	Player_PCE(ScummEngine *scumm, Audio::Mixer *mixer);
 	virtual ~Player_PCE();
 
-	virtual void setMusicVolume(int vol) { _maxvol = vol; };
+	virtual void setMusicVolume(int vol) { _maxvol = vol; }
 	void startMusic(int songResIndex);
 	virtual void startSound(int sound);
 	virtual void stopSound(int sound);

Modified: scummvm/trunk/engines/scumm/player_sid.h
===================================================================
--- scummvm/trunk/engines/scumm/player_sid.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/scumm/player_sid.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -59,7 +59,7 @@
 	Player_SID(ScummEngine *scumm, Audio::Mixer *mixer);
 	virtual ~Player_SID();
 
-	virtual void setMusicVolume(int vol) { _maxvol = vol; };
+	virtual void setMusicVolume(int vol) { _maxvol = vol; }
 	void startMusic(int songResIndex);
 	virtual void startSound(int sound);
 	virtual void stopSound(int sound);

Modified: scummvm/trunk/engines/scumm/smush/channel.h
===================================================================
--- scummvm/trunk/engines/scumm/smush/channel.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/scumm/smush/channel.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -93,7 +93,7 @@
 		vol = _volume;
 		pan = _pan;
 		return true;
-	};
+	}
 };
 
 class ImuseChannel : public SmushChannel {
@@ -123,7 +123,7 @@
 		vol = _volume;
 		pan = _pan;
 		return true;
-	};
+	}
 };
 
 } // End of namespace Scumm

Modified: scummvm/trunk/engines/sky/mouse.h
===================================================================
--- scummvm/trunk/engines/sky/mouse.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/engines/sky/mouse.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -55,15 +55,15 @@
 	void restoreMouseData(uint16 frameNum);
 	void drawNewMouse();
 	void spriteMouse(uint16 frameNum, uint8 mouseX, uint8 mouseY);
-	void useLogicInstance(Logic *skyLogic) { _skyLogic = skyLogic; };
+	void useLogicInstance(Logic *skyLogic) { _skyLogic = skyLogic; }
 	void buttonPressed(uint8 button);
 	void mouseMoved(uint16 mouseX, uint16 mouseY);
 	void waitMouseNotPressed(int minDelay = 0);
-	uint16 giveMouseX() { return _mouseX; };
-	uint16 giveMouseY() { return _mouseY; };
-	uint16 giveCurrentMouseType() { return _currentCursor; };
+	uint16 giveMouseX() { return _mouseX; }
+	uint16 giveMouseY() { return _mouseY; }
+	uint16 giveCurrentMouseType() { return _currentCursor; }
 	bool wasClicked();
-	void logicClick() { _logicClick = true; };
+	void logicClick() { _logicClick = true; }
 	void resetCursor();
 
 protected:

Modified: scummvm/trunk/gui/ThemeParser.h
===================================================================
--- scummvm/trunk/gui/ThemeParser.h	2010-03-22 20:26:57 UTC (rev 48358)
+++ scummvm/trunk/gui/ThemeParser.h	2010-03-22 20:28:08 UTC (rev 48359)
@@ -210,7 +210,7 @@
 			KEY_END()
 		KEY_END()
 
-	} PARSER_END();
+	} PARSER_END()
 
 	/** Render info callbacks */
 	bool parserCallback_render_info(ParserNode *node);


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