26 lines
721 B
C++
26 lines
721 B
C++
#pragma once
|
|
|
|
// Constantes globales de Tahgibu. Sin dependencias (ni raylib).
|
|
|
|
// CMake define TAHGIBU_VERSION a partir de project(VERSION ...).
|
|
#ifndef TAHGIBU_VERSION
|
|
#define TAHGIBU_VERSION "2.0.0"
|
|
#endif
|
|
|
|
namespace tahgibu {
|
|
|
|
inline constexpr const char* kAppName = "Tahgibu";
|
|
inline constexpr const char* kAppVersion = TAHGIBU_VERSION;
|
|
|
|
// Límite duro: ni el proyecto ni ningún frame individual pueden superarlo.
|
|
inline constexpr float kMaxFps = 60.0f;
|
|
|
|
// Mínimo permitido. 0.1 FPS = un frame visible hasta 10 s, para poder hacer
|
|
// pausas largas sin duplicar frames.
|
|
inline constexpr float kMinFps = 0.1f;
|
|
|
|
// FPS base de un proyecto nuevo.
|
|
inline constexpr float kDefaultFps = 24.0f;
|
|
|
|
} // namespace tahgibu
|