1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Removed CGI in favor of VLC. Map handle is for now global variable

This commit is contained in:
Ivan Savenko
2025-02-10 22:52:48 +00:00
parent f657e85305
commit ffd37a8fa8
106 changed files with 940 additions and 1211 deletions

View File

@@ -17,11 +17,11 @@
#include "OtherOptionsTab.h"
#include "CMT.h"
#include "CGameInfo.h"
#include "texts/CGeneralTextHandler.h"
#include "../../../lib/texts/CGeneralTextHandler.h"
#include "../../../lib/VCMI_Lib.h"
#include "CPlayerInterface.h"
#include "CServerHandler.h"
#include "filesystem/ResourcePath.h"
#include "../../../lib/filesystem/ResourcePath.h"
#include "GameEngine.h"
#include "gui/WindowHandler.h"
#include "render/Canvas.h"
@@ -120,7 +120,7 @@ void SettingsMainWindow::close()
void SettingsMainWindow::quitGameButtonCallback()
{
LOCPLINT->showYesNoDialog(
CGI->generaltexth->allTexts[578],
VLC->generaltexth->allTexts[578],
[this]()
{
close();
@@ -141,7 +141,7 @@ void SettingsMainWindow::backButtonCallback()
void SettingsMainWindow::mainMenuButtonCallback()
{
LOCPLINT->showYesNoDialog(
CGI->generaltexth->allTexts[578],
VLC->generaltexth->allTexts[578],
[this]()
{
close();
@@ -167,7 +167,7 @@ void SettingsMainWindow::saveGameButtonCallback()
void SettingsMainWindow::restartGameButtonCallback()
{
LOCPLINT->showYesNoDialog(
CGI->generaltexth->allTexts[67],
VLC->generaltexth->allTexts[67],
[this]()
{
close();