mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-31 09:11:06 +00:00
gl bmodel fullbrights implemented. I hope. I'll find out for sure when I get
home.
This commit is contained in:
parent
96aba78186
commit
ddef594b2e
7 changed files with 74 additions and 8 deletions
|
@ -36,9 +36,7 @@
|
|||
#define WARP_WIDTH 320
|
||||
#define WARP_HEIGHT 200
|
||||
|
||||
#ifndef MAX_LBM_HEIGHT // FIXME: get rid of this ifndef --KB
|
||||
#define MAX_LBM_HEIGHT 480
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
@ -118,9 +118,9 @@ extern PROC glVertexPointerEXT;
|
|||
// normalizing factor so player model works out to about
|
||||
// 1 pixel per triangle
|
||||
|
||||
#ifndef MAX_LBM_HEIGHT // FIXME: Make this ifndef go away.. --KB
|
||||
#define MAX_LBM_HEIGHT 480
|
||||
#endif
|
||||
#define MAX_LBM_HEIGHT 480
|
||||
|
||||
#define MAX_GLTEXTURES 2048
|
||||
|
||||
#define TILE_SIZE 128 // size of textures generated by R_GenTiledSurf
|
||||
|
||||
|
@ -215,6 +215,7 @@ extern cvar_t *gl_flashblend;
|
|||
extern cvar_t *gl_nocolors;
|
||||
extern cvar_t *gl_particles;
|
||||
extern cvar_t *gl_fb_models;
|
||||
extern cvar_t *gl_fb_bmodels;
|
||||
|
||||
extern int gl_lightmap_format;
|
||||
extern int gl_solid_format;
|
||||
|
|
|
@ -92,6 +92,7 @@ typedef struct texture_s
|
|||
char name[16];
|
||||
unsigned width, height;
|
||||
int gl_texturenum;
|
||||
int gl_fb_texturenum;
|
||||
struct msurface_s *texturechain; // for gl_texsort drawing
|
||||
int anim_total; // total tenths in sequence ( 0 = no)
|
||||
int anim_min, anim_max; // time for this frame min <=time< max
|
||||
|
@ -131,6 +132,7 @@ typedef struct glpoly_s
|
|||
{
|
||||
struct glpoly_s *next;
|
||||
struct glpoly_s *chain;
|
||||
struct glpoly_s *fb_chain;
|
||||
int numverts;
|
||||
int flags; // for SURF_UNDERWATER
|
||||
float verts[4][VERTEXSIZE]; // variable sized (xyz s1t1 s2t2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue