[Commits] [wesnoth/wesnoth] 40f1eb: Define a bitmask for and bitshift for SDL colors

GitHub noreply at github.com
Sat Nov 19 06:25:23 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 40f1ebc899d4ff087ff08518be029d6322fe838f
      https://github.com/wesnoth/wesnoth/commit/40f1ebc899d4ff087ff08518be029d6322fe838f
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
    M src/sdl/utils.cpp
    M src/sdl/utils.hpp

  Log Message:
  -----------
  Define a bitmask for and bitshift for SDL colors

This defines, and starts to use, bitmasks for SDL colours. They are primarily defined here so that they can be used in more places in future changes.





More information about the Commits mailing list