X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Futil.qh;h=2033aa94b7eeeaa7a226ac516757cfbac84cd0cd;hp=f20cbd57a0e05701a3668f4ebebadc7d8a9c842f;hb=45d8904a100765555e622598a39967963733df1d;hpb=64c394a1bbc01e778c8ee64caf47f9d9f9a575ac diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index f20cbd57a0..2033aa94b7 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -156,6 +156,9 @@ float get_model_parameters_fixbone; string get_model_parameters_desc; float get_model_parameters(string mod, float skn); // call with string_null to clear; skin -1 means mod is the filename of the txt file and is to be split +ERASEABLE +string translate_key(string key); + // x-encoding (encoding as zero length invisible string) // encodes approx. 14 bits into 5 bytes of color code string const float XENCODE_MAX = 21295; // 2*22*22*22-1