Skip to content

Commit

Permalink
Merge branch 'develop' into review/flecs-400-update
Browse files Browse the repository at this point in the history
  • Loading branch information
zpl-zak committed Dec 29, 2024
2 parents 3cc0d9e + e76fb37 commit de96a09
Show file tree
Hide file tree
Showing 15 changed files with 1,311 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check_style.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Check code style

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
# push:
# branches: [ develop ]
# pull_request:
# branches: [ develop ]
workflow_dispatch:

jobs:
Expand Down
10 changes: 8 additions & 2 deletions code/framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ set(FRAMEWORK_CLIENT_SRC

src/integrations/client/instance.cpp
src/integrations/client/networking/engine.cpp

src/gui/manager.cpp
src/gui/clipboard.cpp
src/gui/view.cpp
src/gui/sdk.cpp
src/gui/backend/view_d3d11.cpp
)

# Append the platform-dependent files to the related lists
Expand Down Expand Up @@ -157,7 +163,7 @@ if(WIN32)
target_link_directories(Framework PUBLIC ${CMAKE_SOURCE_DIR}/vendors/openssl/lib)
target_link_libraries(Framework ws2_32 dbghelp crypt32 winmm iphlpapi psapi userenv)

target_link_libraries(FrameworkClient DiscordSDK DearImGUI UltralightSDK)
target_link_libraries(FrameworkClient DiscordSDK DearImGUI)

set(CLIENT_SHARED_LIBS minhook SteamSDK udis86)
target_link_libraries(FrameworkClient ${CLIENT_SHARED_LIBS} ${FREETYPE_LIBRARY})
Expand All @@ -170,7 +176,7 @@ if(WIN32)
if(NOT CMAKE_CL_64)
target_link_options(FrameworkServer PUBLIC "-SAFESEH:NO")
else()
target_link_libraries(FrameworkClient)
target_link_libraries(FrameworkClient UltralightSDK JavaScriptCorePP)
target_link_options(FrameworkClient PUBLIC "-SAFESEH:NO")
endif()
endif()
1 change: 1 addition & 0 deletions code/framework/src/external/discord/wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* This file comes from MafiaHub, hosted at https://github.com/MafiaHub/Framework.
* See LICENSE file in the source repository for information regarding licensing.
*/

#include "wrapper.h"

#include <logging/logger.h>
Expand Down
4 changes: 4 additions & 0 deletions code/framework/src/graphics/renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,9 @@ namespace Framework::Graphics {
bool IsInitialized() const {
return _initialized;
}

RendererBackend GetBackendType() const {
return _backend;
}
};
} // namespace Framework::Graphics
Loading

0 comments on commit de96a09

Please sign in to comment.