[GDNative] rename nativearvr extension to arvr

This commit is contained in:
Karroffel 2017-11-10 12:36:50 +01:00
parent 7ae2de8997
commit 79285b084d
9 changed files with 10 additions and 10 deletions

View File

@ -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>',
'',

View File

@ -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() {
}

View File

@ -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();

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* godot_nativearvr.h */
/* godot_arvr.h */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */

View File

@ -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);