From 9f93e5bb81a54a98eb7957209662f152e2962679 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 28 Mar 2006 09:42:54 +0000 Subject: Renamed various container isEmpty() methods to empty() to match STL conventions svn-id: r21472 --- engines/lure/lure.cpp | 2 +- engines/lure/res_struct.cpp | 2 +- engines/lure/room.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/lure') 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; -- cgit v1.2.3