From e2c747f1b242b04146442ca8fd3d2400ec181363 Mon Sep 17 00:00:00 2001 From: Nyx Date: Mon, 27 Oct 2025 11:58:38 -0600 Subject: [PATCH] work --- .../api/v1/query/client-vscode/query.json | 1 + builds/windows-amd64/CMakeCache.txt | 109 ++++++++++++++++++ .../CMakeFiles/4.0.2/CMakeSystem.cmake | 15 +++ .../CMakeFiles/CMakeConfigureLog.yaml | 11 ++ .../CMakeFiles/cmake.check_cache | 1 + src/steam_audio_listener.cpp | 10 +- src/steam_audio_listener.hpp | 4 +- 7 files changed, 145 insertions(+), 6 deletions(-) create mode 100644 builds/windows-amd64/.cmake/api/v1/query/client-vscode/query.json create mode 100644 builds/windows-amd64/CMakeCache.txt create mode 100644 builds/windows-amd64/CMakeFiles/4.0.2/CMakeSystem.cmake create mode 100644 builds/windows-amd64/CMakeFiles/CMakeConfigureLog.yaml create mode 100644 builds/windows-amd64/CMakeFiles/cmake.check_cache diff --git a/builds/windows-amd64/.cmake/api/v1/query/client-vscode/query.json b/builds/windows-amd64/.cmake/api/v1/query/client-vscode/query.json new file mode 100644 index 0000000..82bb964 --- /dev/null +++ b/builds/windows-amd64/.cmake/api/v1/query/client-vscode/query.json @@ -0,0 +1 @@ +{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1},{"kind":"cmakeFiles","version":1}]} \ No newline at end of file diff --git a/builds/windows-amd64/CMakeCache.txt b/builds/windows-amd64/CMakeCache.txt new file mode 100644 index 0000000..f4dd654 --- /dev/null +++ b/builds/windows-amd64/CMakeCache.txt @@ -0,0 +1,109 @@ +# This is the CMakeCache file. +# For build in directory: d:/GitHub/steam-audio-godot/builds/windows-amd64 +# It was generated by CMake: C:/Program Files/CMake/bin/cmake.exe +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//No help, variable specified on the command line. +CMAKE_BUILD_TYPE:UNINITIALIZED=Debug + +//No help, variable specified on the command line. +CMAKE_CXX_COMPILER:UNINITIALIZED=cl.exe + +//No help, variable specified on the command line. +CMAKE_C_COMPILER:UNINITIALIZED=cl.exe + +//Value Computed by CMake. +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=D:/GitHub/steam-audio-godot/builds/windows-amd64/CMakeFiles/pkgRedirects + +//Program used to build from build.ninja files. +CMAKE_MAKE_PROGRAM:FILEPATH=CMAKE_MAKE_PROGRAM-NOTFOUND + +//Value Computed by CMake +CMAKE_PROJECT_DESCRIPTION:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_HOMEPAGE_URL:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=SteamAudioGodot + +//Value Computed by CMake +CMAKE_PROJECT_VERSION:STATIC=0.1.0 + +//Value Computed by CMake +CMAKE_PROJECT_VERSION_MAJOR:STATIC=0 + +//Value Computed by CMake +CMAKE_PROJECT_VERSION_MINOR:STATIC=1 + +//Value Computed by CMake +CMAKE_PROJECT_VERSION_PATCH:STATIC=0 + +//Value Computed by CMake +CMAKE_PROJECT_VERSION_TWEAK:STATIC= + +//Value Computed by CMake +SteamAudioGodot_BINARY_DIR:STATIC=D:/GitHub/steam-audio-godot/builds/windows-amd64 + +//Value Computed by CMake +SteamAudioGodot_IS_TOP_LEVEL:STATIC=ON + +//Value Computed by CMake +SteamAudioGodot_SOURCE_DIR:STATIC=D:/GitHub/steam-audio-godot + + +######################## +# INTERNAL cache entries +######################## + +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=d:/GitHub/steam-audio-godot/builds/windows-amd64 +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=4 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=0 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake.exe +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cpack.exe +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/CMake/bin/ctest.exe +//Path to cache edit program executable. +CMAKE_EDIT_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake-gui.exe +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Ninja +//Generator instance identifier. +CMAKE_GENERATOR_INSTANCE:INTERNAL= +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=D:/GitHub/steam-audio-godot +//Name of CMakeLists files to read +CMAKE_LIST_FILE_NAME:INTERNAL=CMakeLists.txt +//ADVANCED property for variable: CMAKE_MAKE_PROGRAM +CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +//Platform information initialized +CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=C:/Program Files/CMake/share/cmake-4.0 + diff --git a/builds/windows-amd64/CMakeFiles/4.0.2/CMakeSystem.cmake b/builds/windows-amd64/CMakeFiles/4.0.2/CMakeSystem.cmake new file mode 100644 index 0000000..88ce365 --- /dev/null +++ b/builds/windows-amd64/CMakeFiles/4.0.2/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") +set(CMAKE_HOST_SYSTEM_NAME "Windows") +set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") +set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") + + + +set(CMAKE_SYSTEM "Windows-10.0.26200") +set(CMAKE_SYSTEM_NAME "Windows") +set(CMAKE_SYSTEM_VERSION "10.0.26200") +set(CMAKE_SYSTEM_PROCESSOR "AMD64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/builds/windows-amd64/CMakeFiles/CMakeConfigureLog.yaml b/builds/windows-amd64/CMakeFiles/CMakeConfigureLog.yaml new file mode 100644 index 0000000..5293d6f --- /dev/null +++ b/builds/windows-amd64/CMakeFiles/CMakeConfigureLog.yaml @@ -0,0 +1,11 @@ + +--- +events: + - + kind: "message-v1" + backtrace: + - "C:/Program Files/CMake/share/cmake-4.0/Modules/CMakeDetermineSystem.cmake:205 (message)" + - "CMakeLists.txt:40 (project)" + message: | + The system is: Windows - 10.0.26200 - AMD64 +... diff --git a/builds/windows-amd64/CMakeFiles/cmake.check_cache b/builds/windows-amd64/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/builds/windows-amd64/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/src/steam_audio_listener.cpp b/src/steam_audio_listener.cpp index e3b0c9f..d3253fa 100644 --- a/src/steam_audio_listener.cpp +++ b/src/steam_audio_listener.cpp @@ -37,16 +37,16 @@ void SteamAudioListener::_notification(int p_what) { } } -void SteamAudioListener::update_listener(IPLSimulator iplsim, IPLSimulationSharedInputs iplsiminputs) { +void SteamAudioListener::update_listener(IPLSimulator iplSim, IPLSimulationSharedInputs iplSimInputs) { needs_update=false; Transform3D transform = get_global_transform(); IPLCoordinateSpace3 space = SteamAudio::godot_to_ipl_space(transform); - iplsiminputs.listener=space; + iplSimInputs.listener=space; - iplSimulatorSetSharedInputs(iplsim,IPL_SIMULATIONFLAGS_DIRECT,&iplsiminputs); - iplSimulatorSetSharedInputs(iplsim,IPL_SIMULATIONFLAGS_PATHING,&iplsiminputs); - iplSimulatorSetSharedInputs(iplsim,IPL_SIMULATIONFLAGS_REFLECTIONS,&iplsiminputs); + iplSimulatorSetSharedInputs(iplSim,IPL_SIMULATIONFLAGS_DIRECT,&iplSimInputs); + iplSimulatorSetSharedInputs(iplSim,IPL_SIMULATIONFLAGS_PATHING,&iplSimInputs); + iplSimulatorSetSharedInputs(iplSim,IPL_SIMULATIONFLAGS_REFLECTIONS,&iplSimInputs); } \ No newline at end of file diff --git a/src/steam_audio_listener.hpp b/src/steam_audio_listener.hpp index 5a53d3a..9142bfa 100644 --- a/src/steam_audio_listener.hpp +++ b/src/steam_audio_listener.hpp @@ -12,12 +12,14 @@ using namespace godot; class SteamAudioListener:public AudioListener3D { GDCLASS(SteamAudioListener,AudioListener3D) + private: bool needs_update = false; Transform3D last_transform; protected: static void _bind_methods(); + public: bool get_needs_update() { return needs_update; @@ -29,7 +31,7 @@ public: void _notification(int p_what); static SteamAudioListener* get_listener(); - void update_listener(IPLSimulator iplsim, IPLSimulationSharedInputs iplsiminputs); + void update_listener(IPLSimulator iplSim, IPLSimulationSharedInputs iplSimInputs); void set_listener_position(const Vector3 &p_position); void set_listener_orientation(const Vector3 &p_forward, const Vector3 &p_up); void set_listener_velocity(const Vector3 &p_velocity);