示例#1
0
文件: run.cpp 项目: carstene1ns/fbagx
static int GetInput(bool bCopy)
{
	static int i = 0;
	InputMake(bCopy); 						// get input

	// Update Input dialog ever 3 frames
	if (i == 0) {
		InpdUpdate();
	}

	i++;

	if (i >= 3) {
		i = 0;
	}

	// Update Input Set dialog
	InpsUpdate();
	return 0;
}
示例#2
0
static int GetInput()
{
	static int i=0;
	InputMake(); // get input

	// Update Input + Cheat dialogs ever 3 frames
	if (i==0)
	{
		InpdUpdate();
	}
	i++;
	if (i>=3)
	{
		i=0;
	}

	// Update Input Set dialog
	InpsUpdate();
	return 0;
}