[client] Move sbar.h into client

Where it belongs :P
This commit is contained in:
Bill Currie 2022-12-01 13:11:16 +09:00
parent 00cade072c
commit 9ba2d26542
13 changed files with 14 additions and 17 deletions

View file

@ -69,7 +69,6 @@ EXTRA_DIST += \
include/r_text.h \
include/regex.h \
include/rua_internal.h \
include/sbar.h \
include/skin_stencil.h \
include/scn_internal.h \
include/snd_internal.h \
@ -90,6 +89,7 @@ EXTRA_DIST += \
include/client/input.h \
include/client/locs.h \
include/client/particles.h \
include/client/sbar.h \
include/client/state.h \
include/client/temp_entities.h \
include/client/view.h \

View file

@ -28,8 +28,8 @@
// the status bar is redrawn only if something has changed, but if anything
// does, the entire thing will be redrawn for the next vid.numpages frames.
#ifndef _SBAR_H
#define _SBAR_H
#ifndef __client_sbar_h
#define __client_sbar_h
extern qboolean sbar_showscores;
@ -59,4 +59,4 @@ void Sbar_CenterPrint (const char *str);
void Sbar_LogFrags (double time);
#endif
#endif//__client_sbar_h

View file

@ -51,11 +51,10 @@
#include "QF/scene/transform.h"
#include "QF/ui/view.h"
#include "sbar.h"
#include "r_local.h" //FIXME for r_cache_thrash
#include "client/hud.h"
#include "client/sbar.h"
#include "client/screen.h"
#include "client/view.h"
#include "client/world.h"

View file

@ -58,9 +58,9 @@
#include "QF/ui/view.h"
#include "compat.h"
#include "sbar.h"
#include "client/hud.h"
#include "client/sbar.h"
#include "client/screen.h"
#include "client/state.h"
#include "client/world.h"

View file

@ -53,7 +53,6 @@
#include "compat.h"
#include "r_internal.h"
#include "r_scrap.h"
#include "sbar.h"
#include "vid_internal.h"
struct scrap_s {

View file

@ -55,7 +55,6 @@
#include "compat.h"
#include "d_iface.h"
#include "r_internal.h"
#include "sbar.h"
#define WARP_WIDTH 320
#define WARP_HEIGHT 200

View file

@ -55,7 +55,6 @@
#include "compat.h"
#include "r_internal.h"
#include "sbar.h"
// only the refresh window will be updated unless these variables are flagged
int scr_copytop;

View file

@ -55,10 +55,10 @@
#include "QF/scene/scene.h"
#include "compat.h"
#include "sbar.h"
#include "client/chase.h"
#include "client/particles.h"
#include "client/sbar.h"
#include "client/screen.h"
#include "client/temp_entities.h"
#include "client/world.h"

View file

@ -57,11 +57,11 @@
#include "QF/scene/entity.h"
#include "client/particles.h"
#include "client/sbar.h"
#include "client/temp_entities.h"
#include "client/world.h"
#include "compat.h"
#include "sbar.h"
#include "nq/include/client.h"
#include "nq/include/host.h"
@ -721,7 +721,7 @@ CL_ParseServerMessage (void)
static dstring_t *stuffbuf;
signon_t so;
cl.viewstate.last_servermessage = realtime;
cl.viewstate.last_servermessage = cl.time;
TEntContext_t tentCtx = {
cl.viewstate.player_origin,
cl.viewentity

View file

@ -46,7 +46,8 @@
#include "QF/msg.h"
#include "compat.h"
#include "sbar.h"
#include "client/sbar.h"
#include "qw/include/cl_cam.h"
#include "qw/include/cl_input.h"

View file

@ -95,9 +95,9 @@
#include "buildnum.h"
#include "compat.h"
#include "sbar.h"
#include "client/particles.h"
#include "client/sbar.h"
#include "client/screen.h"
#include "client/temp_entities.h"
#include "client/view.h"

View file

@ -49,7 +49,7 @@
#include "qw/include/cl_parse.h"
#include "qw/include/client.h"
#include "sbar.h"
#include "client/sbar.h"
int cl_netgraph;
static cvar_t cl_netgraph_cvar = {

View file

@ -64,10 +64,10 @@
#include "QF/scene/scene.h"
#include "compat.h"
#include "sbar.h"
#include "client/effects.h"
#include "client/particles.h"
#include "client/sbar.h"
#include "client/screen.h"
#include "client/temp_entities.h"
#include "client/view.h"