All pastes #1257974 Raw Edit

Stuff

public cpp v1 · immutable
#1257974 ·published 2008-11-16 19:35 UTC
rendered paste body
/*===============================Shared header file for stuff usedthroughout the program. Please comment appropriately.===============================*/#ifndef _TBYSHARED_ #define _TBYSHARED_  #include <iostream>#include <fstream>#include <string>#include <irrlicht.h>#include <irrklang.h>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 varsextern E_DRIVER_TYPE driverType;extern int videoWidth;extern int videoHeight;extern bool fullscreen;//menu system variablesextern bool menuenabled;//device pointersextern IrrlichtDevice* device;extern IGUIEnvironment* guienv;extern ISceneManager* smgr;extern IVideoDriver* driver;//structs//hud.cppvoid DrawBaseGUI(IGUIEnvironment* guienv);//main.cpp//config.cppvoid LoadConfig();void ParseConfigLine(string line);#endif