Split CGeneralTextHandler file into 1 file per class form

All text processing code is now located in lib/texts.
No changes other than code being moved around and adjustment of includes

Moved without changes:
Languages.h           -> texts/Languages.h
MetaString.*          -> texts/MetaString.*
TextOperations.*      -> texts/TextOperations.*

Split into parts:
CGeneralTextHandler.* -> texts/CGeneralTextHandler.*
                      -> texts/CLegacyConfigParser.*
                      -> texts/TextLocalizationContainer.*
                      -> texts/TextIdentifier.h
This commit is contained in:
Ivan Savenko
2024-07-20 12:55:17 +00:00
parent 2796931259
commit 1aa391fdf8
201 changed files with 1026 additions and 949 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
#include "loseconditions.h"
#include "ui_loseconditions.h"
#include "../mapcontroller.h"
#include "../lib/CGeneralTextHandler.h"
#include "../lib/texts/CGeneralTextHandler.h"
LoseConditions::LoseConditions(QWidget *parent) :
AbstractSettings(parent),
+2 -2
View File
@@ -11,8 +11,8 @@
#include "StdInc.h"
#include "translations.h"
#include "ui_translations.h"
#include "../../lib/Languages.h"
#include "../../lib/CGeneralTextHandler.h"
#include "../../lib/texts/Languages.h"
#include "../../lib/texts/CGeneralTextHandler.h"
#include "../../lib/mapObjects/CGObjectInstance.h"
#include "../../lib/VCMI_Lib.h"
+1 -1
View File
@@ -11,7 +11,7 @@
#include "victoryconditions.h"
#include "ui_victoryconditions.h"
#include "../mapcontroller.h"
#include "../lib/CGeneralTextHandler.h"
#include "../lib/texts/CGeneralTextHandler.h"
#include "../lib/constants/StringConstants.h"
#include "../../lib/mapObjects/CGCreature.h"