screen: move pcx_t definition to client.h

In line with QW, which re-uses it for skins.

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2012-11-25 06:40:10 +10:30
parent 6f414bc844
commit 9f5a3d4b23
2 changed files with 27 additions and 25 deletions

View File

@ -371,4 +371,20 @@ void CL_InitTEnts(void);
void CL_ClearTEnts(void);
void CL_SignonReply(void);
typedef struct {
char manufacturer;
char version;
char encoding;
char bits_per_pixel;
unsigned short xmin, ymin, xmax, ymax;
unsigned short hres, vres;
unsigned char palette[48];
char reserved;
char color_planes;
unsigned short bytes_per_line;
unsigned short palette_type;
char filler[58];
unsigned char data; // unbounded
} pcx_t;
#endif /* CLIENT_H */

View File

@ -20,19 +20,20 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// screen.c -- master for refresh, status bar, console, chat, notify, etc
#include "screen.h"
#include "quakedef.h"
#include "r_local.h"
#include "host.h"
#include "wad.h"
#include "draw.h"
#include "keys.h"
#include "sys.h"
#include "sbar.h"
#include "client.h"
#include "cmd.h"
#include "console.h"
#include "sound.h"
#include "draw.h"
#include "host.h"
#include "keys.h"
#include "menu.h"
#include "quakedef.h"
#include "r_local.h"
#include "sbar.h"
#include "screen.h"
#include "sound.h"
#include "sys.h"
#include "wad.h"
// only the refresh window will be updated unless these variables are flagged
int scr_copytop;
@ -559,21 +560,6 @@ SCR_DrawConsole(void)
==============================================================================
*/
typedef struct {
char manufacturer;
char version;
char encoding;
char bits_per_pixel;
unsigned short xmin, ymin, xmax, ymax;
unsigned short hres, vres;
unsigned char palette[48];
char reserved;
char color_planes;
unsigned short bytes_per_line;
unsigned short palette_type;
char filler[58];
unsigned char data; // unbounded
} pcx_t;
/*
==============