Skip to content

Commit 52f7cc8

Browse files
committed
- new flare types:
9 = ue1-ish, does a trace check only, always a delayed fade 10 = deng-ish 11 = deng-ish (modeled after a dec 2000 ver) - flaretype command gives shaders the power to set a flare type and scale the flare - WIP water ripple system - increased MAX_SHADER_DEFORMS to 6 - internal particle textures, internal flare texture - add more forced GL_LUMINANCE loading for add particle/flare textures - trying to refactor map2-8/etc - clean up vres residue - making groundwork for future deformvertex/tcmod/tcgen plans
1 parent 95c6342 commit 52f7cc8

13 files changed

Lines changed: 2368 additions & 72 deletions

File tree

code/client/cl_main.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3101,9 +3101,6 @@ void CL_ShutdownRef( void ) {
31013101
#endif
31023102
}
31033103

3104-
3105-
extern int vresWidth;
3106-
extern int vresHeight;
31073104
/*
31083105
============
31093106
CL_InitRenderer

code/qcommon/q_shared.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,5 +1467,3 @@ char *Com_SkipTokens( char *s, int numTokens, char *sep )
14671467
return s;
14681468
}
14691469

1470-
int vresWidth;
1471-
int vresHeight;

code/qcommon/q_shared.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,10 +1403,6 @@ typedef enum _flag_status {
14031403
} flagStatus_t;
14041404

14051405

1406-
// leilei - virtual res
1407-
extern int vresWidth;
1408-
extern int vresHeight;
1409-
14101406
#define MAX_GLOBAL_SERVERS 4096
14111407
#define MAX_OTHER_SERVERS 128
14121408
#define MAX_PINGREQUESTS 32

code/renderer_oa/tr_backend.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) {
11211121
RB_ShadowFinish();
11221122

11231123
// add the particles
1124-
//R_AddParticles ();
1124+
11251125
R_RenderParticles ();
11261126
RB_RenderFlashblends();
11271127

@@ -1148,8 +1148,6 @@ RB_SetGL2D
11481148
11491149
================
11501150
*/
1151-
extern int vresWidth;
1152-
extern int vresHeight;
11531151

11541152
void RB_SetGL2D (void) {
11551153

@@ -1267,8 +1265,6 @@ void RE_StretchRaw (int x, int y, int w, int h, int cols, int rows, const byte *
12671265
qglEnd ();
12681266
}
12691267

1270-
extern int force32upload;
1271-
12721268
void RE_UploadCinematic (int w, int h, int cols, int rows, const byte *data, int client, qboolean dirty) {
12731269

12741270
GL_Bind( tr.scratchImage[client] );

code/renderer_oa/tr_bloom.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ int leifxmode;
7878
int leifxpass;
7979
int fakeit = 0;
8080

81-
extern int vresWidth;
82-
extern int vresHeight;
8381
/*
8482
==============================================================================
8583

0 commit comments

Comments
 (0)