CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | 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 #include "csutil/ref.h"
00025 #include "iengine/mesh.h"
00026 #include "iengine/sector.h"
00027 #include "ivaria/dynamics.h"
00028 #include "csutil/hash.h"
00029 
00050 SCF_VERSION (iVosObject3D, 0, 1, 1);
00051 
00058 struct iVosObject3D : public iBase
00059 {
00061   virtual csRef<iMeshWrapper> GetMeshWrapper() = 0;
00062 
00069   virtual csRef<iRigidBody> GetCollider() = 0;
00070 };
00071 
00072 
00073 
00074 
00075 SCF_VERSION (iVosSector, 0, 1, 1);
00076 
00079 struct iVosSector : public iBase
00080 {
00086   virtual void Load() = 0;
00087 
00090   virtual csRef<iSector> GetSector() = 0;
00091 
00096   virtual const csSet<iVosObject3D*> &GetObject3Ds() = 0;
00097 };
00098 
00099 
00100 
00101 
00102 SCF_VERSION (iVosA3DL, 0, 1, 1);
00103 
00119 struct iVosA3DL : public iBase
00120 {
00127   virtual csRef<iVosSector> GetSector(const char*) = 0;
00128 };
00129 
00130 #endif

Generated for Crystal Space by doxygen 1.3.9.1