mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
[model] Move ANIM_CYCLE into model.h
Need it in the vulkan renderer to undo the scaling
This commit is contained in:
parent
847b3199d3
commit
77505abd94
2 changed files with 1 additions and 1 deletions
|
@ -90,6 +90,7 @@ typedef struct instsurf_s {
|
||||||
float *color;
|
float *color;
|
||||||
} instsurf_t;
|
} instsurf_t;
|
||||||
|
|
||||||
|
#define ANIM_CYCLE 2
|
||||||
typedef struct texture_s {
|
typedef struct texture_s {
|
||||||
char name[16];
|
char name[16];
|
||||||
unsigned width, height;
|
unsigned width, height;
|
||||||
|
|
|
@ -362,7 +362,6 @@ Mod_LoadTextures (model_t *mod, bsp_t *bsp)
|
||||||
Sys_Error ("Bad animating texture %s", tx->name);
|
Sys_Error ("Bad animating texture %s", tx->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define ANIM_CYCLE 2
|
|
||||||
// link them all together
|
// link them all together
|
||||||
for (int j = 0; j < max; j++) {
|
for (int j = 0; j < max; j++) {
|
||||||
tx2 = anims[j];
|
tx2 = anims[j];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue