Preparando la interfaz
This commit is contained in:
commit
66bedbb5f1
17 files changed
+876
No files matched your search
@@ -0,0 +1,25 @@
|
||||
#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
|
||||
Reference in new issue
Block a user