1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

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

View File

@@ -11,8 +11,6 @@
#include "StdInc.h"
#include "CMessage.h"
#include "../../lib/TextOperations.h"
#include "../gui/CGuiHandler.h"
#include "../render/CAnimation.h"
#include "../render/Canvas.h"
@@ -27,6 +25,8 @@
#include "../widgets/TextControls.h"
#include "../windows/InfoWindows.h"
#include "../../lib/texts/TextOperations.h"
constexpr int RIGHT_CLICK_POPUP_MIN_SIZE = 100;
constexpr int SIDE_MARGIN = 11;
constexpr int TOP_MARGIN = 20;