Use configured resolution for login/outgame/ingame
[ryzomcore.git] / ryzom / tools / leveldesign / georges_convert / mold_elt.cpp
blob7501ac1edda0ea19a0a45e4041c03a2a9794c50f
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #include "stdgeorgesconvert.h"
18 #include "mold_elt.h"
20 namespace NLOLDGEORGES
23 //////////////////////////////////////////////////////////////////////
24 // Construction/Destruction
25 //////////////////////////////////////////////////////////////////////
27 CMoldElt::CMoldElt( CLoader* const _pl )
29 pl = _pl;
30 benum = false;
31 blist = false;
34 CMoldElt::~CMoldElt()
38 CStringEx CMoldElt::GetFormula()
40 return sxname;
43 void CMoldElt::Load( const CStringEx _sxfullname )
47 void CMoldElt::Load( const CStringEx _sxfullname, const CStringEx _sxdate )
51 CStringEx CMoldElt::GetEltName( const unsigned int _index ) const
53 CStringEx object;
54 return( object );
57 CMoldElt* CMoldElt::GetEltPtr( const unsigned int _index ) const
59 return( 0 );
62 unsigned int CMoldElt::GetType() const
64 return( -1 );
67 CStringEx CMoldElt::GetName() const
69 return( sxname );
72 void CMoldElt::SetName( const CStringEx& _sxname )
74 sxname = _sxname;
77 bool CMoldElt::IsEnum() const
79 return( benum );
82 bool CMoldElt::IsList() const
84 return( blist );
87 CMoldElt* CMoldElt::GetMold()
89 return( this );