diff options
| author | Max Horn | 2007-02-03 21:37:52 +0000 | 
|---|---|---|
| committer | Max Horn | 2007-02-03 21:37:52 +0000 | 
| commit | 73c3625f1f171212d0c2f8e112994f3ee7c6294e (patch) | |
| tree | 939e5d78844c6a4bba66bf40cfdf67bfd5d4ce60 /engines/agi/motion.cpp | |
| parent | a2b1ff0de842d800ad311dc2e1b2638722cbdda9 (diff) | |
| download | scummvm-rg350-73c3625f1f171212d0c2f8e112994f3ee7c6294e.tar.gz scummvm-rg350-73c3625f1f171212d0c2f8e112994f3ee7c6294e.tar.bz2 scummvm-rg350-73c3625f1f171212d0c2f8e112994f3ee7c6294e.zip | |
Fixing various doxygen warnings
svn-id: r25362
Diffstat (limited to 'engines/agi/motion.cpp')
| -rw-r--r-- | engines/agi/motion.cpp | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/engines/agi/motion.cpp b/engines/agi/motion.cpp index 3536a73605..864953a81f 100644 --- a/engines/agi/motion.cpp +++ b/engines/agi/motion.cpp @@ -42,7 +42,7 @@ int AgiEngine::checkBlock(int x, int y) {  	return true;  } -void AgiEngine::changePos(struct VtEntry *v) { +void AgiEngine::changePos(VtEntry *v) {  	int b, x, y;  	int dx[9] = { 0, 0, 1, 1, 1, 0, -1, -1, -1 };  	int dy[9] = { 0, -1, -1, 0, 1, 1, 1, 0, -1 }; @@ -64,7 +64,7 @@ void AgiEngine::changePos(struct VtEntry *v) {  	}  } -void AgiEngine::motionWander(struct VtEntry *v) { +void AgiEngine::motionWander(VtEntry *v) {  	if (v->parm1--) {  		if (~v->flags & DIDNT_MOVE)  			return; @@ -80,7 +80,7 @@ void AgiEngine::motionWander(struct VtEntry *v) {  	}  } -void AgiEngine::motionFollowEgo(struct VtEntry *v) { +void AgiEngine::motionFollowEgo(VtEntry *v) {  	int egoX, egoY;  	int objX, objY;  	int dir; @@ -142,7 +142,7 @@ void AgiEngine::motionFollowEgo(struct VtEntry *v) {  	}  } -void AgiEngine::motionMoveObj(struct VtEntry *v) { +void AgiEngine::motionMoveObj(VtEntry *v) {  	v->direction = getDirection(v->xPos, v->yPos, v->parm1, v->parm2, v->stepSize);  	/* Update V6 if ego */ @@ -153,7 +153,7 @@ void AgiEngine::motionMoveObj(struct VtEntry *v) {  		inDestination(v);  } -void AgiEngine::checkMotion(struct VtEntry *v) { +void AgiEngine::checkMotion(VtEntry *v) {  	switch (v->motion) {  	case MOTION_WANDER:  		motionWander(v); @@ -178,7 +178,7 @@ void AgiEngine::checkMotion(struct VtEntry *v) {   *   */  void AgiEngine::checkAllMotions() { -	struct VtEntry *v; +	VtEntry *v;  	for (v = _game.viewTable; v < &_game.viewTable[MAX_VIEWTABLE]; v++) {  		if ((v->flags & (ANIMATED | UPDATE | DRAWN)) == (ANIMATED | UPDATE | DRAWN) @@ -194,7 +194,7 @@ void AgiEngine::checkAllMotions() {   * type motion that * has reached its final destination coordinates.   * @param  v  Pointer to view table entry   */ -void AgiEngine::inDestination(struct VtEntry *v) { +void AgiEngine::inDestination(VtEntry *v) {  	if (v->motion == MOTION_MOVE_OBJ) {  		v->stepSize = v->parm3;  		setflag(v->parm4, true); @@ -210,7 +210,7 @@ void AgiEngine::inDestination(struct VtEntry *v) {   * after setting the motion mode to MOTION_MOVE_OBJ.   * @param  v  Pointer to view table entry   */ -void AgiEngine::moveObj(struct VtEntry *v) { +void AgiEngine::moveObj(VtEntry *v) {  	motionMoveObj(v);  } | 
