diff options
Diffstat (limited to 'tools/ArtChecker/badlist.hpp')
-rw-r--r-- | tools/ArtChecker/badlist.hpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/ArtChecker/badlist.hpp b/tools/ArtChecker/badlist.hpp new file mode 100644 index 0000000..727ca47 --- /dev/null +++ b/tools/ArtChecker/badlist.hpp @@ -0,0 +1,33 @@ +//#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; + +}; + |