[GDnative] add pluginscript \o/

This commit is contained in:
Emmanuel Leblond 2017-10-08 23:47:38 +02:00
parent 0d0cb01f33
commit e715be0f0a
No known key found for this signature in database
GPG key ID: C360860E645EFFC0
20 changed files with 1937 additions and 11 deletions

View file

@ -4,7 +4,6 @@ Import('env')
mod_env = env.Clone()
mod_env.add_source_files(env.modules_sources, "*.cpp")
mod_env.Append(CPPPATH='#modules/gdnative')
mod_env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])
if "platform" in env and env["platform"] in ["x11", "iphone"]:

View file

@ -31,7 +31,7 @@
#ifdef TOOLS_ENABLED
#include "class_db.h"
#include "core/class_db.h"
#include "core/global_constants.h"
#include "core/pair.h"
#include "core/project_settings.h"

View file

@ -30,8 +30,8 @@
#ifndef API_GENERATOR_H
#define API_GENERATOR_H
#include "core/typedefs.h"
#include "core/ustring.h"
#include "typedefs.h"
Error generate_c_api(const String &p_path);

View file

@ -31,11 +31,11 @@
#include "gdnative/gdnative.h"
#include "global_constants.h"
#include "core/global_constants.h"
#include "core/project_settings.h"
#include "io/file_access_encrypted.h"
#include "os/file_access.h"
#include "os/os.h"
#include "project_settings.h"
#include "scene/main/scene_tree.h"
#include "scene/resources/scene_format_text.h"

View file

@ -30,14 +30,14 @@
#ifndef NATIVE_SCRIPT_H
#define NATIVE_SCRIPT_H
#include "core/resource.h"
#include "core/script_language.h"
#include "core/self_list.h"
#include "io/resource_loader.h"
#include "io/resource_saver.h"
#include "ordered_hash_map.h"
#include "os/thread_safe.h"
#include "resource.h"
#include "scene/main/node.h"
#include "script_language.h"
#include "self_list.h"
#include "modules/gdnative/gdnative.h"
#include <nativescript/godot_nativescript.h>