1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-11 01:10:26 +02:00
Commit Graph

45 Commits

Author SHA1 Message Date
e25c8c21e0 fix buggy multiplayer selection 2024-01-13 21:51:56 +01:00
8f2f5344a9 correct starting bonus in selection windows 2024-01-07 17:25:33 +01:00
3268ebe27c Moved some code from OptionTab to separate class, OptionTabBase 2023-11-13 19:06:56 +02:00
0a1578b797 Apply suggestions from code review
Co-authored-by: Nordsoft91 <nordsoft@yahoo.com>
2023-10-16 21:24:59 +02:00
b2396a61fa code review 2023-10-14 13:34:39 +02:00
7217992898 code review 2023-10-14 12:08:38 +02:00
0c6b1ca3c8 possibility to change name 2023-10-13 23:04:35 +02:00
037efdf5fc Improvements to type safety of Identifier class
- Constructor of Identifier from integer is now explicit
- Lobby hero/town selection now uses Identifiers instead of int's
- Removed serialization workaround for hero portraits
- Added dummy objects for custom heroes portraits for ID resolver to use
- HeroInstance now stores portrait ID only in case of custom portrait
- Fixed loading of campaign heroes portraits on RoE maps
2023-10-04 18:05:23 +03:00
ff96b1af0a initial hero overview 2023-09-17 00:32:10 +02:00
823ffa7a07 Always use ResourcePath for referencing images and animations 2023-09-04 18:22:34 +03:00
b6000841f1 code review 2023-08-29 21:08:18 +02:00
196cd41e35 fix multiplayer 2023-08-29 02:04:32 +02:00
44ece25042 disable unavailable heroes 2023-08-29 00:14:49 +02:00
b8ab64f448 Make options tab configurable 2023-08-23 19:29:50 +04:00
52ed824100 add sound; possibility to click outside to close 2023-08-20 13:05:25 +02:00
af347242b4 fix compile error 2023-08-17 20:34:31 +02:00
ac64b9f2b5 fix 2023-08-17 18:52:00 +02:00
077ec65bf6 simplify 2023-08-17 18:15:42 +02:00
e61dc2ec23 constants 2023-08-17 17:54:53 +02:00
e1e16018d1 code review first batch 2023-08-17 17:29:31 +02:00
b2c8cab9f1 use playerColored 2023-08-14 22:22:43 +02:00
079e8ba1ba naming 2023-08-14 00:40:12 +02:00
ae63088564 outline; squared 2023-08-13 22:58:49 +02:00
e66a41e90b simplify 2023-08-13 19:23:27 +02:00
c14448ee32 change design 2023-08-13 15:09:48 +02:00
f71f4a874b Grid and Activaed 2023-08-12 22:59:45 +02:00
b73f9d6e30 calculate size 2023-08-12 21:50:40 +02:00
3d08ecf024 rename 2023-08-12 20:02:36 +02:00
8bb7fd31cd basically running... 2023-08-12 19:33:25 +02:00
481cd89dc8 drawing 2023-08-12 18:20:44 +02:00
c40c747ccf saving states 2023-08-12 17:46:35 +02:00
876dc28e48 rework 2023-08-12 16:49:42 +02:00
bc4d331888 Title 2023-08-12 15:19:40 +02:00
0c4f4daf70 base rendering 2023-08-12 15:05:26 +02:00
b4f6c7abab big images; basic heroes support 2023-08-12 13:19:58 +02:00
d0522b0fee initial window 2023-08-12 02:41:48 +02:00
ca889a5c2a Replaced clickLeft with clickPressed clickReleased methods 2023-07-08 14:33:04 +03:00
d4aa778547 Replaced clickRight event with showPopupWindow/closePopupWindow 2023-06-20 19:58:05 +03:00
0e36a3ab5a Use Scrollable class for all appropriate locations 2023-06-05 19:18:33 +03:00
57df1c3e0d Implemented gesture for town/hero lists and town/hero selection 2023-06-05 19:12:24 +03:00
360bf48031 Implemented panning/swiping gesture for sliders 2023-06-05 19:09:56 +03:00
2a30eccb2d Allow mouse wheel for astart options setup (town/hero/bonus) 2023-06-05 19:00:57 +03:00
de769a04d6 Remove unnecessary includes from headers 2023-05-31 23:01:57 +03:00
a65feb29f5 Fixed: Advanced options window issues 2021-11-13 17:02:11 +02:00
ac66fc7f42 Full rework of pre-game interface and networking
New features for players:
* Loading for multiplayer. Any save could be used for multiplayer.
* Restart for multiplayer. All clients will restart together.
* Loading from single save.
* Hotseat mixed with network game. Multiple players per client.
* Now connection to server could be cancelled.
* Return to menu on disconnections instead of crashes.
* Restoring of last selected map, save or campaign on next run.

TLDR on important changes in engine code:
* UI: work with server separated from UI
* UI: all explitic blitting replaced with IntObject's
* UI: all new code use smart pointers instead of DISPOSE
* Gameplay always start through lobby controlled by server.
* Threads receiving netpacks now shared for lobby and gameplay.
* Campaigns: heroes for crossover now serialized as JsonNode.
2018-04-04 14:24:26 +07:00