1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
645b95ba02 Renamed LibClasses * VLC to GameLibrary * LIBRARY 2025-02-21 16:54:56 +00:00
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
ffd37a8fa8 Removed CGI in favor of VLC. Map handle is for now global variable 2025-02-21 16:53:14 +00:00
cca4c0888c In-memory assets generation
All assets generation (large spellbook, terrain animations, etc) are now
done in memory and used as it, without saving to disk.

This should slightly improve load times since there is no encode png /
decode png, and should help with avoiding strange bug when vcmi fails to
load recently saved assets.

If needed, such assets can be force-dumped on disk using already
existing console command
2025-01-30 22:21:38 +00:00
c6f0f8de03 generate assets only when necessary 2024-08-29 00:37:39 +02:00
b7391f49f6 Merge branch 'vcmi/master' into 'vcmi/develop' 2024-08-05 10:36:10 +00:00
2c42737b28 Fix infinitely updating simultaneous turns slider 2024-08-02 12:20:14 +00:00
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
eb96f42ba0 fixes graphical glitch when there is no savegame 2024-05-15 21:07:47 +02:00
93c3cf372b Reworked TextInput to allow text overflow support 2024-05-15 12:45:45 +00:00
1abe9007bc Moved CTextInput to a separate file. No changes in logic 2024-05-15 12:45:45 +00:00
07a06ea08a block for guests 2024-05-14 00:49:33 +02:00
941c1576c5 improve extraoptions 2024-05-14 00:33:30 +02:00
c8b6d6a684 add extra button for campaigns 2024-02-07 21:40:56 +01:00
0a4b5dbe10 code review 2024-01-21 18:12:46 +01:00
883ea23495 moved to gameconfig 2024-01-20 17:54:15 +01:00
d6172a9c4c disable buttons while loading (not changable) 2024-01-20 13:42:37 +01:00
4813179abb Invite hero setting 2024-01-20 01:24:34 +01:00
bd5682ecc3 Merge remote-tracking branch 'vcmi/master' into develop 2024-01-19 13:49:54 +02:00
fc163898d9 Fixed delayed updates in timer editing, limited to 24 hours at most 2024-01-13 22:31:26 +02:00
cb9c4bbaf0 unlimited replay option 2023-12-28 20:48:19 +01:00
c471b626a2 code review 2023-12-27 15:26:08 +01:00
fc4827c89c option for allowing cheats 2023-12-27 14:39:35 +01:00
edbe25b33a Updated layout and localizations 2023-12-07 16:36:44 +02:00
861c53059e Added callbacks for preset dropdowns 2023-12-07 13:57:16 +02:00
653304b004 Implemented accumulating timers, rename creature timer to unit timer 2023-12-07 13:57:16 +02:00
d1ae5bbee5 Implement AI simturns checkbox 2023-11-13 19:06:56 +02:00
c5eeaa6526 Added non-linear slider for better simturn duration selection 2023-11-13 19:06:56 +02:00
7d54f6a9c0 Implemented basic support for plural forms in translations 2023-11-13 19:06:56 +02:00
e160b8557b Implement min/max simturns callbacks 2023-11-13 19:06:56 +02:00
32633d5f52 Initial version of Turn Options tab screen 2023-11-13 19:06:56 +02:00
3268ebe27c Moved some code from OptionTab to separate class, OptionTabBase 2023-11-13 19:06:56 +02:00