diff options
author | nesco <emmanuel@federbusch.fr> | 2014-09-16 20:01:04 +0200 |
---|---|---|
committer | nesco <emmanuel@federbusch.fr> | 2014-09-16 20:01:04 +0200 |
commit | be7483f26be138e337344b61799396994d3858a3 (patch) | |
tree | 73204a9b737ca4d87f9c9e2154e11f744075c088 /src | |
parent | VoronoiMap: Added Jitter and OddRowOffset params. (diff) | |
download | cuberite-be7483f26be138e337344b61799396994d3858a3.tar cuberite-be7483f26be138e337344b61799396994d3858a3.tar.gz cuberite-be7483f26be138e337344b61799396994d3858a3.tar.bz2 cuberite-be7483f26be138e337344b61799396994d3858a3.tar.lz cuberite-be7483f26be138e337344b61799396994d3858a3.tar.xz cuberite-be7483f26be138e337344b61799396994d3858a3.tar.zst cuberite-be7483f26be138e337344b61799396994d3858a3.zip |
Diffstat (limited to 'src')
-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 |