2007-06-28 10:47:08 -07:00
|
|
|
/***************************************************************************/
|
|
|
|
/*
|
|
|
|
* pieclip.h
|
|
|
|
*
|
|
|
|
* clipping for all pumpkin image library functions.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _pieclip_h
|
|
|
|
#define _pieclip_h
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
|
2006-05-27 09:37:17 -07:00
|
|
|
#include "lib/framework/frame.h"
|
2007-06-28 10:47:08 -07:00
|
|
|
#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);
|
2006-11-03 17:11:26 -08:00
|
|
|
BOOL pie_SetVideoBufferDepth(UDWORD depth);
|
|
|
|
BOOL pie_SetVideoBufferWidth(UDWORD width);
|
|
|
|
BOOL pie_SetVideoBufferHeight(UDWORD height);
|
|
|
|
UDWORD pie_GetVideoBufferDepth( void );
|
2006-03-17 17:59:59 -08:00
|
|
|
UDWORD pie_GetVideoBufferWidth( void );
|
|
|
|
UDWORD pie_GetVideoBufferHeight( void );
|
2007-06-28 10:47:08 -07:00
|
|
|
|
|
|
|
#endif // _pieclip_h
|