aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/mpal
diff options
context:
space:
mode:
authorPaul Gilbert2012-06-17 09:09:18 +1000
committerPaul Gilbert2012-06-17 09:09:18 +1000
commita91553efeb0e2beaf942fc3f7db30868ac8c6afa (patch)
treec40ddb7d790a152fd2121d7164333261a0f50616 /engines/tony/mpal
parent8335c25cb96f970bbc546caecd845d05df06a778 (diff)
downloadscummvm-rg350-a91553efeb0e2beaf942fc3f7db30868ac8c6afa.tar.gz
scummvm-rg350-a91553efeb0e2beaf942fc3f7db30868ac8c6afa.tar.bz2
scummvm-rg350-a91553efeb0e2beaf942fc3f7db30868ac8c6afa.zip
TONY: Cleaned up the @defgroup comments
Diffstat (limited to 'engines/tony/mpal')
-rw-r--r--engines/tony/mpal/expr.cpp5
-rw-r--r--engines/tony/mpal/loadmpc.cpp3
-rw-r--r--engines/tony/mpal/mpal.cpp3
-rw-r--r--engines/tony/mpal/mpal.h6
4 files changed, 16 insertions, 1 deletions
diff --git a/engines/tony/mpal/expr.cpp b/engines/tony/mpal/expr.cpp
index 52751120f6..c2fadd63df 100644
--- a/engines/tony/mpal/expr.cpp
+++ b/engines/tony/mpal/expr.cpp
@@ -42,6 +42,7 @@ namespace MPAL {
/**
* @defgroup Mathamatical operations
*/
+//@{
#define OP_MUL ((1 << 4) | 0)
#define OP_DIV ((1 << 4) | 1)
@@ -73,9 +74,12 @@ enum ExprListTypes {
ELT_PARENTH2 = 4
};
+//@}
+
/**
* @defgroup Structures
*/
+//@{
/**
* Mathamatical framework to manage operations
@@ -96,6 +100,7 @@ typedef struct {
} EXPRESSION;
typedef EXPRESSION *LPEXPRESSION;
+//@}
/**
* Duplicate a mathematical expression.
diff --git a/engines/tony/mpal/loadmpc.cpp b/engines/tony/mpal/loadmpc.cpp
index 6ed4545d67..b589827a5a 100644
--- a/engines/tony/mpal/loadmpc.cpp
+++ b/engines/tony/mpal/loadmpc.cpp
@@ -517,6 +517,7 @@ static const byte *ParseLocation(const byte *lpBuf, LPMPALLOCATION lpmlLocation)
/**
* @defgroup Exported functions
*/
+//@{
/**
* Reads and interprets the MPC file, and create structures for various directives
@@ -796,6 +797,8 @@ void FreeMpc() {
}
}
+//@}
+
} // end of namespace MPAL
} // end of namespace Tony
diff --git a/engines/tony/mpal/mpal.cpp b/engines/tony/mpal/mpal.cpp
index 3b98acea59..72d8d3045c 100644
--- a/engines/tony/mpal/mpal.cpp
+++ b/engines/tony/mpal/mpal.cpp
@@ -1395,6 +1395,7 @@ bool doSelection(uint32 i, uint32 dwData) {
/**
* @defgroup Exported functions
*/
+//@{
/**
* Initialises the MPAL library and opens the .MPC file, which will be used for all queries.
@@ -2918,6 +2919,8 @@ void mpalDumpDialogs(void) {
unlockDialogs();
}
+//@}
+
} // end of namespace MPAL
} // end of namespace Tony
diff --git a/engines/tony/mpal/mpal.h b/engines/tony/mpal/mpal.h
index 9ea0c40bbc..1ec96c97d0 100644
--- a/engines/tony/mpal/mpal.h
+++ b/engines/tony/mpal/mpal.h
@@ -187,6 +187,7 @@ typedef LPITEMIRQFUNCTION* LPLPITEMIRQFUNCTION;
*
* The following are defines used for simplifying calling the mpalQuery variants
*/
+//@{
/**
* Gets the current version of MPAL
@@ -386,11 +387,12 @@ typedef LPITEMIRQFUNCTION* LPLPITEMIRQFUNCTION;
#define mpalQueryDoDialog(nDialog,nGroup) \
mpalQueryDWORD(MPQ_DO_DIALOG, (uint32)(nDialog),(uint32)(nGroup))
+//@}
/**
* @defgroup Functions exported to the main game
*/
-
+//@{
/**
* Initializes the MPAL library, and opens an .MPC file, which will be 'used for all queries
@@ -526,6 +528,8 @@ void lockVar(void);
*/
void unlockVar(void);
+//@}
+
} // end of namespace MPAL
} // end of namespace Tony