diff options
author | madmaxoft <github@xoft.cz> | 2013-07-28 22:55:09 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-07-28 22:55:09 +0200 |
commit | 3bf4130e3fc05f84cf7be7e33656f3e29f0fe12c (patch) | |
tree | 2294350370ff68bfe9c778ef1296506f1a6b0ff0 /source/Defines.h | |
parent | Ignoring all items beginning with "world". (diff) | |
download | cuberite-3bf4130e3fc05f84cf7be7e33656f3e29f0fe12c.tar cuberite-3bf4130e3fc05f84cf7be7e33656f3e29f0fe12c.tar.gz cuberite-3bf4130e3fc05f84cf7be7e33656f3e29f0fe12c.tar.bz2 cuberite-3bf4130e3fc05f84cf7be7e33656f3e29f0fe12c.tar.lz cuberite-3bf4130e3fc05f84cf7be7e33656f3e29f0fe12c.tar.xz cuberite-3bf4130e3fc05f84cf7be7e33656f3e29f0fe12c.tar.zst cuberite-3bf4130e3fc05f84cf7be7e33656f3e29f0fe12c.zip |
Diffstat (limited to 'source/Defines.h')
-rw-r--r-- | source/Defines.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Defines.h b/source/Defines.h index f52050a9b..94e618eb0 100644 --- a/source/Defines.h +++ b/source/Defines.h @@ -116,6 +116,10 @@ enum eGameMode gmSurvival = eGameMode_Survival, gmCreative = eGameMode_Creative, gmAdventure = eGameMode_Adventure, + + // These two are used to check GameMode for validity when converting from integers. + gmMax, // Gets automatically assigned + gmMin = 0, } ; |