Commit Graph
72 Commits
Author SHA1 Message Date
Laserlicht 66f377f14e netpackages 2025-10-25 20:41:39 +02:00
Laserlicht fcdc100761 introduce BattleOnlyModeStartInfo for multiplayer 2025-10-25 19:06:28 +02:00
Michał Zaremba ea261ae48f Rework handling some errors and uncought exceptions 2025-10-01 11:00:56 +02:00
Ivan Savenko 52da332640 GameHandler now uses GameConnectionID instead of connection pointers 2025-07-19 18:04:20 +03:00
Ivan Savenko 58de180083 Split CConnection into GameConnection and IGameConnection classes 2025-07-19 18:04:20 +03:00
Ivan Savenko 508c54c23a Fix game startup 2025-05-23 15:18:07 +03:00
Ivan Savenko ff0f5290f7 CClient no longer inherits from CGameInfoCallback 2025-05-23 14:17:43 +03: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 f657e85305 Integrated CClientState into GameEngine class 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
Laserlicht 0db8794d8b hide screen also for second custom campaign scen. 2024-12-27 21:40:09 +01:00
Laserlicht 7dba34c16e campaign list workaround 2024-12-27 21:22:45 +01:00
Laserlicht 164aac4db2 refresh list 2024-11-01 00:52:19 +01:00
Laserlicht 21c3cf0960 rename and move window class 2024-09-12 23:35:21 +02:00
Laserlicht 2fbdeb3a5d skippable video intro 2024-09-12 23:23:00 +02:00
Laserlicht 8fc3fe3cc3 scaling 2024-09-12 23:06:33 +02:00
Laserlicht 822fa61bf2 intro rework 2024-09-12 22:28:45 +02:00
Laserlicht 45625f0355 added AB intro; play only when resource exists 2024-09-06 22:57:53 +02:00
Laserlicht 6d9385b8bd outro for RoE 2024-09-05 21:31:17 +02:00
Laserlicht 46872b764b integrate campaign intro 2024-08-31 17:57:27 +02:00
Laserlicht 9c2a5f6baa window 2024-08-31 17:16:42 +02: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
Ivan Savenko 888149c6f6 Implemented simple versioning system for multiplayer 2024-05-29 20:08:32 +00:00
Laserlicht 1f209fd94a use MetaString 2024-05-02 21:03:23 +02:00
Ivan Savenko 4ed961fb96 Partially unified handling of pregame and in-game chats 2024-03-27 13:10:55 +02:00
Ivan Savenko 3023db6f0f Store and show correct player room limit in UI 2024-03-27 13:10:55 +02:00
Ivan Savenko 07d201502e Refactoring of button class to prepare for configurable button 2024-02-29 13:57:25 +02:00
Ivan Savenko 38ba42ef7a Rename 'c' to 'logicConnection' 2024-02-11 16:26:27 +02:00
Ivan Savenko d4bedd8d8d Fixed handling of match server crash 2024-02-04 19:58:09 +02:00
Ivan Savenko bd4c7e3ac0 Added LobbyPrepareStartGame pack to replace old workarounds 2024-02-03 19:57:23 +02:00
Ivan Savenko 2c2bec791c Fixes and cleanup of game client network shutdown and restart 2024-02-03 19:27:04 +02:00
Ivan Savenko c5c46a7c9a Implemented connecting to server via proxy 2024-01-30 21:31:41 +02:00
Ivan Savenko eaca128c99 Code cleanup 2024-01-26 19:15:57 +02:00
Ivan Savenko 388ca6e776 Added list of active accounts and rooms to UI. Added room creation logic 2024-01-26 16:32:36 +02:00
Ivan Savenko ffa58152ac Client-side support for hosting game server via lobby 2024-01-19 23:49:59 +02:00
Ivan Savenko 0196707083 Fix UUID initialization on client 2024-01-19 23:49:59 +02:00
Ivan Savenko 5694777a96 Simplified connection logic 2024-01-19 23:49:59 +02:00
Ivan Savenko 22f0ca67c6 Fix connection to game lobby & map load 2024-01-19 23:49:59 +02:00
Ivan Savenko 0a1153e1c6 Switch client-server communication to new API 2024-01-19 23:49:59 +02:00
Laserlicht a3e27b859e extra option tab 2023-12-28 19:41:01 +01:00
Ivan Savenko fe5918ebf5 Clients will now switch to turn options when host does so 2023-12-22 18:40:28 +02:00
Ivan Savenko d8b601e759 Fix crash on disconnecting 2023-12-22 14:03:05 +02:00
Ivan Savenko b88a8da4e8 Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
nordsoft 4691907f9c Show root mods only 2023-09-21 22:28:29 +02:00
Ivan Savenko f8541d0ae4 Merge branch 'vcmi/master' into 'vcmi/develop' 2023-09-15 13:59:02 +03:00
Ivan Savenko 538665fe42 Fix "Start game" blocking status:
- Start game is now initially blocked
- Receiving valid startInfo from server will unlock button
2023-09-12 21:15:15 +03:00
nordsoft 6efccb2503 Fix removing loading screen 2023-08-24 15:01:43 +04:00
nordsoft dfaf778d16 Redesign loading solution 2023-08-22 20:10:20 +04:00
nordsoft a60d503078 Fix progress bar 2023-08-21 19:21:32 +04:00