/*=============================== Shared header file for stuff used throughout the program. Please comment appropriately. ===============================*/ #ifndef _TBYSHARED_ #define _TBYSHARED_ #include #include #include #include #include using namespace irr; using namespace irr::video; using namespace irr::gui; using namespace irr::scene; using namespace irrklang; using namespace std; //useful definitions #define TBY_BUILDVER 1 //global video confiv vars extern E_DRIVER_TYPE driverType; extern int videoWidth; extern int videoHeight; extern bool fullscreen; //menu system variables extern bool menuenabled; //device pointers extern IrrlichtDevice* device; extern IGUIEnvironment* guienv; extern ISceneManager* smgr; extern IVideoDriver* driver; //structs //hud.cpp void DrawBaseGUI(IGUIEnvironment* guienv); //main.cpp //config.cpp void LoadConfig(); void ParseConfigLine(string line); #endif