summaryrefslogtreecommitdiffstats
path: root/src/GameState.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-09-30 18:00:09 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:32 +0100
commitc149d9ac2492cecbd1ba336f231157f69413942b (patch)
tree9aa071b54b9e34639e8e39e15e48cc6773956aa7 /src/GameState.hpp
parent2017-09-24 (diff)
downloadAltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar.gz
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar.bz2
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar.lz
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar.xz
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar.zst
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.zip
Diffstat (limited to '')
-rw-r--r--src/GameState.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/GameState.hpp b/src/GameState.hpp
index 659f829..31ec928 100644
--- a/src/GameState.hpp
+++ b/src/GameState.hpp
@@ -25,7 +25,8 @@ public:
void HandleMovement(GameState::Direction direction, float deltaTime);
void HandleRotation(double yaw, double pitch);
glm::mat4 GetViewMatrix();
- void updateCameraVectors();
+ Entity* player;
+ /*void updateCameraVectors();
float Yaw();
float Pitch();
@@ -37,7 +38,7 @@ public:
glm::vec3 Front;
glm::vec3 Up;
glm::vec3 Right;
- glm::vec3 WorldUp;
+ glm::vec3 WorldUp;*/
World world;
@@ -58,17 +59,17 @@ public:
bool g_PlayerCreativeMode = false;
float g_PlayerFlyingSpeed = 0;
float g_PlayerFovModifier = 0;
- float g_PlayerPitch = 0;
+ /*float g_PlayerPitch = 0;
float g_PlayerYaw = 0;
double g_PlayerX = 0;
double g_PlayerY = 0;
- double g_PlayerZ = 0;
+ double g_PlayerZ = 0;*/
float g_PlayerHealth = 0;
- bool g_OnGround = true;
+ /*bool g_OnGround = true;
double g_PlayerVelocityX = 0;
double g_PlayerVelocityY = 0;
- double g_PlayerVelocityZ = 0;
+ double g_PlayerVelocityZ = 0;*/
long long WorldAge = 0;
long long TimeOfDay = 0;