summaryrefslogtreecommitdiffstats
path: root/tools/DSGmaker/DynaDSGList.hpp
blob: 3ba56a65d1870dcf224c4da0de1014233af8311f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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