[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Usata-commits] Changes to usata2/src/usata.hpp
From: |
David Lau |
Subject: |
[Usata-commits] Changes to usata2/src/usata.hpp |
Date: |
Mon, 17 Jan 2005 19:12:10 -0500 |
Index: usata2/src/usata.hpp
diff -u usata2/src/usata.hpp:1.9 usata2/src/usata.hpp:1.10
--- usata2/src/usata.hpp:1.9 Sat Jan 15 19:17:35 2005
+++ usata2/src/usata.hpp Tue Jan 18 00:12:08 2005
@@ -10,7 +10,7 @@
// included in the software distribution, or visit
// http://www.fsf.org/licenses/gpl.html.
//
-// $Id: usata.hpp,v 1.9 2005/01/15 19:17:35 skunix Exp $
+// $Id: usata.hpp,v 1.10 2005/01/18 00:12:08 skunix Exp $
#ifndef USATA_USATA_HPP
#define USATA_USATA_HPP
@@ -21,6 +21,7 @@
{
class TextureManager;
+ class ImageManager;
class Object;
class SceneManager;
@@ -28,7 +29,8 @@
{
private:
void setup_video();
- std::auto_ptr<TextureManager> texture_manager;
+ //std::auto_ptr<TextureManager> texture_manager;
+ std::auto_ptr<ImageManager> image_manager;
std::auto_ptr<SceneManager> scene_manager;
bool quit;
public:
@@ -38,8 +40,7 @@
int loop();
SceneManager& scene() const { return *scene_manager.get(); }
- TextureManager& textures() const { return
*texture_manager.get();}
-
+ ImageManager& images()const{return *image_manager.get();}
};
}