/*---------------------------------------------------------------------------* Project: NintendoWare File: gfx_ResParticleModel.cpp Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo and/or its licensed developers and are protected by national and international copyright laws. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. The content herein is highly confidential and should be handled accordingly. $Revision: $ *---------------------------------------------------------------------------*/ #include "../precompiled.h" #include #include #include #include #include #include #include #include namespace nw { namespace gfx { namespace res { /*!--------------------------------------------------------------------------* @brief リソースの初期化処理をおこないます。 *---------------------------------------------------------------------------*/ void ResParticleModel::Setup() { NW_ASSERT( this->IsValid() ); NW_ASSERT( internal::ResCheckRevision( *this ) ); //ResModel::Setup(); s32 particleSetNum = this->GetParticleSetsCount(); for ( int i = 0; i < particleSetNum; ++i ) { ResParticleSet particleSet = this->GetParticleSets( s32(i) ); particleSet.Setup(); } } } /* namespace res */ } /* namespace gfx */ } /* namespace nw */