interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

/home/tetron/hack/vos/libs/vos/csplugin/vosbillboard.hh

Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002    $Id: vosbillboard.h,v 1.3 2004/06/07 08:57:20 tetron Exp $
00003 
00004     This file is part of Crystal Space Virtual Object System Abstract
00005     3D Layer plugin (csvosa3dl).
00006 
00007     Copyright (C) 2004 Peter Amstutz
00008 
00009     This program is free software; you can redistribute it and/or modify
00010     it under the terms of the GNU Lesser General Public License as published by
00011     the Free Software Foundation; either version 2 of the License, or
00012     (at your option) any later version.
00013 
00014     This library is distributed in the hope that it will be useful,
00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017     GNU Lesser General Public License for more details.
00018 
00019     You should have received a copy of the GNU Lesser General Public License
00020     along with this program; if not, write to the Free Software
00021     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022 */
00023 
00024 #ifndef _VOSBILLBOARD_H_
00025 #define _VOSBILLBOARD_H_
00026 
00027 #include <vos/metaobjects/a3dl/billboard.hh>
00028 #include "ivosa3dl.hh"
00029 #include "csvosa3dl.hh"
00030 #include "vosobject3d.hh"
00031 
00032 class csMetaBillboard : public virtual csMetaObject3D,
00033   public virtual A3DL::Billboard
00034 {
00035 private:
00036   bool alreadyLoaded;
00037 public:
00038   csMetaBillboard(VOS::VobjectBase* superobject);
00039 
00040   static VOS::MetaObject* new_csMetaBillboard(VOS::VobjectBase* superobject,
00041     const std::string& type);
00042 
00043   virtual void Setup(csVosA3DL* vosa3dl, csVosSector* sect);
00044 };
00045 
00046 #endif