Setup wind debris random variables. On the Overworld map selection, the currently selected stage now shows the selection cursor when the mouse cursor is not hovering over another stage to better indicate what stage you are looking at. Release Build 9486.
This commit is contained in:
@@ -170,12 +170,15 @@ void State_OverworldMap::Draw(AiL*game){
|
||||
}
|
||||
}
|
||||
}
|
||||
bool highlightedAStage=false;
|
||||
for(ConnectionPoint&cp:connections){
|
||||
if(Unlock::IsUnlocked(cp)&&geom2d::overlaps(game->GetWorldMousePos(),cp.rect)&&(&cp==currentConnectionPoint||cp.IsNeighbor(*currentConnectionPoint))){
|
||||
drawutil::DrawCrosshairDecalTransformedView(game->view,cp.rect,currentTime);
|
||||
highlightedAStage=true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!highlightedAStage)drawutil::DrawCrosshairDecalTransformedView(game->view,currentConnectionPoint->rect,currentTime); //Highlight the current stage instead then if we haven't moused over a new one.
|
||||
|
||||
//In radians.
|
||||
using AngleTotal=float;
|
||||
|
||||
Reference in New Issue
Block a user