HL/Q1BSP: tag textures starting with "scroll" to be able to scroll.
This commit is contained in:
parent
4b943f9a9e
commit
22b1bb2d41
1 changed files with 10 additions and 0 deletions
|
@ -7166,6 +7166,16 @@ void Shader_DefaultBSPQ1(parsestate_t *ps, const char *shortname, const void *ar
|
|||
);
|
||||
}
|
||||
|
||||
/* Half-Life requirement ~eukara */
|
||||
if (!builtin && !strncmp(shortname, "scroll", 6))
|
||||
{
|
||||
builtin = (
|
||||
"{\n"
|
||||
"fte_program defaultwall#SCROLL\n"
|
||||
"}\n"
|
||||
);
|
||||
}
|
||||
|
||||
if (builtin)
|
||||
Shader_DefaultScript(ps, shortname, builtin);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue