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

18 Commits

Author SHA1 Message Date
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
668bf63fc0 Remove access to internal surface of Canvas 2025-01-21 21:15:21 +00:00
a29f455625 fix video crash with subtitles 2024-12-11 21:31:00 +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
543185a530 prescale support for video 2024-11-29 23:33:28 +01:00
bb73a35412 code review + pause handling 2024-10-30 00:35:50 +01:00
8b427c3989 use json format 2024-10-16 22:47:38 +02:00
54542c54b3 working subtitles 2024-10-16 03:48:14 +02:00
4d46a2084d basic subtitle rendering 2024-10-16 02:36:26 +02:00
8fc3fe3cc3 scaling 2024-09-12 23:06:33 +02:00
822fa61bf2 intro rework 2024-09-12 22:28:45 +02:00
540bd16e7b Fixed video widget playback 2024-05-16 16:50:36 +00:00
75941a6869 Unified audio and video handling of ffmpeg 2024-05-15 17:05:17 +00:00
3f8781db69 Fixed sound extraction, slightly better approach to ffmpeg 2024-05-15 17:05:17 +00:00
661a66121b Cleaned up IVideoPlayed API to remove global state 2024-05-15 17:05:17 +00:00
d08c7b7b8f Added VideoWidget to hide implementation details 2024-05-15 17:05:16 +00:00