1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-28 03:57:02 +02:00
Vadim Markovtsev 32ece9513d Fix 2331 save menu keyboard event leak
The control flows the following way:
- we receive SDL_KEYDOWN with letter 's' in the adventure map interface
- save dialog opens
- text input receives focus
- text input enables receiving SDL_KeyboardEvent-s which go between DOWN and UP
- the button on keyboard becomes UP (the menu opens very fast)
- text input receives SDL_KeyboardEvent and inserts 's'
- text input receives SDL_KEYUP

So the apparent fix is to open the save dialog on SDL_KEYUP event
2016-01-28 10:26:40 +03:00
2014-09-04 20:59:07 +03:00
2015-06-01 21:57:43 +02:00
2016-01-09 21:23:55 +01:00
2015-12-24 01:37:16 +03:00
2016-01-21 10:58:43 +03:00
2009-01-09 18:38:08 +00:00
2015-02-14 19:15:34 +03:00
2013-09-02 17:26:52 +00:00
2013-09-02 17:26:52 +00:00
2016-01-27 15:21:29 +03:00
2015-10-17 09:23:28 +03:00

VCMI Project

VCMI is work-in-progress attempt to recreate engine for Heroes III, giving it new and extended possibilities. To use VCMI you need to own original data files.

Installation

For installation of latest release see release announcement on http://vcmi.eu/

For building from source see project wiki at http://wiki.vcmi.eu/

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-2015 VCMI Team (check AUTHORS file for the contributors list)

Description
Open-source engine for Heroes of Might and Magic III
Readme 124 MiB
Languages
C++ 69.9%
JSON-with-Comments 24.7%
Java 1.7%
C 1.6%
CMake 1.5%
Other 0.5%