Closed cschreib closed 2 years ago
This PR does a bit of refactoring to remove unused or unnecessary members of region:
region
region::is_special()
region::is_manually_inherited()
region::border_list_
region::borders_
region::get_object_type()
region::get_region_type
region::id_
region::get_lua_name()
region::lua_name_
show
hide
is_visible
frame::get_frame_type()
is_frame_type
region::type_
region::lua_members_
region::previous_anchor_parent_list_
Other changes:
text
renderer::get_batch_count()
renderer::reset_batch_count()
renderer::get_vertex_count()
vertex_cache::get_vertex_count()
get_num_[...]()
get_[...]_count()
region::[get/set/modify]_point
region::[get/set/modify]_anchor
region::clear_all_points
region::clear_all_anchors
region::set_all_points
region::set_all_anchors
This PR does a bit of refactoring to remove unused or unnecessary members of
region
:region::is_special()
intoregion::is_manually_inherited()
region::border_list_
intoregion::borders_
region::get_object_type()
intoregion::get_region_type
region::id_
region::get_lua_name()
andregion::lua_name_
show
/hide
/is_visible
frame::get_frame_type()
and Luais_frame_type
region::type_
, using static list insteadregion::lua_members_
, using Lua insteadregion::previous_anchor_parent_list_
Other changes:
text
not using atlas for icons; will improve performancerenderer::get_batch_count()
not implemented, and addedrenderer::reset_batch_count()
renderer::get_vertex_count()
vertex_cache::get_vertex_count()
get_num_[...]()
intoget_[...]_count()
region::[get/set/modify]_point
toregion::[get/set/modify]_anchor
region::clear_all_points
toregion::clear_all_anchors
region::set_all_points
toregion::set_all_anchors