Filter:   InfoImg
download artfactory.h
Language: C++
LOC: 18
Project Info
Ultima Online Project(uop)
Server: SourceForge
Type: cvs
SourceForge\u\uop\uop\uop\
   acinclude.m4
   aclocal.m4
   action.cc
   action.h
   animation.cc
   animation.h
   artexport.cc
   artfactory.cc
   artfactory.h
   audio.cc
   audio.h
   btree.cc
   btree.h
   cache.h
   cliloc.cc
   cliloc.h
   config.h.in
   configure.in
   cvs2cl.pl
   entity.cc
   entity.h
   gumps.cc
   gumps.h
   interface.cc
   interface.h
   interfacegumps.cc
   interfacegumps.h
   interfacehandler.cc
   interfacehandler.h
   intrface.def
   Makefile.am
   Makefile.in
   message.cc
   message.h
   musicmap.def
   network.cc
   network.h
   patchhandler.cc
   patchhandler.h
   readable.pl
   serverhandler.cc
   serverhandler.h
   sprite.cc
   sprite.h
   stamp-h.in
   texthandler.cc
   texthandler.h
   tiledata.cc
   tiledata.h
   unreadable.pl
   uop.cc
   uop.cfg
   uop.dox
   uop.h
   uopconfig.cc
   uopconfig.h
   uosprite.h
   uostub.pl
   world.cc
   world.h

#ifndef __ARTFACTORY_H__
#define __ARTFACTORY_H__

#include <SDL/SDL.h>
#include <fstream>
#include <string>
#include "uosprite.h"
#include "artfactory.h"


class ArtFactory
{
 public:
	ArtFactory(string indexfile, string artfile);
	void produce(Uint32 index, UOSprite &sprite);
	void recycle(UOSprite &sprite);
 private:
        ifstream artidx; /**< artidx.mul filehandle */
        ifstream artfile; /**< art.mul filehandle */
			
};

#endif