]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.c
new tcmod: "tcmod page <width> <height> <time>", as poor man's animmap alternative...
[xonotic/darkplaces.git] / model_shared.c
index 7de6009601f20c4a33a8645710077781f141b976..ce2abdb8f82eda2bfafd5f8e54f8011e4e8225af 100644 (file)
@@ -1447,6 +1447,7 @@ void Mod_LoadQ3Shaders(void)
                                                                else if (!strcasecmp(parameter[1], "rotate"))          layer->tcmods[tcmodindex].tcmod = Q3TCMOD_ROTATE;
                                                                else if (!strcasecmp(parameter[1], "scale"))           layer->tcmods[tcmodindex].tcmod = Q3TCMOD_SCALE;
                                                                else if (!strcasecmp(parameter[1], "scroll"))          layer->tcmods[tcmodindex].tcmod = Q3TCMOD_SCROLL;
+                                                               else if (!strcasecmp(parameter[1], "page"))            layer->tcmods[tcmodindex].tcmod = Q3TCMOD_PAGE;
                                                                else if (!strcasecmp(parameter[1], "stretch"))
                                                                {
                                                                        layer->tcmods[tcmodindex].tcmod = Q3TCMOD_STRETCH;