feat: modules moved and engine moved to submodule

This commit is contained in:
Jan van der Weide 2025-04-12 18:40:44 +02:00
parent dfb5e645cd
commit c33d2130cc
5136 changed files with 225275 additions and 64485 deletions

View file

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef OPENXR_ACTION_H
#define OPENXR_ACTION_H
#pragma once
#include "core/io/resource.h"
@ -83,5 +82,3 @@ public:
};
VARIANT_ENUM_CAST(OpenXRAction::ActionType);
#endif // OPENXR_ACTION_H

View file

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef OPENXR_ACTION_MAP_H
#define OPENXR_ACTION_MAP_H
#pragma once
#include "openxr_action.h"
#include "openxr_action_set.h"
@ -79,5 +78,3 @@ public:
~OpenXRActionMap();
};
#endif // OPENXR_ACTION_MAP_H

View file

@ -84,7 +84,7 @@ int OpenXRActionSet::get_action_count() const {
void OpenXRActionSet::clear_actions() {
// Actions held within our action set should be released and destroyed but just in case they are still used some where else
if (actions.size() == 0) {
if (actions.is_empty()) {
return;
}

View file

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef OPENXR_ACTION_SET_H
#define OPENXR_ACTION_SET_H
#pragma once
#include "openxr_action.h"
@ -71,5 +70,3 @@ public:
~OpenXRActionSet();
};
#endif // OPENXR_ACTION_SET_H

View file

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef OPENXR_BINDING_MODIFIER_H
#define OPENXR_BINDING_MODIFIER_H
#pragma once
#include "../action_map/openxr_action.h"
#include "core/io/resource.h"
@ -77,5 +76,3 @@ protected:
public:
OpenXRIPBinding *get_ip_binding() const { return ip_binding; }
};
#endif // OPENXR_BINDING_MODIFIER_H

View file

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef OPENXR_HAPTIC_FEEDBACK_H
#define OPENXR_HAPTIC_FEEDBACK_H
#pragma once
#include "core/io/resource.h"
#include <openxr/openxr.h>
@ -68,5 +67,3 @@ public:
OpenXRHapticVibration();
};
#endif // OPENXR_HAPTIC_FEEDBACK_H

View file

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef OPENXR_INTERACTION_PROFILE_H
#define OPENXR_INTERACTION_PROFILE_H
#pragma once
#include "openxr_action.h"
#include "openxr_binding_modifier.h"
@ -137,5 +136,3 @@ public:
~OpenXRInteractionProfile();
};
#endif // OPENXR_INTERACTION_PROFILE_H

View file

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef OPENXR_INTERACTION_PROFILE_METADATA_H
#define OPENXR_INTERACTION_PROFILE_METADATA_H
#pragma once
///////////////////////////////////////////////////////////////////////////
// Stores available interaction profile metadata
@ -121,5 +120,3 @@ public:
void register_io_path(const String &p_interaction_profile, const String &p_display_name, const String &p_toplevel_path, const String &p_openxr_path, const String &p_openxr_extension_name, OpenXRAction::ActionType p_action_type);
const IOPath *get_io_path(const String p_interaction_profile, const String p_io_path) const;
};
#endif // OPENXR_INTERACTION_PROFILE_METADATA_H