diff --git a/src/presenloader.gd b/src/presenloader.gd index ef77040..4f174c7 100644 --- a/src/presenloader.gd +++ b/src/presenloader.gd @@ -16,28 +16,23 @@ # along with this program. If not, see . extends Node -# Presencode version const version: int = 1 const version_float: float = float(version) -# CORE @onready var core: Core = get_node("/root/CORE") @onready var logger: CoreLoggerInstance = core.logger.get_instance("src/presenloader.gd", self) -# Presentation zip/dir info var path: String = "" var is_file: bool = true var manifest: Dictionary = {} + var entrypoint: Script = null var entrypoint_node: PresencodeEntrypoint = null +var communication: PresencodeCommunication = PresencodeCommunication.new(core, self) -# Access methods var reader: ZIPReader = ZIPReader.new() var diraccess: DirAccess = null -# Communication -var communication: PresencodeCommunication = PresencodeCommunication.new(core, self) - func _ready() -> void: # Register cleanup hook core.register_cleanup_hook(func() -> void: queue_free())