aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2014-05-20 08:15:30 +0300
committerEugene Sandulenko2014-05-20 08:15:30 +0300
commitc1890cc739d94c4310ec8933b8fca3f43b8df294 (patch)
treee749cc1ae6290b621da6455de6573790da7b5c74 /engines/fullpipe
parent9f31278d187d7f3e92fe596c64fcf8cf15292342 (diff)
downloadscummvm-rg350-c1890cc739d94c4310ec8933b8fca3f43b8df294.tar.gz
scummvm-rg350-c1890cc739d94c4310ec8933b8fca3f43b8df294.tar.bz2
scummvm-rg350-c1890cc739d94c4310ec8933b8fca3f43b8df294.zip
FULLPIPE: Fix warnings
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/scene.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/fullpipe/scene.cpp b/engines/fullpipe/scene.cpp
index 2a78454156..1247d9380e 100644
--- a/engines/fullpipe/scene.cpp
+++ b/engines/fullpipe/scene.cpp
@@ -139,12 +139,12 @@ Scene::~Scene() {
// _faObjlist is not used
- for (int i = 0; i < _messageQueueList.size(); i++)
+ for (uint i = 0; i < _messageQueueList.size(); i++)
delete _messageQueueList[i];
_messageQueueList.clear();
- for (int i = 0; i < _staticANIObjectList1.size(); i++)
+ for (uint i = 0; i < _staticANIObjectList1.size(); i++)
delete _staticANIObjectList1[i];
_staticANIObjectList1.clear();
@@ -287,7 +287,7 @@ void Scene::init() {
if (_staticANIObjectList2.size() != _staticANIObjectList1.size()) {
_staticANIObjectList2.clear();
- for (int i = 0; i < _staticANIObjectList1.size(); i++)
+ for (uint i = 0; i < _staticANIObjectList1.size(); i++)
_staticANIObjectList2.push_back(_staticANIObjectList1[i]);
}
}
@@ -353,7 +353,7 @@ void Scene::setPictureObjectsFlag4() {
}
void Scene::stopAllSounds() {
- for (uint i = 0; i < _soundList->getCount(); i++)
+ for (int i = 0; i < _soundList->getCount(); i++)
_soundList->getSoundByIndex(i)->stop();
}
@@ -507,11 +507,11 @@ void Scene::draw() {
objectList_sortByPriority(_staticANIObjectList2);
- for (int i = 0; i < _staticANIObjectList2.size(); i++)
+ for (uint i = 0; i < _staticANIObjectList2.size(); i++)
_staticANIObjectList2[i]->draw2();
int priority = -1;
- for (int i = 0; i < _staticANIObjectList2.size(); i++) {
+ for (uint i = 0; i < _staticANIObjectList2.size(); i++) {
drawContent(_staticANIObjectList2[i]->_priority, priority, false);
_staticANIObjectList2[i]->draw();
@@ -642,7 +642,7 @@ int Scene::getPictureObjectIdAtPos(int x, int y) {
void Scene::update(int counterdiff) {
debug(6, "Scene::update(%d)", counterdiff);
- for (int i = 0; i < _staticANIObjectList2.size(); i++)
+ for (uint i = 0; i < _staticANIObjectList2.size(); i++)
_staticANIObjectList2[i]->update(counterdiff);
}