mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
[GDNative] rename nativearvr extension to arvr
This commit is contained in:
parent
7ae2de8997
commit
79285b084d
@ -12,7 +12,7 @@ gdn_env.add_source_files(env.modules_sources, "nativescript/*.cpp")
|
||||
|
||||
gdn_env.Append(CPPPATH=['#modules/gdnative/include/'])
|
||||
|
||||
SConscript("nativearvr/SCsub")
|
||||
SConscript("arvr/SCsub")
|
||||
SConscript("pluginscript/SCsub")
|
||||
|
||||
def _spaced(e):
|
||||
@ -25,7 +25,7 @@ def _build_gdnative_api_struct_header(api):
|
||||
'#define GODOT_GDNATIVE_API_STRUCT_H',
|
||||
'',
|
||||
'#include <gdnative/gdnative.h>',
|
||||
'#include <nativearvr/godot_nativearvr.h>',
|
||||
'#include <arvr/godot_arvr.h>',
|
||||
'#include <nativescript/godot_nativescript.h>',
|
||||
'#include <pluginscript/godot_pluginscript.h>',
|
||||
'',
|
||||
|
@ -31,9 +31,9 @@
|
||||
#include "register_types.h"
|
||||
#include "arvr_interface_gdnative.h"
|
||||
|
||||
void register_nativearvr_types() {
|
||||
void register_arvr_types() {
|
||||
ClassDB::register_class<ARVRInterfaceGDNative>();
|
||||
}
|
||||
|
||||
void unregister_nativearvr_types() {
|
||||
void unregister_arvr_types() {
|
||||
}
|
@ -28,5 +28,5 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
void register_nativearvr_types();
|
||||
void unregister_nativearvr_types();
|
||||
void register_arvr_types();
|
||||
void unregister_arvr_types();
|
@ -1,5 +1,5 @@
|
||||
/*************************************************************************/
|
||||
/* godot_nativearvr.h */
|
||||
/* godot_arvr.h */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
@ -35,7 +35,7 @@
|
||||
#include "io/resource_loader.h"
|
||||
#include "io/resource_saver.h"
|
||||
|
||||
#include "nativearvr/register_types.h"
|
||||
#include "arvr/register_types.h"
|
||||
#include "nativescript/register_types.h"
|
||||
#include "pluginscript/register_types.h"
|
||||
|
||||
@ -157,7 +157,7 @@ void register_gdnative_types() {
|
||||
|
||||
GDNativeCallRegistry::singleton->register_native_call_type("standard_varcall", cb_standard_varcall);
|
||||
|
||||
register_nativearvr_types();
|
||||
register_arvr_types();
|
||||
register_nativescript_types();
|
||||
register_pluginscript_types();
|
||||
|
||||
@ -214,7 +214,7 @@ void unregister_gdnative_types() {
|
||||
|
||||
unregister_pluginscript_types();
|
||||
unregister_nativescript_types();
|
||||
unregister_nativearvr_types();
|
||||
unregister_arvr_types();
|
||||
|
||||
memdelete(GDNativeCallRegistry::singleton);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user