35 lines
746 B
C++
35 lines
746 B
C++
#include "Environment.h"
|
|
|
|
#include "Utils.h"
|
|
#include <GL/gl.h>
|
|
|
|
namespace ZL {
|
|
|
|
int Environment::windowHeaderHeight = 0;
|
|
int Environment::width = 0;
|
|
int Environment::height = 0;
|
|
float Environment::zoom = 20.f;
|
|
|
|
bool Environment::leftPressed = false;
|
|
bool Environment::rightPressed = false;
|
|
bool Environment::upPressed = false;
|
|
bool Environment::downPressed = false;
|
|
|
|
Vector3f Environment::cameraShift = {0, 0, 0};
|
|
Vector3f Environment::characterPos = {0, 0, 0};
|
|
|
|
float Environment::cameraPhi = 0.f;
|
|
float Environment::cameraAlpha = 0.3*M_PI / 2.0;
|
|
|
|
bool Environment::settings_inverseVertical = false;
|
|
|
|
SDL_Window* Environment::window = nullptr;
|
|
|
|
bool Environment::showMouse = false;
|
|
|
|
bool Environment::exitGameLoop = false;
|
|
|
|
|
|
|
|
} // namespace ZL
|