aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/math/region.h
diff options
context:
space:
mode:
authorEugene Sandulenko2010-09-02 12:14:04 +0000
committerEugene Sandulenko2010-10-12 23:30:00 +0000
commit086f5961b6575c50bb386750b6e9a3ed1efdd8cd (patch)
tree75c532790d67ccd3b8fdc5c371a3ce3bf0705dca /engines/sword25/math/region.h
parent0cdb2ded85d17150cb108a5d63dd8957c29af2a5 (diff)
downloadscummvm-rg350-086f5961b6575c50bb386750b6e9a3ed1efdd8cd.tar.gz
scummvm-rg350-086f5961b6575c50bb386750b6e9a3ed1efdd8cd.tar.bz2
scummvm-rg350-086f5961b6575c50bb386750b6e9a3ed1efdd8cd.zip
SWORD25: unsigned int -> uint
svn-id: r53309
Diffstat (limited to 'engines/sword25/math/region.h')
-rw-r--r--engines/sword25/math/region.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sword25/math/region.h b/engines/sword25/math/region.h
index 0bb9bb84b9..40d52e38d6 100644
--- a/engines/sword25/math/region.h
+++ b/engines/sword25/math/region.h
@@ -62,7 +62,7 @@ protected:
*/
Region();
- Region(InputPersistenceBlock &Reader, unsigned int Handle);
+ Region(InputPersistenceBlock &Reader, uint Handle);
public:
enum REGION_TYPE {
@@ -70,8 +70,8 @@ public:
RT_WALKREGION
};
- static unsigned int Create(REGION_TYPE Type);
- static unsigned int Create(InputPersistenceBlock &Reader, unsigned int Handle = 0);
+ static uint Create(REGION_TYPE Type);
+ static uint Create(InputPersistenceBlock &Reader, uint Handle = 0);
virtual ~Region();
@@ -154,7 +154,7 @@ public:
* The index must be between 0 and GetHoleCount() - 1.
* @return Returns the desired hole polygon
*/
- inline const Polygon &GetHole(unsigned int i) const;
+ inline const Polygon &GetHole(uint i) const;
/**
* For a point outside the region, finds the closest point inside the region
@@ -236,7 +236,7 @@ protected:
// Inlines
// -----------------------------------------------------------------------------
-inline const Polygon &Region::GetHole(unsigned int i) const {
+inline const Polygon &Region::GetHole(uint i) const {
BS_ASSERT(i < m_Polygons.size() - 1);
return m_Polygons[i + 1];
}