Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CConsole.cpp File Reference
#include "precompiled.h"
#include "CConsole.h"
#include "graphics/Canvas2D.h"
#include "graphics/Color.h"
#include "graphics/FontMetrics.h"
#include "graphics/TextRenderer.h"
#include "gui/CGUI.h"
#include "gui/GUIManager.h"
#include "lib/code_generation.h"
#include "lib/debug.h"
#include "lib/external_libraries/libsdl.h"
#include "lib/file/io/write_buffer.h"
#include "lib/file/vfs/vfs.h"
#include "lib/status.h"
#include "lib/timer.h"
#include "lib/utf8.h"
#include "maths/MathUtil.h"
#include "maths/Rect.h"
#include "maths/Vector2D.h"
#include "ps/CStr.h"
#include "ps/CStrIntern.h"
#include "ps/ConfigDB.h"
#include "ps/Filesystem.h"
#include "ps/GameSetup/Config.h"
#include "ps/Globals.h"
#include "ps/Hotkey.h"
#include "ps/KeyName.h"
#include "ps/Profile.h"
#include "ps/Profiler2.h"
#include "ps/VideoMode.h"
#include "scriptinterface/JSON.h"
#include "scriptinterface/Interface.h"
#include "scriptinterface/Request.h"
#include <SDL_clipboard.h>
#include <SDL_events.h>
#include <SDL_keyboard.h>
#include <SDL_keycode.h>
#include <SDL_scancode.h>
#include <SDL_stdinc.h>
#include <algorithm>
#include <cmath>
#include <concepts>
#include <cstring>
#include <cwchar>
#include <iterator>
#include <js/RootingAPI.h>
#include <js/TypeDecls.h>
#include <js/Value.h>
#include <numeric>
#include <string_view>
#include <unordered_map>
#include <utility>
#include <vector>

Namespaces

namespace  anonymous_namespace{CConsole.cpp}
 

Functions

template<std::invocable< std::string > Function>
void anonymous_namespace{CConsole.cpp}::ShowQuitHotkeys (bool &quitHotkeyWasShown, Function insertMessage)
 
template<std::invocable< std::string > Function>
void anonymous_namespace{CConsole.cpp}::SetVisible (const bool visible, bool &quitHotkeyWasShown, Function insertMessage)
 
static bool isUnprintableChar (SDL_Keysym key)
 

Variables

constexpr int anonymous_namespace{CConsole.cpp}::CONSOLE_BUFFER_SIZE = 1024
 
CConsole * g_Console = 0
 

Function Documentation

◆ isUnprintableChar()

static bool isUnprintableChar ( SDL_Keysym  key)
static

Variable Documentation

◆ g_Console

CConsole* g_Console = 0