1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00
Go to file
toneyisnow 01ca21ae67 Fix bug: LobbyScreen UI has a bug on the Difficulty toggle group.
Scenario: In LoadGame Lobby screen, the difficulty toggle group is showing multiple choices, but actually only one valid is working.

The reason is, in the Lobby screen Initialization code will set the difficulty = 0, and each time the player changes a map in the selection, the toggle group control is not resetting the difficulty buttons to disabled state.

How fix:
Add a new method to ToggleGroup class: setSelectedOnly, which will disable all other buttons and then set the selected button.

Note:
During the game loading time, the client is loading the map, and send a NetPack to server: LobbySetMap, and send a NetPack to Interface: LobbyUpdateState.
In the LobbyUpdateState it sets the map difficulty.
2020-01-21 01:09:08 -08:00
2019-07-02 21:01:01 +02:00
2016-11-01 22:12:57 +03:00
2018-10-29 16:30:50 +01:00
2019-07-30 11:00:44 +02:00
2016-11-01 21:26:09 +03:00
2018-05-26 16:19:23 +03:00
2019-01-17 10:50:56 +03:00
2019-01-17 10:50:56 +03:00
2019-03-28 16:56:51 +03:00
2019-05-26 17:55:22 +02:00
2009-01-09 18:38:08 +00:00
2020-01-01 12:54:23 +01:00
2018-10-29 16:30:50 +01:00

Travis Build Status AppVeyor Build status Coverity Scan Build Status

VCMI Project

VCMI is work-in-progress attempt to recreate engine for Heroes III, giving it new and extended possibilities.

Installation guides

To use VCMI you need to own original data files.

Building from source

Platform support is constantly tested by continuous integration and CMake configuration adjusted to generate nice looking projects for all major IDE. Following guides will help you to setup build environment with no effort:

VCMI Project source code is licensed under GPL version 2 or later. VCMI Project assets are licensed under CC-BY-SA 4.0. Assets sources and information about contributors are available under following link: [https://github.com/vcmi/vcmi-assets]

Copyright (C) 2007-2020 VCMI Team (check AUTHORS file for the contributors list)

Description
Open-source engine for Heroes of Might and Magic III
Readme 142 MiB
Languages
C++ 67.1%
JSON-with-Comments 24.5%
Inno Setup 3.4%
Java 1.5%
CMake 1.4%
Other 1.8%