You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
539 B
26 lines
539 B
#ifdef _DEBUG |
|
#pragma once |
|
|
|
#include <string_view> |
|
|
|
#ifdef USE_SDL3 |
|
#include <SDL3/SDL_events.h> |
|
#else |
|
#include <SDL.h> |
|
#endif |
|
|
|
#include "engine/surface.hpp" |
|
|
|
namespace devilution { |
|
|
|
void InitConsole(); |
|
bool IsConsoleOpen(); |
|
void OpenConsole(); |
|
bool ConsoleHandleEvent(const SDL_Event &event); |
|
void DrawConsole(const Surface &out); |
|
void RunInConsole(std::string_view code); |
|
void PrintToConsole(std::string_view text); |
|
void PrintWarningToConsole(std::string_view text); |
|
|
|
} // namespace devilution |
|
#endif // _DEBUG
|
|
|