Major clean up

This commit is contained in:
Vladislav Khorev committed 2026-01-18 13:13:25 +03:00
1 parent 6aff22ec53
commit 1a7e424085
16 files changed
+390 -490

No files matched your search

+2 -16
View File
@@ -6,6 +6,7 @@
#include "render/OpenGlExtensions.h"
#endif
#include <Eigen/Dense>
#include "network/ClientState.h"
namespace ZL {
@@ -16,14 +17,6 @@ public:
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;
@@ -31,18 +24,11 @@ public:
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 int shipSelectedVelocity;
static Eigen::Vector3f currentAngularVelocity;
static int lastSentAngle;
static float lastSentMagnitude;
static ClientState shipState;
static const float CONST_Z_NEAR;
static const float CONST_Z_FAR;