mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
[sbar] Disable some unused functions
I don't know why draw_altstring is there at all, but draw_nstring being in nq is likely due to minimising the diffs between nq and qw.
This commit is contained in:
parent
2abd4a5e79
commit
aed5cdee8e
2 changed files with 4 additions and 4 deletions
|
@ -300,7 +300,7 @@ draw_string (view_t *view, int x, int y, const char *str)
|
||||||
{
|
{
|
||||||
r_funcs->Draw_String (view->xabs + x, view->yabs + y, str);
|
r_funcs->Draw_String (view->xabs + x, view->yabs + y, str);
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
static inline void
|
static inline void
|
||||||
draw_altstring (view_t *view, int x, int y, const char *str)
|
draw_altstring (view_t *view, int x, int y, const char *str)
|
||||||
{
|
{
|
||||||
|
@ -312,7 +312,7 @@ draw_nstring (view_t *view, int x, int y, const char *str, int n)
|
||||||
{
|
{
|
||||||
r_funcs->Draw_nString (view->xabs + x, view->yabs + y, str, n);
|
r_funcs->Draw_nString (view->xabs + x, view->yabs + y, str, n);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
static inline void
|
static inline void
|
||||||
draw_fill (view_t *view, int x, int y, int w, int h, int col)
|
draw_fill (view_t *view, int x, int y, int w, int h, int col)
|
||||||
{
|
{
|
||||||
|
|
|
@ -305,13 +305,13 @@ draw_string (view_t *view, int x, int y, const char *str)
|
||||||
{
|
{
|
||||||
r_funcs->Draw_String (view->xabs + x, view->yabs + y, str);
|
r_funcs->Draw_String (view->xabs + x, view->yabs + y, str);
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
static inline void
|
static inline void
|
||||||
draw_altstring (view_t *view, int x, int y, const char *str)
|
draw_altstring (view_t *view, int x, int y, const char *str)
|
||||||
{
|
{
|
||||||
r_funcs->Draw_AltString (view->xabs + x, view->yabs + y, str);
|
r_funcs->Draw_AltString (view->xabs + x, view->yabs + y, str);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
static inline void
|
static inline void
|
||||||
draw_nstring (view_t *view, int x, int y, const char *str, int n)
|
draw_nstring (view_t *view, int x, int y, const char *str, int n)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue