Remove entries from the message list that have become obsolete
Bug #1186906 reported by
Astuur
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
cghislai |
Bug Description
As long as I have god overview what is going on, l often react to situations that cause a message of the "no more resources" type
before I have even opened them, by burning down quarries, lumberjack huts, mines, fishermen's houses etc.
It would be very smart, if somebody could program a "feedback" for such entries, so that message that are no longer
valid, get auto-deleted.
I would diminish the work of scanning through the rest in order to find incidents I have overlooked.
Related branches
lp:~widelands-dev/widelands/bug1186906
- SirVer: Approve
-
Diff: 394 lines (+102/-20)12 files modifiedsrc/game_io/game_loader.cc (+18/-5)
src/logic/building.cc (+1/-1)
src/logic/instances.cc (+1/-0)
src/logic/instances.h (+9/-1)
src/logic/message.h (+5/-0)
src/logic/player.cc (+33/-5)
src/logic/player.h (+4/-0)
src/logic/ship.cc (+1/-1)
src/logic/soldier.cc (+4/-2)
src/logic/worker.cc (+5/-2)
src/map_io/widelands_map_players_messages_data_packet.cc (+18/-2)
src/wui/game_message_menu.cc (+3/-1)
Changed in widelands: | |
assignee: | nobody → cghislai (charlyghislain) |
milestone: | none → build18-rc1 |
Changed in widelands: | |
status: | Confirmed → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Since we can make the camera move to the location, there is already some info concerning the related building. We could check check for it when filling the list.