Quake II RTX doxygen
1.0 dev
|
|
Go to the documentation of this file.
70 {.origin = { -120.f, -80.f, 80.f },.color = {1.f, 1.f, 1.f},.intensity = 200.f,.radius = 20.f },
71 {.origin = { 100.f, 80.f, 20.f },.color = {0.5f, 0.5f, 1.f},.intensity = 200.f,.radius = 20.f }
76 char scratch[MAX_QPATH];
82 Q_concat(scratch,
sizeof(scratch),
"players/", model,
"/tris.md2", NULL);
89 Q_concat(scratch,
sizeof(scratch),
"players/", model,
"/", skin,
".pcx", NULL);
169 x -= CHAR_WIDTH * 10;
180 x -= CHAR_WIDTH * 10;
226 char scratch[MAX_OSPATH];
243 char currentdirectory[MAX_QPATH];
244 char currentskin[MAX_QPATH];
246 int currentdirectoryindex = 0;
247 int currentskinindex = 0;
254 Com_Printf(
"No player models found.\n");
259 Cvar_VariableStringBuffer(
"skin", currentdirectory,
sizeof(currentdirectory));
261 if ((p = strchr(currentdirectory,
'/')) || (p = strchr(currentdirectory,
'\\'))) {
263 Q_strlcpy(currentskin, p,
sizeof(currentskin));
265 strcpy(currentdirectory,
"male");
266 strcpy(currentskin,
"grunt");
272 currentdirectoryindex = i;
276 currentskinindex = j;
324 static const vec3_t
origin = { 40.0f, 0.0f, 0.0f };
325 static const vec3_t angles = { 0.0f, 260.0f, 0.0f };
struct m_player_s m_player_t
static const char * viewmodes[]
static void ReloadMedia(void)
static void Free(menuFrameWork_t *self)
void M_Menu_PlayerConfig(void)
static void RunFrame(void)
#define GENERIC_SPACING(x)
static void Draw(menuFrameWork_t *self)
static m_player_t m_player
static dlight_t dlights[]
qhandle_t R_RegisterModel(const char *name)
static void Size(menuFrameWork_t *self)
char * va(const char *format,...)
static void Pop(menuFrameWork_t *self)
int Cvar_VariableInteger(const char *var_name)
size_t Q_strlcpy(char *dst, const char *src, size_t size)
void IF_Replace(inputField_t *field, const char *text)
static menuSound_t Change(menuCommon_t *self)
static const char * handedness[]
static qboolean Push(menuFrameWork_t *self)
float V_CalcFov(float fov_x, float width, float height)
playerModelInfo_t pmi[MAX_PLAYERMODELS]
char * pmnames[MAX_PLAYERMODELS]
qboolean R_GetPicSize(int *w, int *h, qhandle_t pic)
void(* R_RenderFrame)(refdef_t *fd)
qhandle_t backgroundHandle
void(* R_SetScale)(float scale)
char * Cvar_VariableString(const char *var_name)
cvar_t * Cvar_SetEx(const char *var_name, const char *value, from_t from)
size_t Q_concat(char *dest, size_t size,...)
void IF_Init(inputField_t *field, size_t visibleChars, size_t maxChars)
void PlayerModel_Load(void)