This PR replaces the usage of showMessage() by showStandardTextMessage() where fheroes2::Text is used.
Also in such updated places std::move() is now mostly used to prevent sting copying.
This PR affects most pop-up messages. The most changes are done to the hero's actions dialogs.
This PR replaces the usage of
showMessage()
byshowStandardTextMessage()
wherefheroes2::Text
is used. Also in such updated placesstd::move()
is now mostly used to prevent sting copying.This PR affects most pop-up messages. The most changes are done to the hero's actions dialogs.