--- ray/src/rt/rpaint.h 2008/09/05 19:45:41 2.9 +++ ray/src/rt/rpaint.h 2016/03/06 01:13:18 2.12 @@ -1,4 +1,4 @@ -/* RCSid $Id: rpaint.h,v 2.9 2008/09/05 19:45:41 greg Exp $ */ +/* RCSid $Id: rpaint.h,v 2.12 2016/03/06 01:13:18 schorsch Exp $ */ /* * rpaint.h - header file for image painting. */ @@ -12,6 +12,14 @@ extern "C" { #endif +#if defined(_WIN32) || defined(_WIN64) + /* stupid Windows name collisions */ + #undef COORD + #define COORD radCOORD + #undef RECT + #define RECT radRECT +#endif + typedef short COORD; /* an image coordinate */ typedef struct pnode { @@ -78,6 +86,7 @@ extern void getaim(char *s); extern void getmove(char *s); extern void getrotate(char *s); extern void getpivot(char *s); +extern void getorigin(char *s); extern void getexposure(char *s); extern int getparam(char *str, char *dsc, int typ, void *p); extern void setparam(char *s);