| 119 | } |
| 120 | |
| 121 | void Graphics::LocalDraw(Bitmap& dst, Drawable::Z_t min_z, Drawable::Z_t max_z) { |
| 122 | auto& drawable_list = DrawableMgr::GetLocalList(); |
| 123 | |
| 124 | if (!drawable_list.empty() && min_z == std::numeric_limits<Drawable::Z_t>::min()) { |
| 125 | current_scene->DrawBackground(dst); |
| 126 | } |
| 127 | |
| 128 | drawable_list.Draw(dst, min_z, max_z); |
| 129 | } |
| 130 | |
| 131 | std::shared_ptr<Scene> Graphics::UpdateSceneCallback() { |
| 132 | auto prev_scene = current_scene; |
nothing calls this directly
no test coverage detected