Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages
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 00062 struct iVosObject3D : public virtual iBase 00063 { 00065 virtual csRef<iMeshWrapper> GetMeshWrapper() = 0; 00066 00073 virtual csRef<iRigidBody> GetCollider() = 0; 00074 }; 00075 00076 00077 00078 00079 SCF_VERSION (iVosSector, 0, 3, 1); 00080 00083 struct iVosSector : public virtual iBase 00084 { 00091 virtual void Load(iProgressMeter* progress = 0) = 0; 00092 00095 virtual csRef<iSector> GetSector() = 0; 00096 00101 virtual const csSet< csPtrKey<iVosObject3D> > &GetObject3Ds() = 0; 00102 00104 virtual void CacheLightmaps() = 0; 00105 }; 00106 00107 00108 00109 00110 SCF_VERSION (iVosA3DL, 0, 1, 2); 00111 00127 struct iVosA3DL : public virtual iBase 00128 { 00137 virtual csRef<iVosSector> GetSector(const char* url) = 0; 00138 00146 virtual csRef<iVosObject3D> FindVosObject3D(const char* url) = 0; 00147 }; 00148 00149 #endif
Generated for Crystal Space by doxygen 1.4.4