/[usata]/usata2/src/texture-manager.cpp
ViewVC logotype

Diff of /usata2/src/texture-manager.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by skunix, Sun Dec 26 09:35:23 2004 UTC revision 1.5 by Descender, Sun Dec 26 18:36:42 2004 UTC
# Line 11  Line 11 
11  // http://www.fsf.org/licenses/gpl.html.  // http://www.fsf.org/licenses/gpl.html.
12  //  //
13  // $Id$  // $Id$
 // $Log$  
 // Revision 1.4  2004/12/26 09:35:23  skunix  
 // use logging functionality  
 //  
 // Revision 1.3  2004/12/26 08:03:34  skunix  
 // changed lambda::bind's to boost::binds  
 //  
 // Revision 1.2  2004/12/26 02:29:33  skunix  
 // Texture manager basics written, and texture-meta-parser added  
 //  
 // Revision 1.1  2004/12/25 19:01:59  skunix  
 // started texture-related classes  
 //  
14    
15  #include "texture.hpp"  #include "texture.hpp"
16  #include <ext/hash_map>  #include <ext/hash_map>
# Line 158  void Line 145  void
145  TextureManager::load_path(const boost::filesystem::path& p)  TextureManager::load_path(const boost::filesystem::path& p)
146  {  {
147          using boost::filesystem::path;          using boost::filesystem::path;
148          log::Stream2 logstream; //(&log::server, log::Level::INFO);          log::BufferedStream logstream; //(&log::server, log::Level::INFO);
149          path mf = p / "textures" / "meta";          path mf = p / "textures" / "meta";
150          logstream << (boost::format("Loading texture metadata from '%1%'")%mf.native_file_string()).str() << log::Commit;          logstream << (boost::format("Loading texture metadata from '%1%'")%mf.native_file_string()).str() << log::commit;
151                    
152    
153          texture_meta_parse(mf,          texture_meta_parse(mf,

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26