123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #pragma once
- #include "Array.h"
- #include "Critical.h"
- namespace Framework
- {
- class Textur;
-
- class TexturList : public virtual ReferenceCounter
- {
- private:
- static int id;
- static Critical cs;
- RCArray< Textur > *textures;
- RCArray< Text > *names;
- public:
-
- TexturList();
-
- ~TexturList();
-
- DLLEXPORT void leeren();
-
-
-
- DLLEXPORT bool addTextur( Textur *t, const char *name );
-
-
- DLLEXPORT void removeTextur( const char *name );
-
-
-
- DLLEXPORT bool hatTextur( const char *name ) const;
-
-
- DLLEXPORT Textur *getTextur( const char *name ) const;
-
-
- DLLEXPORT Textur *getTextur( int id ) const;
-
-
- DLLEXPORT Textur *zTextur( const char *name ) const;
-
-
- DLLEXPORT Textur *zTextur( int id ) const;
-
- static void init();
-
- static void destroy();
- };
- }
|