Mass-renamed all variables of Actor object according to our current code
formatting standards. Earlier we had half of vars named with leading underscore and half without it. Now code in actor.cpp is considerably more readable. svn-id: r17068
This commit is contained in:
parent
3cf691e9f9
commit
154c4af8dc
23 changed files with 878 additions and 878 deletions
|
@ -1380,7 +1380,7 @@ int ScummEngine::getDistanceBetween(bool is_obj_1, int b, int c, bool is_obj_2,
|
|||
if (getObjectOrActorXY(b, x, y) == -1)
|
||||
return -1;
|
||||
if (b < _numActors)
|
||||
i = derefActor(b, "unkObjProc1")->scalex;
|
||||
i = derefActor(b, "unkObjProc1")->_scalex;
|
||||
} else {
|
||||
x = b;
|
||||
y = c;
|
||||
|
@ -1390,7 +1390,7 @@ int ScummEngine::getDistanceBetween(bool is_obj_1, int b, int c, bool is_obj_2,
|
|||
if (getObjectOrActorXY(e, x2, y2) == -1)
|
||||
return -1;
|
||||
if (e < _numActors)
|
||||
j = derefActor(e, "unkObjProc1(2)")->scalex;
|
||||
j = derefActor(e, "unkObjProc1(2)")->_scalex;
|
||||
} else {
|
||||
x2 = e;
|
||||
y2 = f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue