aboutsummaryrefslogtreecommitdiff
path: root/akos.cpp
diff options
context:
space:
mode:
authorMax Horn2002-07-07 20:25:23 +0000
committerMax Horn2002-07-07 20:25:23 +0000
commitad4809459d079b0e8ce8855b0f8965c6afed7542 (patch)
tree9c8231d9a852cefedd13707290b2db987500851b /akos.cpp
parent1ac4b2ccaa23bf021397914405b2b03717ffd645 (diff)
downloadscummvm-rg350-ad4809459d079b0e8ce8855b0f8965c6afed7542.tar.gz
scummvm-rg350-ad4809459d079b0e8ce8855b0f8965c6afed7542.tar.bz2
scummvm-rg350-ad4809459d079b0e8ce8855b0f8965c6afed7542.zip
indent run
svn-id: r4480
Diffstat (limited to 'akos.cpp')
-rw-r--r--akos.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/akos.cpp b/akos.cpp
index dca9c3eafb..6c61acc7d6 100644
--- a/akos.cpp
+++ b/akos.cpp
@@ -24,7 +24,7 @@
#include "actor.h"
#include "akos.h"
-bool Scumm::akos_hasManyDirections(Actor * a)
+bool Scumm::akos_hasManyDirections(Actor *a)
{
if (_features & GF_NEW_COSTUMES) {
byte *akos;
@@ -39,7 +39,7 @@ bool Scumm::akos_hasManyDirections(Actor * a)
return 0;
}
-int Scumm::akos_frameToAnim(Actor * a, int frame)
+int Scumm::akos_frameToAnim(Actor *a, int frame)
{
if (akos_hasManyDirections(a))
return toSimpleDir(1, a->facing) + frame * 8;
@@ -47,7 +47,7 @@ int Scumm::akos_frameToAnim(Actor * a, int frame)
return newDirToOldDir(a->facing) + frame * 4;
}
-void Scumm::akos_decodeData(Actor * a, int frame, uint usemask)
+void Scumm::akos_decodeData(Actor *a, int frame, uint usemask)
{
uint anim;
byte *akos, *r;
@@ -153,7 +153,7 @@ void AkosRenderer::setCostume(int costume)
codec = READ_LE_UINT16(&akhd->codec);
}
-void AkosRenderer::setFacing(Actor * a)
+void AkosRenderer::setFacing(Actor *a)
{
mirror = (Scumm::newDirToOldDir(a->facing) != 0 || akhd->flags & 1);
if (a->flip)
@@ -786,8 +786,7 @@ void AkosRenderer::codec1()
#if 0
- switch (((byte)y_clipping << 3) | ((byte)use_scaling << 2) |
- ((byte)masking << 1) | (byte)charsetmask) {
+ switch (((byte)y_clipping << 3) | ((byte)use_scaling << 2) | ((byte)masking << 1) | (byte)charsetmask) {
case 0:
akos_c1_0_decode(this);
break;
@@ -923,7 +922,7 @@ void AkosRenderer::codec16()
}
-bool Scumm::akos_increaseAnims(byte *akos, Actor * a)
+bool Scumm::akos_increaseAnims(byte *akos, Actor *a)
{
byte *aksq, *akfo;
int i;
@@ -948,7 +947,7 @@ bool Scumm::akos_increaseAnims(byte *akos, Actor * a)
#define GUW(o) READ_LE_UINT16(aksq+curpos+(o))
#define GB(o) aksq[curpos+(o)]
-bool Scumm::akos_increaseAnim(Actor * a, int chan, byte *aksq, uint16 *akfo, int numakfo)
+bool Scumm::akos_increaseAnim(Actor *a, int chan, byte *aksq, uint16 *akfo, int numakfo)
{
byte active;
uint old_curpos, curpos, end;
@@ -1175,7 +1174,7 @@ bool Scumm::akos_increaseAnim(Actor * a, int chan, byte *aksq, uint16 *akfo, int
return curpos != old_curpos;
}
-void Scumm::akos_queCommand(byte cmd, Actor * a, int param_1, int param_2)
+void Scumm::akos_queCommand(byte cmd, Actor *a, int param_1, int param_2)
{
// warning("akos_queCommand(%d,%d,%d,%d)", cmd, a->number, param_1, param_2);
}