diff -r 59f014d22a38 -r ff4ecea83cf5 src/Engine.hh --- a/src/Engine.hh Sat Dec 06 22:36:38 2008 +0000 +++ b/src/Engine.hh Sat Dec 06 22:47:08 2008 +0000 @@ -26,12 +26,12 @@ // to exit the mainloop bool is_running; - // global... - static bool _graphicsEnabled; + // ClanLib resources + CL_ResourceManager resources; public: // default constructor - Engine (void); + Engine (const std::string resource_xml_path = RESOURCE_XML_PATH); // setup graphics void setupGraphics (void); @@ -49,8 +49,8 @@ void stop (void); public: - // avoid loading resources for graphics if we're not going to use them - static bool graphicsEnabled (void); + // get a pointer to our resource manager + CL_ResourceManager* getResourceManager (void); // logging utility static Logger log (enum LogLevel level, const char *type);