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 update all frontend locale files.
# HOW TO USE:
# - Run this script in the tools/ directory.
# Result: All .ts files in share/hedgewars/Data/Locale will be updated.
lupdate ../QTfrontend -ts ../share/hedgewars/Data/Locale/hedgewars_*.ts