summaryrefslogblamecommitdiffstats
path: root/tools/DSGmaker/DynaDSGList.hpp
blob: 3ba56a65d1870dcf224c4da0de1014233af8311f (plain) (tree)





















                                                                                          
#ifndef DYNADSGLIST_H
#define DYNADSGLIST_H

//custom list class,stores the address of DynaPhysDSG in a array,that i create in DSGmaker

class tlDynaPhysDSGChunk ;

class DynaPhysDSGList 
{
    public:
        DynaPhysDSGList();
        virtual ~DynaPhysDSGList();
        int AddDyna(tlDynaPhysDSGChunk*  p_dyna);
        unsigned int GetIndexCount();
        tlDynaPhysDSGChunk* GetDyna(const char* name);
        

    private:
        tlDynaPhysDSGChunk** mp_list;
        unsigned int mindex;        
};
#endif //end of file