Skip to content

Commit

Permalink
Updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chukobyte committed Nov 2, 2024
1 parent 51f6bfa commit aba9e43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (NOT TARGET seika)
FetchContent_Declare(
seika_content
GIT_REPOSITORY https://github.com/Chukobyte/seika.git
GIT_TAG v0.2.2
GIT_TAG v0.2.3
)
FetchContent_MakeAvailable(seika_content)
endif ()
Expand Down
8 changes: 3 additions & 5 deletions editor/src/core/editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <implot.h>
#include <IconsFontAwesome6.h>

#include <seika/rendering/window.h>
#include <seika/rendering/renderer.h>
#include <seika/logger.h>

Expand All @@ -18,7 +19,6 @@
#include "ui/imgui/imgui_handler.h"
#include "ui/imgui/imgui_styler.h"
#include "utils/file_system_helper.h"
#include "seika/seika.h"

static EditorContext* editorContext = EditorContext::Get();

Expand All @@ -37,9 +37,7 @@ bool Editor::Initialize() {
return false;
}

// Init seika
ska_init();
// TODO: Figure out window stuff dimensions...
// Init seika renderer for simulation purposes
ska_renderer_initialize(800, 600, 800, 600, false);

// initialize ecs components to use index for now
Expand Down Expand Up @@ -176,7 +174,7 @@ bool Editor::IsRunning() const {
}

void Editor::Shutdown() {
ska_shutdown_all();
ska_renderer_finalize();

cre_ecs_manager_finalize_editor();

Expand Down
4 changes: 1 addition & 3 deletions editor/src/core/ui/imgui/imgui_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
#include <functional>
#include <utility>

#include "imgui.h"

#include <seika/seika.h>
#include <seika/time.h>

// UIs
#include "../project_manager_ui.h"
Expand Down

0 comments on commit aba9e43

Please sign in to comment.