return (GL_CheckExtension("GL_EXT_texture_compression_s3tc") && GL_CheckExtension("GL_ARB_texture_compression"));
}
-void setZonedTooltip(entity e, string theTooltip, string theCvar)
-{
- if(theTooltip == "") // no tooltip, use cvar description then
- {
- if(theCvar != "" && prvm_language == "en")
- {
- string t = cvar_description(theCvar);
- if(t != "" && t != "custom cvar")
- theTooltip = t;
- }
- }
- else if(theTooltip == "-") // no cvar description as tooltip
- {
- theTooltip = string_null;
- }
-
- if(e.tooltip)
- strunzone(e.tooltip);
- e.tooltip = (theTooltip != "") ? strzone(theTooltip) : string_null;
-}
-
-void clearTooltip(entity e)
-{
- setZonedTooltip(e, string_null, string_null);
-}
-
.entity parent, firstChild, nextSibling;
void forAllDescendants(entity root, void(entity, entity) funcPre, void(entity, entity) funcPost, entity pass)
{
setDependent_Check(e);
}
+void setZonedTooltip(entity e, string theTooltip, string theCvar)
+{
+ if(theTooltip == "") // no tooltip, use cvar description then
+ {
+ if(theCvar != "" && prvm_language == "en")
+ {
+ string t = cvar_description(theCvar);
+ if(t != "" && t != "custom cvar")
+ theTooltip = t;
+ }
+ }
+ else if(theTooltip == "-") // no cvar description as tooltip
+ {
+ theTooltip = string_null;
+ }
+
+ if(e.tooltip)
+ strunzone(e.tooltip);
+ e.tooltip = (theTooltip != "") ? strzone(theTooltip) : string_null;
+}
+
+void clearTooltip(entity e)
+{
+ setZonedTooltip(e, string_null, string_null);
+}
+
// URI SYSTEM ////////////////////////////////////////////////////////
float _Nex_ExtResponseSystem_Queried;