From 73c3625f1f171212d0c2f8e112994f3ee7c6294e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 3 Feb 2007 21:37:52 +0000 Subject: Fixing various doxygen warnings svn-id: r25362 --- engines/agi/op_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/agi/op_test.cpp') diff --git a/engines/agi/op_test.cpp b/engines/agi/op_test.cpp index 463a51e8c1..43624a1801 100644 --- a/engines/agi/op_test.cpp +++ b/engines/agi/op_test.cpp @@ -129,7 +129,7 @@ static uint8 testController(uint8 cont) { } static uint8 testPosn(uint8 n, uint8 x1, uint8 y1, uint8 x2, uint8 y2) { - struct VtEntry *v = &game.viewTable[n]; + VtEntry *v = &game.viewTable[n]; uint8 r; r = v->xPos >= x1 && v->yPos >= y1 && v->xPos <= x2 && v->yPos <= y2; @@ -140,7 +140,7 @@ static uint8 testPosn(uint8 n, uint8 x1, uint8 y1, uint8 x2, uint8 y2) { } static uint8 testObjInBox(uint8 n, uint8 x1, uint8 y1, uint8 x2, uint8 y2) { - struct VtEntry *v = &game.viewTable[n]; + VtEntry *v = &game.viewTable[n]; return v->xPos >= x1 && v->yPos >= y1 && v->xPos + v->xSize - 1 <= x2 && v->yPos <= y2; @@ -148,7 +148,7 @@ static uint8 testObjInBox(uint8 n, uint8 x1, uint8 y1, uint8 x2, uint8 y2) { /* if n is in centre of box */ static uint8 testObjCentre(uint8 n, uint8 x1, uint8 y1, uint8 x2, uint8 y2) { - struct VtEntry *v = &game.viewTable[n]; + VtEntry *v = &game.viewTable[n]; return v->xPos + v->xSize / 2 >= x1 && v->xPos + v->xSize / 2 <= x2 && v->yPos >= y1 && v->yPos <= y2; @@ -156,7 +156,7 @@ static uint8 testObjCentre(uint8 n, uint8 x1, uint8 y1, uint8 x2, uint8 y2) { /* if nect N is in right corner */ static uint8 testObjRight(uint8 n, uint8 x1, uint8 y1, uint8 x2, uint8 y2) { - struct VtEntry *v = &game.viewTable[n]; + VtEntry *v = &game.viewTable[n]; return v->xPos + v->xSize - 1 >= x1 && v->xPos + v->xSize - 1 <= x2 && v->yPos >= y1 && v->yPos <= y2; -- cgit v1.2.3