Add lookup table for Hedgewars key IDs instead of generating IDs on the fly
This makes sure the key IDs never change. Previous implementation abused SDL_GetScancodeName to generate the IDs programmatically, which was not reliable and explicitly adviced against in the SDL documentation <https://wiki.libsdl.org/SDL_GetScancodeName#Remarks>.
#!/bin/sh -
# Script to check locale files
# HOW TO USE:
# - Run this script in the tools/ directory.
# Result: Problems and missing translations in some locale files will be reported
# SYNTAX:
#
# ./check_locale_files.sh
#
./check_engine_locale_files.sh ALL 0
./check_lua_locale_files.sh
lua ./check_lua_locale_files.lua