Skip to content

Commit

Permalink
Afuera dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Segfaultd committed Dec 15, 2024
1 parent 360ca6d commit d02e5fc
Show file tree
Hide file tree
Showing 1,545 changed files with 2 additions and 179,769 deletions.
6 changes: 2 additions & 4 deletions code/framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ set(FRAMEWORK_SRC
src/utils/states/machine.cpp

src/external/sentry/wrapper.cpp
src/external/firebase/wrapper.cpp
src/external/optick/wrapper.cpp

src/world/engine.cpp
src/world/server.cpp
Expand Down Expand Up @@ -136,7 +134,7 @@ macro(link_shared_deps target_name)
endif()

# Global libraries
target_link_libraries(${target_name} slikenet glm spdlog cppfs nlohmann_json Sentry httplib ${OPENSSL_LIBRARIES} Firebase Curl OptickCore flecs_static semver)
target_link_libraries(${target_name} slikenet glm spdlog cppfs nlohmann_json Sentry httplib ${OPENSSL_LIBRARIES} Curl flecs_static semver)

# Required libraries for windows
if(WIN32)
Expand All @@ -161,7 +159,7 @@ if(WIN32)

target_link_libraries(FrameworkClient DiscordSDK DearImGUI SDL UltralightSDK)

set(CLIENT_SHARED_LIBS minhook GalaxySDK SteamSDK udis86)
set(CLIENT_SHARED_LIBS minhook SteamSDK udis86)
target_link_libraries(FrameworkClient ${CLIENT_SHARED_LIBS} ${FREETYPE_LIBRARY})

link_shared_deps(FrameworkLoader)
Expand Down
17 changes: 0 additions & 17 deletions code/framework/src/external/firebase/errors.h

This file was deleted.

131 changes: 0 additions & 131 deletions code/framework/src/external/firebase/wrapper.cpp

This file was deleted.

63 changes: 0 additions & 63 deletions code/framework/src/external/firebase/wrapper.h

This file was deleted.

3 changes: 0 additions & 3 deletions code/framework/src/external/imgui/widgets/console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "console.h"

#include <external/imgui/helpers.hpp>
#include <external/optick/wrapper.h>
#include <logging/logger.h>
#include <utils/safe_win32.h>

Expand Down Expand Up @@ -38,8 +37,6 @@ namespace Framework::External::ImGUI::Widgets {
}

bool Console::Update() {
OPTICK_EVENT();

if (!_isOpen) {
return _isOpen;
}
Expand Down
3 changes: 0 additions & 3 deletions code/framework/src/external/imgui/wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#include <backends/imgui_impl_sdl.h>
#include <backends/imgui_impl_win32.h>

#include <optick.h>

extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);

namespace Framework::External::ImGUI {
Expand Down Expand Up @@ -110,7 +108,6 @@ namespace Framework::External::ImGUI {

Error Wrapper::Update() {
std::lock_guard _lock(_renderMtx);
OPTICK_EVENT();

switch (_config.renderBackend) {
case Graphics::RendererBackend::BACKEND_D3D_9: {
Expand Down
39 changes: 0 additions & 39 deletions code/framework/src/external/optick/wrapper.cpp

This file was deleted.

37 changes: 0 additions & 37 deletions code/framework/src/external/optick/wrapper.h

This file was deleted.

3 changes: 0 additions & 3 deletions code/framework/src/external/sdl2/wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

#include "wrapper.h"

#include <optick.h>

namespace Framework::External::SDL2 {
Error Wrapper::Init(HWND windowHandle) {
if (!windowHandle) {
Expand Down Expand Up @@ -38,7 +36,6 @@ namespace Framework::External::SDL2 {
}

SDL_Event Wrapper::PollEvent() {
OPTICK_EVENT();
SDL_Event event;
SDL_PollEvent(&event);
return event;
Expand Down
3 changes: 0 additions & 3 deletions code/framework/src/graphics/renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

#include "renderer.h"

#include <optick.h>

namespace Framework::Graphics {
RendererError Renderer::Init(RendererConfiguration config) {
if (_initialized) {
Expand Down Expand Up @@ -52,7 +50,6 @@ namespace Framework::Graphics {
}

void Renderer::Update() const {
OPTICK_EVENT();
if (_d3d11Backend) {
_d3d11Backend->Update();
}
Expand Down
1 change: 0 additions & 1 deletion code/framework/src/http/webserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "webserver.h"

#include <logging/logger.h>
#include <optick.h>

namespace Framework::HTTP {
Webserver::Webserver() {
Expand Down
Loading

0 comments on commit d02e5fc

Please sign in to comment.