OpenMoHAA
0.82.0
Loading...
Searching...
No Matches
huddraw.h
1
/*
2
===========================================================================
3
Copyright (C) 2024 the OpenMoHAA team
4
5
This file is part of OpenMoHAA source code.
6
7
OpenMoHAA source code is free software; you can redistribute it
8
and/or modify it under the terms of the GNU General Public License as
9
published by the Free Software Foundation; either version 2 of the License,
10
or (at your option) any later version.
11
12
OpenMoHAA source code is distributed in the hope that it will be
13
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with OpenMoHAA source code; if not, write to the Free Software
19
Foundation, 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
30
void
HudDraw3d(
int
index, vec3_t vector,
int
ent_num, qboolean bAlwaysShow, qboolean depth );
31
void
HudDrawShader(
int
info,
const
char
*name );
32
void
HudDrawAlign(
int
info,
int
horizontalAlign,
int
verticalAlign );
33
void
HudDrawRect(
int
info,
int
x,
int
y,
int
width,
int
height );
34
void
HudDrawVirtualSize(
int
info,
int
virtualScreen );
35
void
HudDrawColor(
int
info,
float
*color );
36
void
HudDrawAlpha(
int
info,
float
alpha );
37
void
HudDrawString(
int
info,
const
char
*
string
);
38
void
HudDrawFont(
int
info,
const
char
*fontName );
39
void
HudDrawTimer(
int
index,
float
duration,
float
fade_out_time );
40
41
void
iHudDraw3d(
int
cl_num,
int
index, vec3_t vector,
int
ent_num, qboolean bAlwaysShow, qboolean depth );
42
void
iHudDrawShader(
int
cl_num,
int
info,
const
char
*name );
43
void
iHudDrawAlign(
int
cl_num,
int
info,
int
horizontalAlign,
int
verticalAlign );
44
void
iHudDrawRect(
int
cl_num,
int
info,
int
x,
int
y,
int
width,
int
height );
45
void
iHudDrawVirtualSize(
int
cl_num,
int
info,
int
virtualScreen );
46
void
iHudDrawColor(
int
cl_num,
int
info,
float
*color );
47
void
iHudDrawAlpha(
int
cl_num,
int
info,
float
alpha );
48
void
iHudDrawString(
int
cl_num,
int
info,
const
char
*
string
);
49
void
iHudDrawFont(
int
cl_num,
int
info,
const
char
*fontName );
50
void
iHudDrawTimer(
int
cl_num,
int
index,
float
duration,
float
fade_out_time );
code
fgame
huddraw.h
Generated by
1.13.2