summaryrefslogtreecommitdiffstats
path: root/tools/DSGmaker/InstaStaticPhysDSGList.hpp
blob: 2f9fc1a6cdd7d148fa923d0bf58494d8b9ac6e88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef INSTAPHYSDSGLIST_H
#define INSTAPHYSDSGLIST_H

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

class tlInstaStaticPhysDSGChunk ;

class InstaStaticPhysDSGList 
{
    public:
        InstaStaticPhysDSGList();
        virtual ~InstaStaticPhysDSGList();
        int AddInstaStaticPhys(tlInstaStaticPhysDSGChunk*  p_insta);
        tlInstaStaticPhysDSGChunk* GetInstaStaticPhys(const char* name);         

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