aboutsummaryrefslogtreecommitdiff
path: root/scumm.h
diff options
context:
space:
mode:
authorMax Horn2002-06-04 23:32:53 +0000
committerMax Horn2002-06-04 23:32:53 +0000
commitd35eed21f1cbd769bdad4e3028d16361c7bf9f74 (patch)
tree3d38928c8c0f89bdbc51dd660cdb79da4b5e30c6 /scumm.h
parent31a2efd89cdae6f8722af77177dba2a7763a94a5 (diff)
downloadscummvm-rg350-d35eed21f1cbd769bdad4e3028d16361c7bf9f74.tar.gz
scummvm-rg350-d35eed21f1cbd769bdad4e3028d16361c7bf9f74.tar.bz2
scummvm-rg350-d35eed21f1cbd769bdad4e3028d16361c7bf9f74.zip
more Actor class cleanup; renamed unkRoomFunc4 to palManipulate and added an icky, wrong implementation for it - yes this is complete nonsense but I'll try to replace it with the right thing RSN :-)
svn-id: r4404
Diffstat (limited to 'scumm.h')
-rw-r--r--scumm.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/scumm.h b/scumm.h
index a9ea843002..6a74e09a66 100644
--- a/scumm.h
+++ b/scumm.h
@@ -639,7 +639,7 @@ public:
int8 _userPut;
int _resourceHeaderSize;
void unkRoomFunc3(int a, int b, int c, int d, int e);
- void unkRoomFunc4(int a, int b, int c, int d, int e);
+ void palManipulate(int a, int b, int c, int d, int e);
void setScaleItem(int slot, int a, int b, int c, int d);
void clearClickedStatus();
void startManiac();
@@ -863,9 +863,6 @@ public:
/* Should be in Costume class */
void loadCostume(LoadedCostume *lc, int costume);
-// void cost_setPalette(CostumeRenderer *cr, byte *palette);
-// void cost_setFacing(CostumeRenderer *cr, Actor *a);
-// void cost_setCostume(CostumeRenderer *cr, int costume);
byte cost_increaseAnims(LoadedCostume *lc, Actor *a);
byte cost_increaseAnim(LoadedCostume *lc, Actor *a, int slot);
void cost_decodeData(Actor *a, int frame, uint usemask);
@@ -984,8 +981,8 @@ public:
uint32 *_classData;
- int newDirToOldDir(int dir);
- int oldDirToNewDir(int dir);
+ static int newDirToOldDir(int dir);
+ static int oldDirToNewDir(int dir);
static int normalizeAngle(int angle);
int getAngleFromPos(int x, int y);
@@ -996,7 +993,6 @@ public:
int getProgrDirChange(Actor *a, int mode);
int getActorXYPos(Actor *a);
- AdjustBoxResult adjustXYToBeInBox(Actor *a, int x, int y, int pathfrom);
void walkActors();
void playActorSounds();
void setActorRedrawFlags();