treballant en el extendedMap per a les colisións fora de pantalla
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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_) {
|
||||
|
||||
Reference in New Issue
Block a user