Files
ReSkate/cmake/Features.cmake
T
AyeZeeBB dce293e25d Fit Check as a plugin: screen capture, the menu's preview turned and read, and what the skater wears
Pull request 326 split into general plugin APIs and contrib/plugins/fit-check:
- reskate.capture (start, stop, discard, state, compare, kept, save): the screen
  recorded before the overlay draws, cut out by the game's depth or by colour,
  saved as GIF, APNG, PNG or WebM with an optional card; the "capture" permission.
- reskate.room.turn: a stand-in pad's stick held over to turn the menu's preview.
- reskate.menu.game and reskate.menu.grid: what the game's menu and its item grid show.
- reskate.outfit.worn, board and title: what the skater wears, by name.
- reskate.files.reveal: a data folder opened in Explorer.
The plugin finds where the turn comes round, eases the stick off, picks evenly
spaced frames and saves them with the board's parts or the outfit on the card.
2026-10-21 17:16:56 -05:00

54 lines
2.5 KiB
CMake

add_library(dingosdk_steam_restart_guard STATIC
Extension/Boot/steam_restart_guard.cpp
Extension/Boot/offline_steam.cpp)
target_link_libraries(dingosdk_steam_restart_guard PUBLIC dingosdk_launcher_support dingosdk_hooks dingosdk_logging)
add_library(dingosdk_startup_interventions STATIC
Extension/Boot/startup_interventions.cpp)
add_library(dingosdk_fast_travel_unlock STATIC
Extension/Progression/fast_travel_unlock.cpp)
add_library(dingosdk_local_profile STATIC
Extension/Profile/local_profile.cpp
Extension/Profile/profile_defaults.cpp
Extension/Profile/local_profile_store.cpp
Extension/Profile/profile_update.cpp
Extension/Profile/database_schema.cpp
Extension/Profile/database_codec.cpp
Extension/Objects/placement_database.cpp
Extension/Objects/object_categories.cpp
Extension/Profile/local_profile_legacy.cpp
Extension/Customization/local_customization.cpp
Extension/News/news_feed.cpp
Extension/Progression/rip_score.cpp
Extension/World/profile_policy.cpp
Extension/Rendering/profile_policy.cpp
Extension/Settings/input_bindings.cpp
Extension/Progression/challenge_profile.cpp
Extension/Objects/placements_store.cpp
Extension/Objects/ParkEditor/park_document.cpp
Extension/Objects/ParkEditor/park_mods.cpp
Extension/Objects/ParkEditor/park_object_sets.cpp
)
target_link_libraries(dingosdk_local_profile PUBLIC dingosdk_fast_travel_unlock dingosdk_content_cache dingosdk_json dingosdk_storage dingosdk_mod_list)
include(cmake/ProfileData.cmake)
# Screen captures (Extension/Rendering/Capture, reskate.capture): the recording, matting, the card and the
# GIF / APNG / PNG writers, and WebM through a small VP8 encoder of its own (from Fit Check, pull request
# 326). No Windows or game code, so its tests run anywhere.
add_library(dingosdk_capture STATIC
Extension/Rendering/Capture/capture_image.cpp
Extension/Rendering/Capture/capture_matte.cpp
Extension/Rendering/Capture/capture_panel.cpp
Extension/Rendering/Capture/capture_png.cpp
Extension/Rendering/Capture/capture_gif.cpp
Extension/Rendering/Capture/capture_vp8.cpp
Extension/Rendering/Capture/capture_webm.cpp
Extension/Rendering/Capture/capture_recorder.cpp)
target_include_directories(dingosdk_capture PUBLIC "${PROJECT_SOURCE_DIR}")
# stb_truetype, as shipped with Dear ImGui.
target_include_directories(dingosdk_capture SYSTEM PRIVATE "${PROJECT_SOURCE_DIR}/External/imgui")
target_link_libraries(dingosdk_capture PUBLIC dingosdk_miniz)