vectozavr-shooter/engine/Consts.h

35 lines
917 B
C
Raw Normal View History

2021-10-09 13:41:12 +03:00
//
// Created by Иван Ильин on 07.10.2021.
//
#ifndef SHOOTER_CONSTS_H
#define SHOOTER_CONSTS_H
2021-10-16 20:22:55 +03:00
#include <SFML/Graphics.hpp>
2021-10-09 13:41:12 +03:00
namespace Consts {
2021-10-16 20:22:55 +03:00
const int STANDARD_SCREEN_WIDTH = 1920;
const int STANDARD_SCREEN_HEIGHT = 1920;
const sf::Color BACKGROUND_COLOR = sf::Color(255, 255, 255);
const std::string PROJECT_NAME = "engine";
2021-10-09 13:41:12 +03:00
const double PI = 3.14159265358979323846264338327950288;
const double EPS = 0.000001;
const double EPA_EPS = 0.0001;
const double RAY_CAST_MAX_DISTANCE = 10000;
2021-10-16 20:22:55 +03:00
const std::string THIN_FONT = "engine/fonts/Roboto-Thin.ttf";
const std::string MEDIUM_FONT = "engine/fonts/Roboto-Medium.ttf";
const double TAP_DELAY = 0.2;
const unsigned NETWORK_VERSION = 1U;
const int NETWORK_TIMEOUT = 1U;
const int NETWORK_WORLD_UPDATE_RATE = 30;
const double NETWORK_RELIABLE_RETRY_TIME = 1.0/20;
2021-10-09 13:41:12 +03:00
}
#endif //SHOOTER_CONSTS_H