rust/hedgewars-engine-messages/src/lib.rs
author Wuzzy <Wuzzy2@mail.ru>
Thu, 25 Apr 2019 19:42:19 +0200
changeset 14853 769189675b6c
parent 14281 f0c0d2d217c3
child 15305 ae8e14d14596
permissions -rw-r--r--
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>.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14230
ab1ef7074e07 Rearrange code
unC0Rr
parents: 14227
diff changeset
     1
pub mod messages;
ab1ef7074e07 Rearrange code
unC0Rr
parents: 14227
diff changeset
     2
pub mod parser;