1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-04-26 20:02:20 +02:00

29 Commits

Author SHA1 Message Date
Boris Nagaev b05c0f8e6d Normalize local relative include directives
Normalize quoted local relative include directives to remove redundant
path segments while preserving relative includes.

This applies the normalizer across the tree and updates 108 includes in
64 files, including cases where paths inside lib/* redundantly used
../../lib/... and now correctly use ../... .

These paths compiled before because include resolution normalized them,
but they were longer and harder to audit.
2026-03-26 20:15:25 -05:00
Laserlicht d7ba132fc1 remove todo 2025-09-28 21:36:46 +02:00
Laserlicht 0cb9eb47d5 Merge branch 'vcmi:develop' into gen_res_assets 2025-09-28 21:05:19 +02:00
Laserlicht 8f00a1221e add scrolling for resources 2025-09-21 16:28:19 +02:00
Laserlicht 4e8556ef64 simplified translation 2025-09-16 23:11:35 +02:00
Laserlicht d808bd6412 introduce toResourceType 2025-09-15 00:08:18 +02:00
Laserlicht 40062d7755 resource translation 2025-09-14 16:17:55 +02:00
Ivan Savenko 35644da2b7 Reogranize callback-related classes on 1 file = 1 class basis 2025-05-12 22:07:09 +03:00
Ivan Savenko f70ad2c15b Reorganized artifact-related classes
- files now generally contain only 1 class (except for tightly coupled
classes)
- files are now located in lib/entities/artifact directory
- removed excessive includes

No changes to functionality
2025-04-29 13:29:08 +03:00
Ivan Savenko 63d00b080e Removed pointer to army from StackInstance 2025-04-27 14:57:30 +03:00
Ivan Savenko 645b95ba02 Renamed LibClasses * VLC to GameLibrary * LIBRARY 2025-02-21 16:54:56 +00:00
Ivan Savenko 156de5b17e Added GameInstance class
- available as global GAME
- integrates LOCPLINT (CPlayerInterface)
- integrates CGI->mh (CMapHandler)
- integrates CSH (CServerHandler)
2025-02-21 16:54:06 +00:00
Ivan Savenko ffd37a8fa8 Removed CGI in favor of VLC. Map handle is for now global variable 2025-02-21 16:53:14 +00:00
Ivan Savenko cacceda950 Renamed CGuiHandler to GameEngine
- class CGuiHandler is now called GameEngine to better describe its
functionality
- renamed global GH to more clear ENGINE
- GH/ENGINE is now unique_ptr to make construction / deconstruction
order more clear and to allow interface / implementation split
- CGuiHandler.cpp/h is now called GameEngine.cpp/h and located in root
directory of client dir
2025-02-21 16:53:13 +00:00
SoundSSGood 7955960901 CTradeableItem refactoring 2024-10-22 01:54:00 +03:00
Ivan Savenko 9fba3d97f1 Renamed & unified OBJECT_CONSTRUCTION macro set 2024-08-09 15:30:04 +00:00
Ivan Savenko 1aa391fdf8 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
2024-07-20 12:55:17 +00:00
SoundSSGood 2cdf2b4083 fixed missed trader text 2024-03-25 17:38:43 +02:00
SoundSSGood c6c213c454 CMarketBase::hRight CMarketBase::hLeft removed. Final changes 2024-03-25 12:56:46 +02:00
SoundSSGood cc14f85445 Refactoring. Regressions fixing. 2024-03-25 12:55:05 +02:00
SoundSSGood 433d55cac3 Market window unified 2024-03-25 12:44:34 +02:00
SoundSSGood ae8d70748b Altar artifacts widget refactoring 2024-03-25 12:44:33 +02:00
SoundSSGood 4839891de4 Cleanup & refactoring 2024-03-25 12:44:33 +02:00
SoundSSGood bb7137545f Artifacts market widget 2024-03-25 12:44:33 +02:00
SoundSSGood 4e0ea7355b Transfer resources widget 2024-03-25 12:44:33 +02:00
SoundSSGood 4d3bf882ed market resources widget 2024-03-25 12:44:33 +02:00
SoundSSGood 6b658bf9c1 freelancer guild widget 2024-03-25 12:44:33 +02:00
SoundSSGood b840cf3650 suggested changes 2024-01-11 12:46:32 +02:00
SoundSSGood fdf60b2151 moved to widgets/markets 2024-01-09 20:21:09 +02:00