#pragma once #ifdef __linux__ #include #endif #ifndef __ANDROID__ #include "render/OpenGlExtensions.h" #endif #include namespace ZL { class Environment { public: static int windowHeaderHeight; static int width; static int height; static float zoom; static bool leftPressed; static bool rightPressed; static bool upPressed; static bool downPressed; static bool settings_inverseVertical; static Eigen::Matrix3f shipMatrix; static Eigen::Matrix3f inverseShipMatrix; static SDL_Window* window; static bool showMouse; static bool exitGameLoop; static bool tapDownHold; static Eigen::Vector2f tapDownStartPos; static Eigen::Vector2f tapDownCurrentPos; static Eigen::Vector3f shipPosition; static float shipVelocity; static const float CONST_Z_NEAR; static const float CONST_Z_FAR; }; } // namespace ZL