summaryrefslogtreecommitdiff
path: root/src/defines.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-18 00:50:15 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-20 15:08:47 +0100
commite503901c3a7cc07b409ed8bc3209908f0091652d (patch)
treedae97a15e50c43c9e0f493a116a270b6140400e9 /src/defines.h
parent9d6a1f4c881d8a77d7bde3244a6543b0cbe31718 (diff)
downloadmanaserv-e503901c3a7cc07b409ed8bc3209908f0091652d.tar.gz
manaserv-e503901c3a7cc07b409ed8bc3209908f0091652d.tar.bz2
manaserv-e503901c3a7cc07b409ed8bc3209908f0091652d.tar.xz
manaserv-e503901c3a7cc07b409ed8bc3209908f0091652d.zip
General cleanups and code style fixes
A bunch of variables that were continuously requested from the configuration are now members of the AccountHandler. Reviewed-by: Freeyorp
Diffstat (limited to 'src/defines.h')
-rw-r--r--src/defines.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/defines.h b/src/defines.h
index 1fe9f1bc..9c3829c0 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -30,7 +30,7 @@
/**
* Exit value codes are thrown back at servers exit to reflect their exit state.
*/
-enum exitValue
+enum ExitValue
{
EXIT_NORMAL = 0,
EXIT_CONFIG_NOT_FOUND, // The main configuration file wasn't found.
@@ -51,7 +51,7 @@ enum exitValue
* A gm would have permissions of 11 (AL_PLAYER | AL_TESTER | AL_GM)
* A admin would have permissions of 255 (*)
*/
-enum accessLevel
+enum AccessLevel
{
AL_BANNED = 0, /**< This user is currently banned. */
AL_PLAYER = 1, /**< User has regular rights. */
@@ -62,14 +62,14 @@ enum accessLevel
};
/**
- * Guild member permissions
- * Members with NONE cannot invite users or set permissions
- * Members with TOPIC_CHANGE can change the guild channel topic
- * Members with INVITE can invite other users
- * Memeber with KICK can remove other users
- * Members with OWNER can invite users and set permissions
- */
-enum guildAccessLevel
+ * Guild member permissions
+ * Members with NONE cannot invite users or set permissions
+ * Members with TOPIC_CHANGE can change the guild channel topic
+ * Members with INVITE can invite other users
+ * Memeber with KICK can remove other users
+ * Members with OWNER can invite users and set permissions
+ */
+enum GuildAccessLevel
{
GAL_NONE = 0,
GAL_TOPIC_CHANGE = 1,