mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Removed CGI in favor of VLC. Map handle is for now global variable
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#include "Images.h"
|
||||
#include "TextControls.h"
|
||||
|
||||
#include "../CGameInfo.h"
|
||||
#include "../CPlayerInterface.h"
|
||||
#include "../battle/BattleInterface.h"
|
||||
#include "../battle/BattleInterfaceClasses.h"
|
||||
@@ -30,6 +29,7 @@
|
||||
#include "../../lib/CConfigHandler.h"
|
||||
#include "../../lib/texts/CGeneralTextHandler.h"
|
||||
#include "../../lib/filesystem/Filesystem.h"
|
||||
#include "../../lib/VCMI_Lib.h"
|
||||
|
||||
void ButtonBase::update()
|
||||
{
|
||||
@@ -383,8 +383,8 @@ std::pair<std::string, std::string> CButton::tooltip()
|
||||
std::pair<std::string, std::string> CButton::tooltipLocalized(const std::string & key)
|
||||
{
|
||||
return std::make_pair(
|
||||
CGI->generaltexth->translate(key, "hover"),
|
||||
CGI->generaltexth->translate(key, "help")
|
||||
VLC->generaltexth->translate(key, "hover"),
|
||||
VLC->generaltexth->translate(key, "help")
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user