示例#1
0
void IN_Frame (void)
{
	if (RW_IN_Activate_fp)
	{
		if ( !cl.refresh_prepped || cls.key_dest == key_console || cls.key_dest == key_menu)
			RW_IN_Activate_fp(false);
		else
			RW_IN_Activate_fp(true);
	}

	if (RW_IN_Frame_fp)
		RW_IN_Frame_fp();
}
示例#2
0
void IN_Frame (void)
{
	if (RW_IN_Activate_fp) 
	{	// Knightmare changed
		if ( !cl.refresh_prepped || cls.consoleActive //cls.key_dest == key_console
			|| cls.key_dest == key_menu)
			RW_IN_Activate_fp(false);
		else
			RW_IN_Activate_fp(true);
	}

	if (RW_IN_Frame_fp)
		RW_IN_Frame_fp();
}
示例#3
0
void IN_Frame (void)
{
    if (RW_IN_Activate_fp)
    {
        /*
        if (!cl.refresh_prepped || cls.key_dest == key_console)
        	RW_IN_Activate_fp(false);
        else
        	RW_IN_Activate_fp(true);
        */
        if (cl.refresh_prepped & !(cls.key_dest == key_console) ||
                cls.key_dest == key_menu) // jitmenu
            RW_IN_Activate_fp(true);
        else
            RW_IN_Activate_fp(false);
    }

    if (RW_IN_Frame_fp)
        RW_IN_Frame_fp();
}
示例#4
0
文件: vid_so.c 项目: AkBKukU/Quake-2
void IN_Activate (qboolean active)
{
	if (RW_IN_Activate_fp)
		RW_IN_Activate_fp(active);
}