123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #pragma once
- #include "Array.h"
- #include "Critical.h"
- namespace Framework
- {
- class Model3DData;
- class Text;
- class Model3D;
- namespace Standart3DTypes
- {
- extern const char *cube;
- };
-
- class Model3DList
- {
- private:
- static int id;
- static Critical cs;
- RCArray< Model3DData > *models;
- RCArray< Text > *names;
- int ref;
- public:
-
- Model3DList();
-
- ~Model3DList();
-
-
-
- bool addModel( Model3DData *mdl, const char *name );
-
-
- void removeModel( const char *name );
-
-
-
- bool hatModel( const char *name ) const;
-
-
- Model3DData *getModel( const char *name ) const;
-
-
- Model3DData *zModel( const char *name ) const;
-
-
- Model3DList *getThis();
-
-
- Model3DList *release();
-
- static void init();
-
- static void destroy();
- };
- }
|