[wesnoth-commits] [wesnoth/wesnoth] b2d3da: Removed non-functional video2::draw_layering class

GitHub noreply at github.com
Mon Mar 19 17:48:18 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b2d3da4a1e61cd093b77d466d91e1ca24b0be9b2
      https://github.com/wesnoth/wesnoth/commit/b2d3da4a1e61cd093b77d466d91e1ca24b0be9b2
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M src/controller_base.cpp
    M src/controller_base.hpp
    M src/display.cpp
    M src/display.hpp
    M src/gui/core/event/distributor.hpp
    M src/show_dialog.hpp
    M src/video.cpp
    M src/video.hpp

  Log Message:
  -----------
  Removed non-functional video2::draw_layering class

Will possibly re-implement this in a different way.


  Commit: 075a9bac34abefcfe086e4ff6ddbbc528b2dd7f7
      https://github.com/wesnoth/wesnoth/commit/075a9bac34abefcfe086e4ff6ddbbc528b2dd7f7
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M data/gui/window/game_ui.cfg
    M projectfiles/VC14/wesnoth.vcxproj
    M projectfiles/VC14/wesnoth.vcxproj.filters
    M source_lists/wesnoth
    M src/display.cpp
    M src/display.hpp
    M src/events.cpp
    M src/game_display.cpp
    M src/game_display.hpp
    M src/gui/dialogs/game_ui.cpp
    M src/gui/dialogs/game_ui.hpp
    A src/gui/dialogs/ingame_ui_base.cpp
    A src/gui/dialogs/ingame_ui_base.hpp
    M src/play_controller.cpp
    M src/playsingle_controller.cpp

  Log Message:
  -----------
  Get the GUI2 in-game UI at least appearing

I decided to go with a modular approach, where both in-game and editor UI dialogs inherit
from a single base class, a pointer of which is owned by the display class. That can be
used for common functionality that needs be shared by all in-game dialogs.

Right now the new UI is just static. It works with most stuff, but not key presses. Working
on that...


Compare: https://github.com/wesnoth/wesnoth/compare/419385d934fb...075a9bac34ab


More information about the Commits mailing list