Added Comments

Added ability to hold shift and skip the terrain generation when loading
Added ability for the perlin terrain to save a raw image of the terrain to use as a cache
This commit is contained in:
iDunnoDev
2022-06-13 16:41:25 +01:00
committed by iDunnoDev
parent 51afdeecbd
commit 616f68bf8b
40 changed files with 468 additions and 51 deletions

View File

@ -28,9 +28,9 @@ private:
float _boostStep = 0.5f;
float _boostMax = 5.0f;
float _flySpeed;
float _turnSpeed;
int _invertPitch;
float _flySpeed = 0.0f;
float _turnSpeed = 0.0f;
int _invertPitch = 0;
float _currentRotation = 0.0f;
float _currentSideRotation = 0.0f;
@ -43,6 +43,8 @@ private:
shared_ptr<ObjectNode> _currentPlayerObject;
bool _noClutter = false;
void GetCurrentControlInputs();
void ResetCurrentControlInputs();
void GenerateClutter();