mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-11-24 16:39:43 +00:00
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:
parent
6f414bc844
commit
9f5a3d4b23
16
NQ/client.h
16
NQ/client.h
@ -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 */
|
||||
|
36
NQ/screen.c
36
NQ/screen.c
@ -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;
|
||||
|
||||
/*
|
||||
==============
|
||||
|
Loading…
Reference in New Issue
Block a user