Changed SimulateOrderUnits and MinimapClick to use MouseTraceData_t as input and introduced CalculateMouseData for calculating the mouse data without updating the player mouse data. This allows the minimap to use the same functions for simulating orders at a position.