12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #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();
- };
- }
|