summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-08 21:56:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-08 21:56:58 +0200
commit12d26cd1cb550eb79f48534bf0d26d1ffb63f0fe (patch)
treef49ebe79e3e484e8c64774b0c39a5801bbfaddfb /main/main-impl.hpp
parent53940c48b32cfe045bdd26df33788cc480b39d90 (diff)
first_frame wip
Diffstat (limited to 'main/main-impl.hpp')
-rw-r--r--main/main-impl.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/main-impl.hpp b/main/main-impl.hpp
index 66f143d1..9d3eef43 100644
--- a/main/main-impl.hpp
+++ b/main/main-impl.hpp
@@ -85,10 +85,12 @@ struct main_impl final : Platform::Sdl2Application, floormat_main
[[maybe_unused]] void keyPressEvent(KeyEvent& event) override;
[[maybe_unused]] void keyReleaseEvent(KeyEvent& event) override;
[[maybe_unused]] void anyEvent(SDL_Event& event) override;
-
+
+ void cache_draw_on_startup();
+ void clear_framebuffer();
void drawEvent() override;
void bind() noexcept override;
- void do_update();
+ void do_update(const Ns& dt);
struct meshes meshes() noexcept override;
bool is_text_input_active() const noexcept override;