void XonoticResolutionSlider_addResolution(entity me, float w, float h, float pixelheight) { me.addValue(me, strzone(sprintf(_("%dx%d"), w, h)), strzone(strcat(ftos(w), " ", ftos(h), " ", ftos(pixelheight)))); // FIXME (in case you ever want to dynamically instantiate this): THIS IS NEVER FREED }
void addResolutionNexuizResolutionSlider(entity me, float w, float h) { // FIXME (in case you ever want to dynamically instantiate this): THIS IS NEVER FREED var res = strzone(strcat(ftos(w), "x", ftos(h))); me.addValue(me, res, res); }
void addResolutionNexuizResolutionSlider(entity me, float w, float h, float cw, float ch) { me.addValue(me, strzone(strcat(ftos(w), "x", ftos(h))), strzone(strcat(ftos(w), " ", ftos(h), " ", ftos(cw), " ", ftos(ch)))); // FIXME (in case you ever want to dynamically instantiate this): THIS IS NEVER FREED }