[Commits] [wesnoth/wesnoth] f77399: Minor cleanups to some resolution/window size code

GitHub noreply at github.com
Fri Feb 16 10:12:34 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f773996a937b976a8c6982da6bafea1dc7bf67c5
      https://github.com/wesnoth/wesnoth/commit/f773996a937b976a8c6982da6bafea1dc7bf67c5
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M src/preferences/general.cpp
    M src/video.cpp

  Log Message:
  -----------
  Minor cleanups to some resolution/window size code

* Cleaned up preferences::resolution() implementation.
* Don't call the above twice on SDL window init.
* Made a variable name clearer.


  Commit: 5c9380e58ae370230754673153d67ad460e59667
      https://github.com/wesnoth/wesnoth/commit/5c9380e58ae370230754673153d67ad460e59667
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M src/preferences/general.cpp

  Log Message:
  -----------
  Default to fullscreen on, tweak default window res

It makes more sense as a game to start with fullscreen enabled. As for the default res,
it's unlikely to be used (only crops up if the saved resolution value is invalid), but
it makes sense to use a more modern widescreen resolution.


Compare: https://github.com/wesnoth/wesnoth/compare/a8bc737c011d...5c9380e58ae3


More information about the Commits mailing list