diff options
author | Max Horn | 2006-03-28 09:42:54 +0000 |
---|---|---|
committer | Max Horn | 2006-03-28 09:42:54 +0000 |
commit | 9f93e5bb81a54a98eb7957209662f152e2962679 (patch) | |
tree | ffd439f7aa7347bd7ba806c2131be458a7112ef1 /engines/lure | |
parent | 950c3451a2dbadffa6437e98a20eb3a4163216e2 (diff) | |
download | scummvm-rg350-9f93e5bb81a54a98eb7957209662f152e2962679.tar.gz scummvm-rg350-9f93e5bb81a54a98eb7957209662f152e2962679.tar.bz2 scummvm-rg350-9f93e5bb81a54a98eb7957209662f152e2962679.zip |
Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/lure.cpp | 2 | ||||
-rw-r--r-- | engines/lure/res_struct.cpp | 2 | ||||
-rw-r--r-- | engines/lure/room.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp index a034fec156..25a9a1a5c2 100644 --- a/engines/lure/lure.cpp +++ b/engines/lure/lure.cpp @@ -137,7 +137,7 @@ DetectedGameList Engine_LURE_detectGames(const FSList &fslist) { detectedGames.push_back(dg); } } - if (detectedGames.isEmpty()) { + if (detectedGames.empty()) { debug("Unknown MD5 (%s)! Please report the details (language, platform, etc.) of this game to the ScummVM team\n", md5str); const PlainGameDescriptor *g1 = lure_list; diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp index a099f51f07..4858f5e06b 100644 --- a/engines/lure/res_struct.cpp +++ b/engines/lure/res_struct.cpp @@ -189,7 +189,7 @@ MovementData::MovementData(MovementResource *rec) { bool MovementDataList::getFrame(uint16 currentFrame, int16 &xChange, int16 &yChange, uint16 &nextFrame) { - if (isEmpty()) return false; + if (empty()) return false; bool foundFlag = false; iterator i; diff --git a/engines/lure/room.cpp b/engines/lure/room.cpp index 6346181cc0..3db3986ef1 100644 --- a/engines/lure/room.cpp +++ b/engines/lure/room.cpp @@ -206,7 +206,7 @@ uint8 Room::checkRoomExits() { Resources &res = Resources::getReference(); RoomExitHotspotList &exits = _roomData->exitHotspots; - if (exits.isEmpty()) return CURSOR_ARROW; + if (exits.empty()) return CURSOR_ARROW; RoomExitJoinData *join; bool skipFlag; |