//---------------------------------------------------------------------------// // Neon v2.5 // Copyright (C) 2006,2008 Jordi Ros // www.neonv2.com / www.xplsv.com // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program called license.txt // If not, see // //---------------------------------------------------------------------------// #ifndef FILTERSPRITER_H #define FILTERSPRITER_H #include "Filter.h" class CFilterSpriter : public CFilter { public: virtual ~CFilterSpriter () { End(); } virtual bool Init (COptions &aOptions); virtual void End (); virtual void SetTime (float fTime); virtual bool Apply (CDisplayDevice *pDD, int iTexSrc, int iTexTgt); virtual TCtrlVar *GetVarCtrls (); virtual void SetVar (int iVar, void *pData); virtual void *GetVar (int iVar); private: int m_iSprite; float m_fResolution; float m_fMinSize; float m_fMaxSize; }; #endif