Filter for Messages
Bug #987510 reported by
Shevonar
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
I had the idea to add a filter to only show messages of a certain category. I think I somewhere read about this before, so if someone had this idea before, speak up ;) I suggest the following categories:
- Geology / Resources
- Military
- Ships / Expedition
- ... (I surely missed something)
The idea is to add a toggle button for each category so you can toggle whether the messages are shown or not. An alternative could be different tabs for each of the categories.
This idea was inspired by this post: https:/
Related branches
lp:~widelands-dev/widelands/bug-987510
- GunChleoc: Needs Resubmitting
-
Diff: 3767 lines (+1236/-756)24 files modifiedsrc/logic/building.cc (+2/-2)
src/logic/building.h (+2/-1)
src/logic/cmd_luacoroutine.cc (+1/-1)
src/logic/message.h (+53/-16)
src/logic/message_queue.h (+21/-21)
src/logic/militarysite.cc (+4/-4)
src/logic/player.cc (+7/-7)
src/logic/player.h (+1/-1)
src/logic/playercommand.cc (+2/-2)
src/logic/productionsite.cc (+1/-1)
src/logic/ship.cc (+402/-377)
src/logic/ship.h (+1/-2)
src/logic/soldier.cc (+2/-2)
src/logic/warehouse.cc (+388/-233)
src/logic/worker.cc (+14/-2)
src/map_io/map_players_messages_packet.cc (+14/-14)
src/scripting/lua_game.cc (+14/-31)
src/scripting/lua_game.h (+0/-1)
src/wui/game_message_menu.cc (+283/-28)
src/wui/game_message_menu.h (+14/-0)
src/wui/interactive_player.cc (+1/-1)
test/maps/lua_persistence.wmf/scripting/test_persistence.lua (+1/-2)
test/maps/lua_testsuite.wmf/scripting/messages.lua (+0/-5)
txts/README.lua (+8/-2)
Changed in widelands: | |
assignee: | nobody → GunChleoc (gunchleoc) |
status: | Confirmed → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
Changed in widelands: | |
milestone: | none → build19-rc1 |
Changed in widelands: | |
assignee: | GunChleoc (gunchleoc) → nobody |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
That would be a great feature. Just some more categories: conquered) and normal occupying a building. Would it be possible to play only the war sound without receuving the message?
- Run out of ... (I would seperate this from geologists because it is more important than dozens of found ressources)
- Built new warehouse/port
- maybe the military section should be splitted to war (attacked/
- basic news (headquarter/win condition/victory) should always be displayed
I do not like the different tabs idea because the player has to click through different categories it he wants to see more than just one.