2010-10-17 09:42:49 +00:00
|
|
|
/* ZZ Open GL graphics plugin
|
|
|
|
* Copyright (c)2009-2010 zeydlitz@gmail.com, arcum42@gmail.com
|
|
|
|
* Based on Zerofrog's ZeroGS KOSMOS (c)2005-2008
|
|
|
|
*
|
|
|
|
* 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 2 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; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
2010-10-17 15:49:34 +00:00
|
|
|
#ifndef ZZKICK_H_INCLUDED
|
|
|
|
#define ZZKICK_H_INCLUDED
|
2010-10-17 09:42:49 +00:00
|
|
|
|
2010-10-23 08:15:39 +00:00
|
|
|
#include "Util.h"
|
2010-10-17 09:42:49 +00:00
|
|
|
#include "GS.h"
|
|
|
|
|
|
|
|
extern bool __forceinline NoHighlights(int i);
|
|
|
|
|
2010-10-23 08:15:39 +00:00
|
|
|
class Kick
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
void SET_VERTEX(VertexGPU *p, int i);
|
|
|
|
void SetKickVertex(VertexGPU *p, Vertex v, int next);
|
|
|
|
void OUTPUT_VERT(VertexGPU vert, u32 id);
|
|
|
|
public:
|
|
|
|
Kick() { }
|
|
|
|
~Kick() { }
|
|
|
|
|
|
|
|
void KickVertex(bool adc);
|
|
|
|
void KickVERTEX2();
|
|
|
|
void KickVERTEX3();
|
|
|
|
|
|
|
|
void fn(u32 i);
|
|
|
|
void Point();
|
|
|
|
void Line();
|
|
|
|
void Triangle();
|
|
|
|
void TriangleFan();
|
|
|
|
void Sprite();
|
|
|
|
void Dummy();
|
|
|
|
};
|
|
|
|
extern Kick* ZZKick;
|
2010-10-17 15:49:34 +00:00
|
|
|
|
|
|
|
#endif // ZZKICK_H_INCLUDED
|