summaryrefslogblamecommitdiffstats
path: root/tools/ArtChecker/badlist.hpp
blob: 727ca470beb2a6465ca2ad2087562d7637fb8a26 (plain) (tree)
































                                                                                                  
//#define max_items 200
struct entity_data 
{

	char name [40];
	unsigned int occurances;
    unsigned int size;
};


class badlist
{
	public:


		int add (const char * name,const unsigned int occurances,const unsigned int size);
		int inlist (const char * name);
        int getsize();
        int getindexcount();
        int printverbose();
          
        badlist ();
        badlist (const unsigned int arraysize);
        ~badlist();

	private:
		unsigned int max_items;
		entity_data* data_array ;
		unsigned int index;
        unsigned int totalmemoryusage;

};