#pragma once

//#ifndef __XSTRING_H
//#define __XSTRING_H

#ifdef __WATCOMC__
#pragma library("render16.lib")
#endif

#ifdef __cplusplus
extern "C" {
#endif
//---------------------------------------------------------------------------//
#include "formats/v3o.h"
#include "vmath/vector.h"
#include "drivers/drv16.h"


void wire_polygon (DRV *, V3OSURFACE *, VECTOR *);
void flat_polygon (DRV *, V3OSURFACE *, VECTOR *,RGBA,float);
void gourade_polygon (DRV *, V3OSURFACE *, VECTOR *,RGBA,float,float,float);
void envmap_polygon (DRV *, V3OSURFACE *, VECTOR *, VECTOR *,V3OTEXTURE *);
void texture_polygon (DRV *, V3OSURFACE *, VECTOR *,V3OTEXTURE *);
void texture_flat_polygon (DRV *, V3OSURFACE *, VECTOR *,float,V3OTEXTURE *);
void texture_gourade_polygon (DRV *, V3OSURFACE *, VECTOR *,float,float,float,V3OTEXTURE *);



//---------------------------------------------------------------------------//
#ifdef __cplusplus
}
#endif
//#endif
