disable water reflections on pre-DX8ish hardware by default

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1971 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-05-14 21:39:49 +00:00
parent 2731900632
commit a550830379
4 changed files with 37 additions and 26 deletions
+2 -2
View File
@@ -155,7 +155,7 @@ struct mitemtextinput : mitemtext
mitemtextinput(gmenu *parent, char *text, char *value, char *action, char *hoveraction, color *bgcolor) : mitemtext(parent, text, action, hoveraction, bgcolor), defaultvalueexp(value), modified(false)
{
s_strcpy(input.buf, value);
};
}
virtual int width() { return text_width(input.buf) + text_width(text); }
@@ -194,7 +194,7 @@ struct mitemtextinput : mitemtext
modified = false;
}
virtual void select() { };
virtual void select() { }
void setdefaultvalue()
{