1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-07 00:58:39 +02:00
Commit Graph

70 Commits

Author SHA1 Message Date
e5a095a237 Remove main menu global. Now accessed via GameInstance 2025-03-01 21:16:41 +00:00
645b95ba02 Renamed LibClasses * VLC to GameLibrary * LIBRARY 2025-02-21 16:54:56 +00:00
ffd37a8fa8 Removed CGI in favor of VLC. Map handle is for now global variable 2025-02-21 16:53:14 +00:00
f657e85305 Integrated CClientState into GameEngine class 2025-02-21 16:53:14 +00:00
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
de06de06b5 refactor backgrounds (allow resolution change) 2025-02-08 20:53:32 +01:00
4912e92f33 Try to fix possible crash on statistics window 2025-01-19 12:40:17 +00:00
38c0cd138b fix music 2024-12-21 01:38:29 +01:00
9fbeacb688 Fix possible memory corruption in video player
Fixes two bugs, one was definitely happening, and 2nd one that is causing
undefined behavior and may work only in some std implementations

- VideoPlayer would attempt to access subtitles widget after VideoPlayer
itself was destroyed in onPlaybackFinished call
- std::function was destroyed from a function that is being called by
it. Replaced with 1-method interface to avoid usage of std::function in
this scenario
2024-12-07 15:37:03 +00:00
a43475042f code review 2024-09-18 22:10:25 +02:00
00692888df sonar cloud fixes 2024-08-15 23:09:04 +02:00
e1fdac42fd code review 2024-08-14 21:50:53 +02:00
9e9a6f1c5f Merge branch 'develop' into extended_statistic 2024-08-13 00:49:51 +02:00
37283e51c3 basic diagram 2024-08-12 20:14:36 +02:00
79c55bc898 Merge pull request #4425 from IvanSavenko/ui_cleanup
Remove old code from UI system
2024-08-12 17:16:03 +03:00
c9a3ea28bf enableUiEnhancements flag 2024-08-12 01:10:47 +02:00
1e298534ae shortcut 2024-08-12 01:07:58 +02:00
299ee35c48 extended statistic: Window 2024-08-11 22:44:16 +02:00
f42f1de347 extended statistic: Button and data transfer 2024-08-11 22:21:13 +02:00
9fba3d97f1 Renamed & unified OBJECT_CONSTRUCTION macro set 2024-08-09 15:30:04 +00:00
9ceb1c567d highscore refactoring 2024-08-02 19:37:46 +02:00
939dd62491 change variable name 2024-07-29 20:43:41 +02:00
53c0d20a57 fix campaign highscores 2024-07-26 20:36:52 +02: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
6b8f94e6e7 Merge remote-tracking branch 'vcmi/master' into develop 2024-07-11 17:43:44 +00:00
e142776957 highscore text len 2024-06-29 14:44:29 +02:00
3bea383b59 Merge branch 'vcmi/beta' into 'vcmi/develop' 2024-06-21 12:58:36 +00:00
ffa5c03515 Load & decode high score creatures on first access 2024-06-17 17:08:41 +00:00
b8beb4fb13 Fixes for various minor issues detected by Sonar Cloud 2024-06-01 11:48:30 +00:00
df83fa33a1 Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-31 09:34:21 +00:00
d1aa4ecd10 Merge pull request #4013 from IvanSavenko/shortcuts_additions
[1.5.2] Shortcuts additions
2024-05-21 14:18:55 +03:00
68883e0b29 Fixed disabling of text input on closing high scores 2024-05-19 12:39:59 +00:00
88fbb7ee71 Most of buttons created in cpp now have assigned shortcut 2024-05-19 09:12:36 +00:00
c676b999e5 use showAll 2024-05-18 20:21:47 +02:00
fc50482b43 background for multiple windows 2024-05-18 19:58:51 +02:00
540bd16e7b Fixed video widget playback 2024-05-16 16:50:36 +00:00
d08c7b7b8f Added VideoWidget to hide implementation details 2024-05-15 17:05:16 +00:00
d27b854cb1 Reorganized music, video and sound players:
- All XXXplayers are now in client/media directory
- Reogranized code on one class per file basis
- Extracted interfaces from handlers. Handlers now implement
corresponding interface.
- CCS now only stores pointer to an interface
2024-05-15 17:05:12 +00:00
7790b8969d Simplify TextInput constructor 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
af671d109f Made graphical primitive-based UI more configurable 2024-02-18 20:48:45 +02:00
55b504792e Implemented basic version of login window and persistent connection on
client
2024-01-19 23:49:59 +02:00
f3277b7953 Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
9299eaed36 code review 2023-12-16 21:10:27 +01:00
56562ad8dc date time format 2023-12-16 18:57:38 +01:00
4a24da3804 Merge pull request #3114 from Laserlicht/fix-highscore
fix high scores screen
2023-11-03 15:51:37 +02:00
8a9f10ec3a fix asset failures 2023-10-31 22:05:22 +01:00
f01ec55d21 Use the "nullptr" literal.
"nullptr" should be used to denote the null pointer
2023-10-27 18:18:59 +00:00
c1707bcc71 fix datatype 2023-10-27 18:52:25 +02:00
89a39fcfc0 code review 2023-10-08 20:27:56 +02:00