コード例 #1
0
ファイル: CarInput.cpp プロジェクト: AntonioModer/xray-16
void CCar::vfProcessInputKey	(int iCommand, bool bPressed)
{
	if (bPressed)
		OnKeyboardPress			(iCommand);
	else
		OnKeyboardRelease		(iCommand);
}
コード例 #2
0
bool game_cl_GameState::IR_OnKeyboardRelease	(int dik)
{
	if(local_player && !local_player->IsSkip())
		return OnKeyboardRelease( get_binded_action(dik) );
	else
		return false;
}