mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
Tweak qsextensions.qc slightly to try to work around DP-defined weirdness.
This commit is contained in:
parent
fdb19a1dac
commit
d6fd6076b8
1 changed files with 1 additions and 1 deletions
|
@ -7136,7 +7136,7 @@ static struct
|
|||
{"drawsetcliparea", PF_NoSSQC, PF_cl_drawsetclip, 324, PF_cl_drawsetclip,458, D("void(float x, float y, float width, float height)", "Specifies a 2d clipping region (aka: scissor test). 2d draw calls will all be clipped to this 2d box, the area outside will not be modified by any 2d draw call (even 2d polygons).")},// (EXT_CSQC_???)
|
||||
{"drawresetcliparea",PF_NoSSQC, PF_cl_drawresetclip,325, PF_cl_drawresetclip,459, D("void(void)", "Reverts the scissor/clip area to the whole screen.")},// (EXT_CSQC_???)
|
||||
{"drawstring", PF_NoSSQC, PF_cl_drawstring, 326, PF_cl_drawstring,467, D("float(vector position, string text, vector size, vector rgb, float alpha, float drawflag)", "Draws a string, interpreting markup and recolouring as appropriate.")},// #326
|
||||
{"stringwidth", PF_NoSSQC, PF_cl_stringwidth, 327, PF_cl_stringwidth,468, D("float(string text, float usecolours, optional vector fontsize)", "Calculates the width of the screen in virtual pixels. If usecolours is 1, markup that does not affect the string width will be ignored. Will always be decoded as UTF-8 if UTF-8 is globally enabled.\nIf the char size is not specified, '8 8 0' will be assumed.")},// EXT_CSQC_'DARKPLACES'
|
||||
{"stringwidth", PF_NoSSQC, PF_cl_stringwidth, 327, PF_cl_stringwidth,468, D("float(string text, float usecolours, vector fontsize='8 8')", "Calculates the width of the screen in virtual pixels. If usecolours is 1, markup that does not affect the string width will be ignored. Will always be decoded as UTF-8 if UTF-8 is globally enabled.\nIf the char size is not specified, '8 8 0' will be assumed.")},// EXT_CSQC_'DARKPLACES'
|
||||
{"drawsubpic", PF_NoSSQC, PF_cl_drawsubpic, 328, PF_cl_drawsubpic,369, D("void(vector pos, vector sz, string pic, vector srcpos, vector srcsz, vector rgb, float alpha, optional float drawflag)", "Draws a rescaled subsection of an image to the screen.")},// #328 EXT_CSQC_'DARKPLACES'
|
||||
// {"drawrotpic", PF_NoSSQC, PF_FullCSQCOnly, 0, PF_NoMenu, D("void(vector pivot, vector mins, vector maxs, string pic, vector rgb, float alpha, float angle)", "Draws an image rotating at the pivot. To rotate in the center, use mins+maxs of half the size with mins negated. Angle is in degrees.")},
|
||||
// {"drawrotsubpic", PF_NoSSQC, PF_FullCSQCOnly, 0, PF_NoMenu, D("void(vector pivot, vector mins, vector maxs, string pic, vector txmin, vector txsize, vector rgb, vector alphaandangles)", "Overcomplicated draw function for over complicated people. Positions follow drawrotpic, while texture coords follow drawsubpic. Due to argument count limitations in builtins, the alpha value and angles are combined into separate fields of a vector (tip: use fteqcc's [alpha, angle] feature.")},
|
||||
|
|
Loading…
Reference in a new issue