/* ----------------------------------------------------------------------------- This source file is part of OpenSpace3D For the latest info, see http://www.openspace3d.com Copyright (c) 2012 I-maginer This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, or go to http://www.gnu.org/copyleft/lesser.txt ----------------------------------------------------------------------------- */ /************************************************** OpenSpace 3D Project structure Author: Bastien BOURINEAU / I-maginer Last update: 11.16.2010 **************************************************/ // TODO project DMI struct Project=[ PRJ_sName : S, PRJ_sPath : S, PRJ_xmlFile : XMLfile, PRJ_iCurSceneIdx : I, PRJ_vuiGroup : VUIcontainerGroup, PRJ_group : Group, PRJ_lGroups : [[XMLmark Group] r1], PRJ_lSceneGraph : [[S [EdTreeItem I S XMLmark S XMLmark I]] r1], PRJ_cbObjectLoaded : fun [Project XMLmark S I] I, PRJ_cbGroupLoaded : fun [Project Group] I, PRJ_cbSceneLoaded : fun [Project] I, PRJ_cbSceneDestroyed : fun [Project] I, PRJ_bUseEnvironment : I, PRJ_trmLoad : Timer, PRJ_PRS : [[F F F] [F F F F] [F F F]], PRJ_bMode : I, // 0 Player, 1 Editor, 2 PlugIT, 3 PlugIT with shared ressource group PRJ_netUser : NetUser, // Does this project created for a special network user, it allow to filter user items PRJ_sDefaultGroup : S, // default resource group PRJ_bPluginsLoaded : I ] mkProject;; struct Group=[ GRP_sName : S, GRP_xmlMark : XMLmark, GRP_project : Project, GRP_shell : SO3_OBJECT, GRP_lLoadedResourcesFiles : [S r1], GRP_lAvailableResourcesFiles : [S r1], GRP_lTextureResources : [S r1], GRP_lShaderResources : [S r1], GRP_lProgramResources : [S r1], GRP_lMaterialResources : [S r1], GRP_lCompositorResources : [S r1], GRP_lSkeletonResources : [S r1], GRP_lMeshResources : [S r1], GRP_lParticleResources : [S r1], GRP_lOtherResources : [S r1], GRP_iWaitForLoad : I, GRP_tabPlugins : EdTab, GRP_mePlugins : EdControl, GRP_lLinks : [GroupLink r1], GRP_lInstance : [PInstance r1] ] mkGroup;; struct GroupLink=[ GRPL_xmlMark : XMLmark, GRPL_strLink : EdModuleLink, GRPL_sSrcEdBox : S, GRPL_sDstEdBox : S, GRPL_sSrcGroup : S, GRPL_sDstGroup : S, GRPL_sSrcInst : S, GRPL_sDstInst : S ] mkGroupLink;; typeof lTmpFunctionsImport = [[S S] r1];;