X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=config.hh;h=d189972e48e6a0c744e844ae50e87295e82e8562;hb=9f13ae5fe777dd4f7a9302f6dcf3e0d99a1ce65d;hp=651b600ec2f7fe80c649586fc29fd6d065717302;hpb=03be53bf14d0c2e1e3e19356376491945cdd78c8;p=chaz%2Frasterize diff --git a/config.hh b/config.hh index 651b600..d189972 100644 --- a/config.hh +++ b/config.hh @@ -73,6 +73,39 @@ #define IF_NDEBUG(X) #endif +/* + * SHADOWS + * If enabled, scene elements will cast shadows on other elements. + */ +#if SHADOWS +#define IF_SHADOWS(X) X +#else +#define IF_SHADOWS(X) +#endif + +/* + * TEXTURING + * If enabled, the first element of a scene will be textured with the + * raster from texture.ppm or texture.bmp. + */ +#if TEXTURING +#define IF_TEXTURING(X) X +#else +#define IF_TEXTURING(X) +#endif + +/* + * QUIRKS + * If enabled, compatibility quirks particular to the project assignment + * will be turned on, causing the output to match more closely with the + * provided examples. + */ +#if QUIRKS +#define IF_QUIRKS(X) X +#else +#define IF_QUIRKS(X) +#endif + /* * VERBOSITY * If enabled, a description of what is happening will be printed to stdout.