src/Engine.hh
changeset 233 ff4ecea83cf5
parent 218 86d22fe82b30
child 283 7540b0859579
--- 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);