/** * @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; }
static void CL_ZoomOutQuant_f (void) { CL_CameraZoomOut(); }