2007-06-28 10:47:08 -07:00
|
|
|
/***************************************************************************/
|
|
|
|
/*
|
|
|
|
* pieclip.h
|
|
|
|
*
|
|
|
|
* clipping for all pumpkin image library functions.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _pieclip_h
|
|
|
|
#define _pieclip_h
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
#include "frame.h"
|
|
|
|
#include "piedef.h"
|
|
|
|
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
/*
|
|
|
|
* Global Definitions
|
|
|
|
*/
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
#define CLIP_BORDER 0
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
/*
|
|
|
|
* Global ProtoTypes
|
|
|
|
*/
|
|
|
|
/***************************************************************************/
|
2006-03-17 17:59:59 -08:00
|
|
|
void pie_Set2DClip(int x0, int y0, int x1, int y1);
|
|
|
|
int pie_ClipTextured(int npoints, PIEVERTEX *points, PIEVERTEX *clip, BOOL bSpecular);
|
|
|
|
int pie_ClipTexturedTriangleFast(PIEVERTEX *v1, PIEVERTEX *v2, PIEVERTEX *v3, PIEVERTEX *clipped, BOOL bSpecular);
|
|
|
|
BOOL pie_SetVideoBuffer(UDWORD width, UDWORD height);
|
|
|
|
UDWORD pie_GetVideoBufferWidth( void );
|
|
|
|
UDWORD pie_GetVideoBufferHeight( void );
|
2007-06-28 10:47:08 -07:00
|
|
|
|
|
|
|
#endif // _pieclip_h
|