[Scummvm-cvs-logs] SF.net SVN: scummvm:[43770] scummvm/trunk/engines/gob

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Aug 27 14:31:42 CEST 2009


Revision: 43770
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43770&view=rev
Author:   lordhoto
Date:     2009-08-27 12:31:42 +0000 (Thu, 27 Aug 2009)

Log Message:
-----------
Slight formatting and changed searchHotspot to be const.

Modified Paths:
--------------
    scummvm/trunk/engines/gob/hotspots.cpp
    scummvm/trunk/engines/gob/hotspots.h

Modified: scummvm/trunk/engines/gob/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/gob/hotspots.cpp	2009-08-27 12:20:21 UTC (rev 43769)
+++ scummvm/trunk/engines/gob/hotspots.cpp	2009-08-27 12:31:42 UTC (rev 43770)
@@ -1564,7 +1564,7 @@
 	return cursor;
 }
 
-bool Hotspots::searchHotspot(int16 shortId) {
+bool Hotspots::searchHotspot(int16 shortId) const {
 	for (int i = 0; i < kHotspotCount; i++) {
 		if (_hotspots[i].isDisabled())
 			return false;

Modified: scummvm/trunk/engines/gob/hotspots.h
===================================================================
--- scummvm/trunk/engines/gob/hotspots.h	2009-08-27 12:20:21 UTC (rev 43769)
+++ scummvm/trunk/engines/gob/hotspots.h	2009-08-27 12:31:42 UTC (rev 43770)
@@ -102,7 +102,7 @@
 	int16 findCursor(uint16 x, uint16 y) const;
 
 	/** Check the existance of a hotspot based on its short Id */
-	bool searchHotspot (int16 shortId);
+	bool searchHotspot(int16 shortId) const;
 
 private:
 	struct Hotspot {


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