From e82dc402052a47b44bb3bcf50ee4801257f92778 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 27 Oct 2014 22:54:32 -0300 Subject: -Much improvement to baked light baker -Fixed many bugs in stretch mode -Fixes to camera project and unproject as consequence of the above -added setget to script (documented in script doc) -more fixes to collada exporter for blender --- modules/gdscript/gd_script.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'modules/gdscript/gd_script.h') diff --git a/modules/gdscript/gd_script.h b/modules/gdscript/gd_script.h index 6f0c156d2..3b183a41b 100644 --- a/modules/gdscript/gd_script.h +++ b/modules/gdscript/gd_script.h @@ -220,11 +220,18 @@ class GDScript : public Script { bool valid; + struct MemberInfo { + int index; + StringName setter; + StringName getter; + }; friend class GDInstance; friend class GDFunction; friend class GDCompiler; friend class GDFunctions; +friend class GDScriptLanguage; + Variant _static_ref; //used for static call Ref native; Ref base; @@ -234,7 +241,7 @@ friend class GDFunctions; Set members; //members are just indices to the instanced script. Map constants; Map member_functions; - Map member_indices; //members are just indices to the instanced script. + Map member_indices; //members are just indices to the instanced script. Map > subclasses; #ifdef TOOLS_ENABLED @@ -288,7 +295,7 @@ public: bool is_tool() const { return tool; } Ref get_base() const; - const Map& debug_get_member_indices() const { return member_indices; } + const Map& debug_get_member_indices() const { return member_indices; } const Map& debug_get_member_functions() const; //this is debug only StringName debug_get_member_by_index(int p_idx) const; -- cgit v1.2.3-70-g09d2