git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5242 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c4132347eb
commit
e1e3336eaa
3 changed files with 12 additions and 2 deletions
|
@ -713,6 +713,7 @@ void Con_Init (void)
|
|||
Cvar_Register (&con_notify_w, "Console controls");
|
||||
Cvar_Register (&con_numnotifylines, "Console controls");
|
||||
Cvar_Register (&con_displaypossibilities, "Console controls");
|
||||
Cvar_Register (&con_showcompletion, "Console controls");
|
||||
Cvar_Register (&cl_chatmode, "Console controls");
|
||||
Cvar_Register (&con_maxlines, "Console controls");
|
||||
Cvar_Register (&con_numnotifylines_chat, "Console controls");
|
||||
|
@ -1294,7 +1295,7 @@ int Con_DrawInput (console_t *con, qboolean focused, int left, int right, int y,
|
|||
i = 0;
|
||||
x = left;
|
||||
|
||||
if (con->commandcompletion && con_)
|
||||
if (con->commandcompletion && con_showcompletion.ival)
|
||||
{
|
||||
if (cl_chatmode.ival && (text[0] == '/' || (cl_chatmode.ival == 2 && Cmd_IsCommand(text))))
|
||||
{ //color the first token yellow, it's a valid command
|
||||
|
|
|
@ -32,9 +32,10 @@ qboolean vid_isfullscreen;
|
|||
|
||||
#define VIDCOMMANDGROUP "Video config"
|
||||
#define GRAPHICALNICETIES "Graphical Nicaties" //or eyecandy, which ever you prefer.
|
||||
#define GLRENDEREROPTIONS "GL Renderer Options"
|
||||
#define SCREENOPTIONS "Screen Options"
|
||||
|
||||
#define GLRENDEREROPTIONS "GL Renderer Options" //fixme: often used for generic cvars that apply to more than just gl...
|
||||
#define D3DRENDEREROPTIONS "D3D Renderer Options"
|
||||
#define VKRENDEREROPTIONS "Vulkan-Specific Renderer Options"
|
||||
|
||||
unsigned int d_8to24rgbtable[256];
|
||||
|
@ -469,9 +470,16 @@ cvar_t vk_khr_dedicated_allocation = CVARD ("vk_khr_dedicated_allocation", "",
|
|||
cvar_t vk_khr_push_descriptor = CVARD ("vk_khr_push_descriptor", "", "Enables better descriptor streaming.");
|
||||
#endif
|
||||
|
||||
#ifdef D3D9QUAKE
|
||||
cvar_t d3d9_hlsl = CVAR("d3d_hlsl", "1");
|
||||
#endif
|
||||
|
||||
#if defined(D3DQUAKE)
|
||||
void GLD3DRenderer_Init(void)
|
||||
{
|
||||
#ifdef D3D9QUAKE
|
||||
Cvar_Register (&d3d9_hlsl, D3DRENDEREROPTIONS);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#endif
|
||||
#include <d3d9.h>
|
||||
extern LPDIRECT3DDEVICE9 pD3DDev9;
|
||||
extern cvar_t d3d9_hlsl;
|
||||
|
||||
typedef struct {
|
||||
LPCSTR Name;
|
||||
|
|
Loading…
Reference in a new issue