/* "grades.c" * has code for selecting grade levels, * PLUS init for the showinorder stuffs */ #include #include #include #include #include #include #include #include "defs.h" #include "externs.h" #include "game.h" #include "grades.h" #include "options.h" #include "utils.h" /* [0] is "all" button */ Widget gradeButtons[8]; int gradelevelflags; /* printgrades: * update grade widgets, cause the stupid things don't seem to want * to start as they SHOULD start. Grrr... * CANNOT CALL THIS from a grade button callback, due to * BUG in Xaw.so.6 */ void printgrades(){ int buttonloop; for(buttonloop=1;buttonloop<8;buttonloop++){ if(gradelevelflags & (1<