#include #include main(int argc,char *argv[]) { long config, inq; char mierda[64]; gversion(mierda); printf("Version=%s\n",mierda); printf("Standard Mode:\n"); printf("GC_BITS_CMODE \t%d\n",getgconfig(GC_BITS_CMODE)); printf("GC_BITS_RED \t%d\n",getgconfig(GC_BITS_RED)); printf("GC_BITS_GREEN \t%d\n",getgconfig(GC_BITS_GREEN)); printf("GC_BITS_BLUE \t%d\n",getgconfig(GC_BITS_BLUE)); printf("GC_BITS_ALPHA \t%d\n",getgconfig(GC_BITS_ALPHA)); printf("GC_BITS_ZBUFFER \t%d\n",getgconfig(GC_BITS_ZBUFFER)); printf("GC_BITS_STENCIL \t%d\n",getgconfig(GC_BITS_STENCIL)); printf("GC_BITS_ACBUF \t%d\n",getgconfig(GC_BITS_ACBUF)); printf("GC_ZMIN \t%d\n",getgconfig(GC_ZMIN)); printf("GC_ZMAX \t%d\n",getgconfig(GC_ZMAX)); printf("Double Buffer Mode:\n"); printf("GC_DOUBLE \t%d\n",getgconfig(GC_DOUBLE)); printf("Multi Sampling Mode:\n"); printf("GC_MS_SAMPLES \t%d\n",getgconfig(GC_MS_SAMPLES)); printf("GC_BITS_MS_ZBUFFER \t%d\n",getgconfig(GC_BITS_MS_ZBUFFER)); printf("GC_MS_ZMIN \t%d\n",getgconfig(GC_MS_ZMIN)); printf("GC_MS_ZMAX \t%d\n",getgconfig(GC_MS_ZMAX)); printf("GC_BITS_MS_STENCIL \t%d\n",getgconfig(GC_BITS_MS_STENCIL)); printf("Stereo Mode:\n"); printf("GC_STEREO \t%d\n",getgconfig(GC_STEREO)); }