aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/op_test.cpp
diff options
context:
space:
mode:
authorMax Horn2007-02-03 21:37:52 +0000
committerMax Horn2007-02-03 21:37:52 +0000
commit73c3625f1f171212d0c2f8e112994f3ee7c6294e (patch)
tree939e5d78844c6a4bba66bf40cfdf67bfd5d4ce60 /engines/agi/op_test.cpp
parenta2b1ff0de842d800ad311dc2e1b2638722cbdda9 (diff)
downloadscummvm-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/op_test.cpp')
-rw-r--r--engines/agi/op_test.cpp8
1 files changed, 4 insertions, 4 deletions
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;