ASYLUM: Fixed warnings

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@233 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
This commit is contained in:
Filippos Karapetis authored and Eugene Sandulenko committed 2021-05-17 15:35:31 +02:00
1 parent c2a7b40396
commit adf21355ee
3 files changed
+10 -10

No files matched your search

+4 -4
View File
@@ -87,7 +87,7 @@ void Interpreter::processActionLists() {
break;
case kHideActor:
{
int actorIndex = 0;
uint32 actorIndex = 0;
if (currentCommand.param1 == -1)
;//actorIndex = _scene->getWorldStats()->playerActor;
else
@@ -102,7 +102,7 @@ void Interpreter::processActionLists() {
break;
case kShowActor:
{
int actorIndex = 0;
uint32 actorIndex = 0;
if (currentCommand.param1 == -1)
;//actorIndex = _scene->getWorldStats()->playerActor;
else
@@ -116,7 +116,7 @@ void Interpreter::processActionLists() {
}
break;
case kSetActorStats: {
int actorIndex = 0;
uint32 actorIndex = 0;
if (currentCommand.param1 == -1)
;//actorIndex = _scene->getWorldStats()->playerActor;
else
@@ -152,7 +152,7 @@ void Interpreter::processActionLists() {
case kWaitUntilFramePlayed: {
int barrierIndex = _scene->_sceneResource->getBarrierIndexById(currentCommand.param1);
if (barrierIndex >= 0) {
int frameNum = 0;
uint32 frameNum = 0;
if (currentCommand.param2 == -1)
frameNum = _scene->_sceneResource->getWorldStats()->barriers[barrierIndex].frameCount - 1;
else
+4 -4
View File
@@ -145,8 +145,8 @@ void Scene::actorVisible(int actorIndex, bool visible) {
// FIXME - Remove this once mainActor uses proper actor info
if (actorIndex == 0) {
if(_sceneResource->getMainActor())
;//_sceneResource->getMainActor()->setAction(action);
//if(_sceneResource->getMainActor())
//_sceneResource->getMainActor()->setAction(action);
}
}
@@ -157,8 +157,8 @@ bool Scene::actorVisible(int actorIndex) {
// FIXME - Remove this once mainActor uses proper actor info
if (actorIndex == 0) {
if(_sceneResource->getMainActor())
;//_sceneResource->getMainActor()->setAction(action);
//if(_sceneResource->getMainActor())
//_sceneResource->getMainActor()->setAction(action);
}
return false;
+2 -2
View File
@@ -41,8 +41,8 @@ class Sound;
class SceneResource;
class Text;
class Interpreter;
class ActionDefinitions;
class PolyDefinitions;
struct ActionDefinitions;
struct PolyDefinitions;
class Scene {
public: