treballant en el extendedMap per a les colisións fora de pantalla

This commit is contained in:
2026-04-09 21:46:45 +02:00
parent 2120641c3d
commit 4f890586f1
20 changed files with 326 additions and 383 deletions

View File

@@ -277,7 +277,7 @@ void Console::toggle() {
input_line_.clear();
cursor_timer_ = 0.0F;
cursor_visible_ = true;
// El mensaje inicial ("JDD Console v1.0") aparece completo, sin typewriter
// El mensaje inicial (nombre de la consola) aparece completo, sin typewriter
typewriter_chars_ = static_cast<int>(msg_lines_[0].size());
typewriter_timer_ = 0.0F;
SDL_StartTextInput(SDL_GetKeyboardFocus());

View File

@@ -60,7 +60,7 @@ class Console {
static constexpr float SLIDE_SPEED = 180.0F;
// Constantes de consola
static constexpr std::string_view CONSOLE_NAME = "JDD Console";
static constexpr std::string_view CONSOLE_NAME = "Projecte 2026 Console";
static constexpr std::string_view CONSOLE_VERSION = "v2.2";
static constexpr int MAX_LINE_CHARS = 32;
static constexpr int MAX_HISTORY_SIZE = 20;

View File

@@ -1194,7 +1194,7 @@ auto CommandRegistry::execute(const std::string& keyword, const std::vector<std:
auto CommandRegistry::generateTerminalHelp() const -> std::string {
std::ostringstream out;
out << "=== JDD CONSOLE COMMANDS ===" << '\n';
out << "=== Project 2026 CONSOLE COMMANDS ===" << '\n';
std::string current_category;
for (const auto& cmd : commands_) {