mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
32ece9513d7833dd5f09f08fa7178e19730e726f
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
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.
Links
- Homepage: http://vcmi.eu/
- Wiki: http://wiki.vcmi.eu/
- Forums: http://forum.vcmi.eu/
- Bugtracker: http://bugs.vcmi.eu/
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/
Copyright and license
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)
Languages
C++
67.3%
JSON-with-Comments
24.5%
Inno Setup
3.1%
Java
1.6%
CMake
1.4%
Other
1.8%