OpenMoHAA 0.82.1
Loading...
Searching...
No Matches
huddraw.h
1/*
2===========================================================================
3Copyright (C) 2024 the OpenMoHAA team
4
5This file is part of OpenMoHAA source code.
6
7OpenMoHAA source code is free software; you can redistribute it
8and/or modify it under the terms of the GNU General Public License as
9published by the Free Software Foundation; either version 2 of the License,
10or (at your option) any later version.
11
12OpenMoHAA source code is distributed in the hope that it will be
13useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with OpenMoHAA source code; if not, write to the Free Software
19Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20===========================================================================
21*/
22
23// huddraw.cpp : This is a HudDraw Functions Code section with huddraw functions reversed for
24// altering clients HUD
25
26#pragma once
27
28#include "g_local.h"
29
30void HudDraw3d(int index, vec3_t vector, int ent_num, qboolean bAlwaysShow, qboolean depth);
31void HudDrawShader(int info, const char *name);
32void HudDrawAlign(int info, int horizontalAlign, int verticalAlign);
33void HudDrawRect(int info, int x, int y, int width, int height);
34void HudDrawVirtualSize(int info, int virtualScreen);
35void HudDrawColor(int info, float *color);
36void HudDrawAlpha(int info, float alpha);
37void HudDrawString(int info, const char *string);
38void HudDrawFont(int info, const char *fontName);
39void HudDrawTimer(int index, float duration, float fade_out_time);
40
41void iHudDraw3d(int cl_num, int index, vec3_t vector, int ent_num, qboolean bAlwaysShow, qboolean depth);
42void iHudDrawShader(int cl_num, int info, const char *name);
43void iHudDrawAlign(int cl_num, int info, int horizontalAlign, int verticalAlign);
44void iHudDrawRect(int cl_num, int info, int x, int y, int width, int height);
45void iHudDrawVirtualSize(int cl_num, int info, int virtualScreen);
46void iHudDrawColor(int cl_num, int info, float *color);
47void iHudDrawAlpha(int cl_num, int info, float alpha);
48void iHudDrawString(int cl_num, int info, const char *string);
49void iHudDrawFont(int cl_num, int info, const char *fontName);
50void iHudDrawTimer(int cl_num, int index, float duration, float fade_out_time);