[Commits] [wesnoth/wesnoth] cb5a9a: add display chat manager, notifications support ou...
GitHub
noreply at github.com
Fri Jun 27 19:59:59 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: cb5a9a0d28ed4761272fcad65001c376445cc7d6
https://github.com/wesnoth/wesnoth/commit/cb5a9a0d28ed4761272fcad65001c376445cc7d6
Author: Chris Beck <render787 at gmail.com>
Date: 2014-06-27 (Fri, 27 Jun 2014)
Changed paths:
M projectfiles/CodeBlocks/wesnoth.cbp
M projectfiles/VC9/wesnoth.vcproj
M src/CMakeLists.txt
M src/SConscript
M src/ai/contexts.cpp
M src/ai/formula/ai.cpp
A src/display_chat_manager.cpp
A src/display_chat_manager.hpp
M src/floating_textbox.cpp
M src/game_display.cpp
M src/game_display.hpp
M src/game_events/pump.cpp
M src/menu_events.cpp
M src/multiplayer_connect.cpp
M src/multiplayer_wait.cpp
A src/notifications.cpp
A src/notifications.hpp
M src/play_controller.cpp
M src/playmp_controller.cpp
M src/playsingle_controller.cpp
M src/playturn.cpp
M src/replay.cpp
M src/replay_controller.cpp
M src/scripting/lua.cpp
M src/scripting/lua_api.cpp
Log Message:
-----------
add display chat manager, notifications support outside game_display
The functionality of tracking observers and displaying chat messages
is moved to a manager class, which the gui owns.
The functionality of displaying notifications is similarly moved out
of the game_display and to a private namespace. (Static singleton
pattern seems okay here since there really won't need to be more
than one of these for a single application, it seems.)
More information about the Commits
mailing list