mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-18 13:15:20 +02:00
The ReSkate menu now has two styles, switched with View / F11 or the buttons in its top bar and saved with the profile (`ui fullscreen`): - Window: the mouse menu as before, with a side rail of pages in groups. - Full screen: made for a controller, in the pause menu's look. Pages across the top (LB / RB), each page's sections as the ONLINE page's tabs (LT / RT), button prompts at the bottom, the pause menu's sounds, and the pause menu's own Multiplayer pages as ONLINE. The pages are regrouped: HOME (quick switches and a tile for each page), MAP, BUILD, SKATER (freecam, first person, cheats), SANDBOX (once Trainer), ADDONS (drone, Board Break, Road Rash, Hall of Meat, grind exits, music), ONLINE, PROGRESS, MODS, SETTINGS, DEVELOPER. Full screen, every shared control is drawn for a pad: switches and option rows changed with left / right one step a press, sliders as steppers that repeat when held, rows of buttons, and pages that scroll with the right stick. Search boxes and typed values stay in the window. A pad press takes the menu's focus back and hides the pointer until the mouse moves. Also: map pictures in the map picker (official loading screens, a mod's icon) with a search box in the window, Splash and Tutorial Island left out of it; number boxes beside the window's sliders; the binds in groups, with an action bind to open the menu (`menu`); a menu size for each style (`ui scalefull`); the time of day stepping from the one last asked for.
56 lines
2.7 KiB
CMake
56 lines
2.7 KiB
CMake
# DualShock 4 / DualSense read straight from HID, for the in-game menu and the launcher.
|
|
add_library(dingosdk_playstation_input STATIC Extension/UI/Overlay/playstation_input.cpp)
|
|
target_link_libraries(dingosdk_playstation_input PUBLIC dingosdk_logging PRIVATE hid cfgmgr32)
|
|
|
|
add_library(dingosdk_overlay STATIC
|
|
|
|
Extension/UI/Overlay/overlay.cpp
|
|
Extension/UI/Overlay/overlay_render.cpp
|
|
Extension/UI/Overlay/overlay_console.cpp
|
|
Extension/UI/Overlay/overlay_input.cpp
|
|
Extension/UI/Overlay/item_browser_overlay.cpp
|
|
Extension/UI/Overlay/overlay_notices.cpp
|
|
Extension/UI/Overlay/chat_overlay.cpp
|
|
Extension/UI/Overlay/map_download_card.cpp
|
|
Extension/UI/Overlay/message_card.cpp
|
|
Extension/UI/Overlay/hub_page.cpp
|
|
Extension/UI/Overlay/game_text_overlay.cpp
|
|
Extension/UI/Overlay/drone_hud_overlay.cpp
|
|
Extension/UI/Overlay/drone_page.cpp
|
|
Extension/UI/Overlay/perf_overlay.cpp
|
|
Extension/UI/Overlay/skate_hud_overlay.cpp
|
|
Extension/UI/Overlay/nametag_overlay.cpp
|
|
Extension/UI/Overlay/chat_emotes.cpp
|
|
Extension/UI/Overlay/chat_rich.cpp
|
|
Extension/UI/Overlay/console_suggestions.cpp
|
|
Extension/UI/Overlay/skate_menu.cpp
|
|
Extension/UI/Overlay/skate_menu_world.cpp
|
|
Extension/UI/Overlay/skate_menu_addons.cpp
|
|
Extension/UI/Overlay/menu_map_pictures.cpp
|
|
Extension/UI/Overlay/skate_menu_skater.cpp
|
|
Extension/UI/Overlay/skate_menu_settings.cpp
|
|
Extension/UI/Overlay/park_editor.cpp
|
|
Extension/UI/Overlay/park_editor_actions.cpp
|
|
Extension/UI/Overlay/park_editor_panels.cpp
|
|
Extension/UI/Overlay/park_editor_viewport.cpp
|
|
Extension/UI/Overlay/park_previews.cpp
|
|
Extension/UI/Overlay/gpu_diagnostics.cpp
|
|
Extension/UI/Overlay/input_capture.cpp
|
|
Extension/UI/Overlay/cursor.cpp
|
|
Extension/UI/Overlay/progression_menu.cpp
|
|
Extension/UI/Overlay/atmosphere_menu.cpp
|
|
Extension/UI/Overlay/modding_menu.cpp
|
|
Extension/UI/Overlay/multiplayer_menu.cpp
|
|
Extension/UI/Overlay/multiplayer_lobbies.cpp
|
|
Extension/UI/Overlay/multiplayer_session.cpp
|
|
Extension/Trainer/trainer_page.cpp
|
|
Extension/Music/music_page.cpp
|
|
Extension/Trainer/trainer_view.cpp
|
|
Extension/HallOfMeat/hall_of_meat_overlay.cpp
|
|
)
|
|
target_link_libraries(dingosdk_overlay PUBLIC dingosdk_logging dingosdk_profiler dingosdk_imgui dingosdk_hooks dingosdk_console_core dxguid PRIVATE dingosdk_playstation_input shell32 dingosdk_initfs dingosdk_custom_scripts dingosdk_game_archives dingosdk_mods dingosdk_json windowscodecs ole32)
|
|
|
|
# The window shown from the moment ReSkate loads until the game's own window appears.
|
|
add_library(dingosdk_startup_window STATIC Extension/UI/Startup/startup_window.cpp)
|
|
target_link_libraries(dingosdk_startup_window PRIVATE gdi32 user32 msimg32 shell32 ole32 windowscodecs)
|