inetwork/vosa3dl.h
Go to the documentation of this file.00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 Copyright (C) 2004 by Peter Amstutz <tetron@interreality.org> 00003 Written by Peter Amstutz <tetron@interreality.org> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public 00016 License along with this library; if not, write to the Free 00017 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00018 */ 00019 00020 #ifndef __CS_INETWORK_VOSA3DL_H__ 00021 #define __CS_INETWORK_VOSA3DL_H__ 00022 00023 #include "csutil/scf.h" 00024 00025 #include "csutil/set.h" 00026 00027 struct iMeshWrapper; 00028 struct iProgressMeter; 00029 struct iRigidBody; 00030 struct iSector; 00031 00054 SCF_VERSION (iVosObject3D, 0, 1, 1); 00055 00063 struct iVosObject3D : public virtual iBase 00064 { 00066 virtual csRef<iMeshWrapper> GetMeshWrapper() = 0; 00067 00075 virtual csRef<iRigidBody> GetCollider() = 0; 00076 }; 00077 00078 SCF_VERSION (iVosSector, 0, 3, 1); 00079 00082 struct iVosSector : public virtual iBase 00083 { 00091 virtual void Load(iProgressMeter* progress = 0) = 0; 00092 00097 virtual csRef<iSector> GetSector() = 0; 00098 00104 virtual const csSet< csPtrKey<iVosObject3D> > &GetObject3Ds() = 0; 00105 00107 virtual void CacheLightmaps() = 0; 00108 }; 00109 00110 00111 00112 00113 SCF_VERSION (iVosA3DL, 0, 1, 2); 00114 00130 struct iVosA3DL : public virtual iBase 00131 { 00141 virtual csRef<iVosSector> GetSector(const char* url) = 0; 00142 00151 virtual csRef<iVosObject3D> FindVosObject3D(const char* url) = 0; 00152 }; 00153 00154 #endif
Generated for Crystal Space by doxygen 1.4.6