← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/rendertarget_ints into lp:widelands

 

The proposal to merge lp:~widelands-dev/widelands/rendertarget_ints into lp:widelands has been updated.

Commit Message changed to:

Use int values in RenderTarget and alignment functions where float precision is not needed.

- RenderTarget::draw_rect, RenderTarget::fill_rect, RenderTarget::brighten_rect, RenderTarget::blit, RenderTarget::blit_monochrome and RenderTarget::blitrect
- UI::correct_for_align and UI::center_vertically
- Consistently use UI::correct_for_align outside of RenderTarget.
- Replaced Vector2<T> default constructor with static function Vector2<T>::zero()

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/rendertarget_ints/+merge/322996
-- 
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/rendertarget_ints.


References