00001 #ifndef COMMONVARS_H 00002 #define COMMONVARS_H 00003 #include "plib/pu.h" 00004 00005 // about the display, updated through resize func 00006 extern int display_width; 00007 extern int display_height; 00008 00009 // mainly from gamecore and derived objects, see core.h 00010 extern int game_state; 00011 00012 // pre-game interface 00013 extern puGroup* total_menu; 00014 00015 // in game interface 00016 extern puGroup* overlay_menu; 00017 extern puMenuBar* main_menu; 00018 00019 extern int win_handle; 00020 #endif