1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-08 23:22:25 +02:00

Remove console global

This commit is contained in:
Ivan Savenko
2025-02-27 23:10:11 +00:00
parent e5a095a237
commit 782362e5ce
12 changed files with 105 additions and 97 deletions

View File

@@ -12,6 +12,10 @@
#include <QStringList>
#include <QTranslator>
VCMI_LIB_NAMESPACE_BEGIN
class CConsoleHandler;
VCMI_LIB_NAMESPACE_END
namespace Ui
{
class MainWindow;
@@ -40,6 +44,10 @@ class MainWindow : public QMainWindow
#endif
Ui::MainWindow * ui;
#ifndef VCMI_MOBILE
std::unique_ptr<CConsoleHandler> console;
#endif
void load();
enum TabRows