diff options
author | Mattes D <github@xoft.cz> | 2014-09-17 21:30:11 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-17 21:30:11 +0200 |
commit | 0625556c372462f48f13482866c0c12a6dcb51e2 (patch) | |
tree | d77b0dc3845b99911a8924449ef38d4cc47fcddf /src/Defines.h | |
parent | Added an explicit setting for allowing BungeeCord handshake. (diff) | |
parent | Implementing Spectator Mode (diff) | |
download | cuberite-0625556c372462f48f13482866c0c12a6dcb51e2.tar cuberite-0625556c372462f48f13482866c0c12a6dcb51e2.tar.gz cuberite-0625556c372462f48f13482866c0c12a6dcb51e2.tar.bz2 cuberite-0625556c372462f48f13482866c0c12a6dcb51e2.tar.lz cuberite-0625556c372462f48f13482866c0c12a6dcb51e2.tar.xz cuberite-0625556c372462f48f13482866c0c12a6dcb51e2.tar.zst cuberite-0625556c372462f48f13482866c0c12a6dcb51e2.zip |
Diffstat (limited to 'src/Defines.h')
-rw-r--r-- | src/Defines.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Defines.h b/src/Defines.h index 78c58034e..6355b75b4 100644 --- a/src/Defines.h +++ b/src/Defines.h @@ -115,12 +115,14 @@ enum eGameMode eGameMode_Survival = 0, eGameMode_Creative = 1, eGameMode_Adventure = 2, + eGameMode_Spectator = 3, // Easier-to-use synonyms: gmNotSet = eGameMode_NotSet, gmSurvival = eGameMode_Survival, gmCreative = eGameMode_Creative, gmAdventure = eGameMode_Adventure, + gmSpectator = eGameMode_Spectator, // These two are used to check GameMode for validity when converting from integers. gmMax, // Gets automatically assigned |