X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Futil.qh;fp=qcsrc%2Fcommon%2Futil.qh;h=3900349e34058201cae76c9491a459ef977c58ee;hp=3304d0e7a455453b02615f44a5664bfaafe8cbdb;hb=71c3e176bdad701fd7c6f7e41fdc71077254b3aa;hpb=49dd3844a37bb91e3c48654dead867b15ce94638 diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index 3304d0e7a..3900349e3 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -133,6 +133,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