[Commits] [wesnoth/wesnoth] 52c5bf: add unit drawer, remove drawable_unit
GitHub
noreply at github.com
Fri Jun 20 00:15:08 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 52c5bf44ab083997824656efa6d3d20a89db5a36
https://github.com/wesnoth/wesnoth/commit/52c5bf44ab083997824656efa6d3d20a89db5a36
Author: Chris Beck <render787 at gmail.com>
Date: 2014-06-19 (Thu, 19 Jun 2014)
Changed paths:
M src/display.cpp
M src/drawable_unit.cpp
M src/drawable_unit.hpp
M src/game_display.cpp
M src/unit.hpp
M src/unit_animation.hpp
M src/unit_animation_component.hpp
Log Message:
-----------
add unit drawer, remove drawable_unit
This avoids the casting to superclass, and it's also a bit faster,
in the refactor of the redraw_unit function we cache all the values
from display that we need locally.
Commit: 377410723ab0a8350d979c05536c3eafc05f2b66
https://github.com/wesnoth/wesnoth/commit/377410723ab0a8350d979c05536c3eafc05f2b66
Author: Chris Beck <render787 at gmail.com>
Date: 2014-06-19 (Thu, 19 Jun 2014)
Changed paths:
M src/unit.cpp
Log Message:
-----------
fixup: initialize ref_count_ to 0 in units
Commit: 7951ba5f1af372ea99f37d546a5eff1b23e19de0
https://github.com/wesnoth/wesnoth/commit/7951ba5f1af372ea99f37d546a5eff1b23e19de0
Author: Chris Beck <render787 at gmail.com>
Date: 2014-06-19 (Thu, 19 Jun 2014)
Changed paths:
M src/serialization/string_utils.cpp
M src/unit.cpp
M src/unit_map.hpp
Log Message:
-----------
Merge branch 'master' of git://github.com/wesnoth/wesnoth
Compare: https://github.com/wesnoth/wesnoth/compare/ad7cf1317d12...7951ba5f1af3
More information about the Commits
mailing list