attempted v_cshift fix for bad gamecode, move gl crosshair code to r2d, default crosshaircolor to 255 255 255 since now crosshaircolor/crosshairalpha work on crosshair 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3765 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
795406b8e4
commit
0a1b14b202
8 changed files with 396 additions and 398 deletions
|
@ -58,6 +58,7 @@ extern char *q_renderername;
|
|||
|
||||
mpic_t *R2D_SafeCachePic (char *path);
|
||||
mpic_t *R2D_SafePicFromWad (char *name);
|
||||
void R2D_DrawCrosshair (void);
|
||||
void R2D_ScalePic (int x, int y, int width, int height, mpic_t *pic);
|
||||
void R2D_SubPic(int x, int y, int width, int height, mpic_t *pic, int srcx, int srcy, int srcwidth, int srcheight);
|
||||
void R2D_TransPicTranslate (int x, int y, int width, int height, qbyte *pic, qbyte *translation);
|
||||
|
@ -75,7 +76,6 @@ void R2D_FillBlock(int x, int y, int w, int h);
|
|||
|
||||
extern void (*Draw_Init) (void);
|
||||
extern void (*Draw_TinyCharacter) (int x, int y, unsigned int num);
|
||||
extern void (*Draw_Crosshair) (void);
|
||||
extern qboolean (*Draw_IsCached) (char *picname); //can be null
|
||||
|
||||
extern void (*R_Init) (void);
|
||||
|
@ -180,7 +180,6 @@ typedef struct rendererinfo_s {
|
|||
|
||||
void (*Draw_Init) (void);
|
||||
void (*Draw_Shutdown) (void);
|
||||
void (*Draw_Crosshair) (void); //TODO: MARKED FOR DEMOLITION
|
||||
|
||||
texid_t (*IMG_LoadTexture) (char *identifier, int width, int height, uploadfmt_t fmt, void *data, unsigned int flags);
|
||||
texid_t (*IMG_LoadTexture8Pal24) (char *identifier, int width, int height, qbyte *data, qbyte *palette24, unsigned int flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue