Esempio n. 1
0
/**
 * @brief Called when user request scrolling on the battlescape.
 */
bool uiBattleScapeNode::onScroll (uiNode_t* node, int deltaX, int deltaY)
{
	while (deltaY < 0) {
		CL_CameraZoomIn();
		deltaY++;
	}
	while (deltaY > 0) {
		CL_CameraZoomOut();
		deltaY--;
	}
	return true;
}
Esempio n. 2
0
static void CL_ZoomOutQuant_f (void)
{
	CL_CameraZoomOut();
}