space-game001/Environment.h
Vladislav Khorev da7805ce0c Final version
2025-03-03 07:58:27 +03:00

63 lines
1.2 KiB
C++

#pragma once
#include "Math.h"
#ifdef __linux__
#include <SDL2/SDL.h>
#endif
#include "OpenGlExtensions.h"
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 Vector3f cameraShift;
static Vector3f characterPos;
static float cameraPhi;
static float cameraAlpha;
//Viola
static float violaCurrentIdleFrame;
static float violaCurrentWalkFrame;
static int violaLastIdleFrame;
static int violaLastWalkFrame;
static int violaCurrentAnimation;
static float violaAngleAroundY;
static bool settings_inverseVertical;
static SDL_Window* window;
static float cameraDefaultVerticalShift;
static float itemDefaultVerticalShift;
static bool showMouse;
static bool exitGameLoop;
static bool gameIsLoading;
static float monsterTimer;
static int monsterState;
static bool finalIsGood;
static bool finalIsBad;
static bool goToLevel3;
static float goTolevel3Timer;
};
} // namespace ZL