[Commits] [wesnoth/wesnoth] 0c18c9: CVideo: removed get_screen_surface in favor of get...

GitHub noreply at github.com
Tue Dec 6 14:44:24 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0c18c9cb204ef98c6a2db047216170635e9314d4
      https://github.com/wesnoth/wesnoth/commit/0c18c9cb204ef98c6a2db047216170635e9314d4
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M src/display.cpp
    M src/gui/core/canvas.cpp
    M src/video.cpp
    M src/video.hpp

  Log Message:
  -----------
  CVideo: removed get_screen_surface in favor of getSurface

They do the same thing, and the latter was more widely used.


  Commit: bf869123715fae82eee7442570a69d78b8b337f4
      https://github.com/wesnoth/wesnoth/commit/bf869123715fae82eee7442570a69d78b8b337f4
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M src/display.cpp
    M src/editor/palette/editor_palettes.cpp
    M src/editor/palette/location_palette.cpp
    M src/editor/palette/tristate_button.cpp
    M src/floating_label.cpp
    M src/gui/widgets/window.cpp
    M src/halo.cpp
    M src/help/help_text_area.cpp
    M src/intro.cpp
    M src/playsingle_controller.cpp
    M src/sdl/utils.cpp
    M src/show_dialog.cpp
    M src/storyscreen/render.cpp
    M src/video.cpp
    M src/video.hpp
    M src/widgets/button.cpp
    M src/widgets/menu.cpp
    M src/widgets/scrollbar.cpp
    M src/widgets/textbox.cpp
    M src/widgets/widget.cpp

  Log Message:
  -----------
  CVideo: removed update_rect functions

These have been functionally useless, since none of their code was ever executed. Since this hasn't caused
any problems this far, I'm removing them.


  Commit: 5f3a0bb69f68ace8b9c6b7a13b6057431701fba0
      https://github.com/wesnoth/wesnoth/commit/5f3a0bb69f68ace8b9c6b7a13b6057431701fba0
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M src/controller_base.cpp
    M src/desktop/notifications.cpp
    M src/video.cpp
    M src/video.hpp

  Log Message:
  -----------
  CVideo: refactored out custom SDL window state flags

The function CVideo::window_state was the same as sdl::window::get_flags, except it handled
the custom state flags. The only slight semantic change is formally, the SDL_APPACTIVE encompassed
SDL_WINDOW_SHOWN && !SDL_WINDOW_MINIMIZED; however, it's very unlikely the former flag would be ever
set if the latter were as well.


  Commit: cbcb355ee9cbb1bfb1defd0f054a7822d3cb9804
      https://github.com/wesnoth/wesnoth/commit/cbcb355ee9cbb1bfb1defd0f054a7822d3cb9804
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M src/font/text.cpp
    M src/gui/dialogs/addon/manager.cpp
    M src/image.cpp
    M src/storyscreen/part.cpp

  Log Message:
  -----------
  Cleaned up a few video.hpp includes


  Commit: b33fc6a74f59e7e3aa3fa12e7be69878f2245b79
      https://github.com/wesnoth/wesnoth/commit/b33fc6a74f59e7e3aa3fa12e7be69878f2245b79
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M src/sdl/window.cpp
    M src/sdl/window.hpp
    M src/video.cpp

  Log Message:
  -----------
  Added an sdl::window wrapper for SDL_GetWindowDisplayIndex


  Commit: ec8ff1ac913cee90ebed5706da4380cb34e0d451
      https://github.com/wesnoth/wesnoth/commit/ec8ff1ac913cee90ebed5706da4380cb34e0d451
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M src/video.cpp
    M src/video.hpp

  Log Message:
  -----------
  CVideo: general cleanup


Compare: https://github.com/wesnoth/wesnoth/compare/ae91632ea731...ec8ff1ac913c


More information about the Commits mailing list