123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- #ifndef Globals_H
- #define Globals_H
- #include "Punkt.h"
- #include "Critical.h"
- #ifndef Global
- #define Global extern
- #endif
- struct HINSTANCE__;
- namespace Framework
- {
- class ThreadRegister;
- class Thread;
- class Model3DList;
- class TexturList;
- class Datei;
- class DLLRegister;
- #ifdef WIN32
- class Maus;
- class WFensterArray;
- Global WFensterArray WFensterA;
- Global bool MausTrack;
- Global Maus MausZeiger;
- Global bool msgExit;
- #endif
- Global bool TastenStand[255];
- Global bool MausStand[3];
- Global bool istInitialisiert;
- Global ThreadRegister* thRegister;
- Global bool logEnabled;
- Global Datei* logFile;
- Global Critical logC;
- Global HINSTANCE__* _hinst;
- Global DLLRegister* dlls;
- Global bool debugDX;
- #ifdef WIN32
-
- DLLEXPORT Punkt getMausPos();
-
- DLLEXPORT void setMausPos(const Punkt& pos);
- #endif
-
-
-
- DLLEXPORT bool getMausStand(int taste);
-
-
-
- DLLEXPORT bool getTastenStand(unsigned char taste);
-
-
-
-
- DLLEXPORT void setTastenStand(unsigned char taste, bool st);
-
-
- DLLEXPORT void initFramework(HINSTANCE__* hInst = 0);
-
-
- DLLEXPORT void releaseFramework();
-
-
-
- DLLEXPORT bool istThreadOk(Thread* t);
-
- DLLEXPORT ThreadRegister* getThreadRegister();
-
- DLLEXPORT void setLogEnabled(bool le);
-
-
- DLLEXPORT void logLine(char* txt);
-
- DLLEXPORT DLLRegister* getDLLRegister();
-
- DLLEXPORT void setDebugDX(bool debug);
- #ifdef WIN32
-
- DLLEXPORT Maus& getMaus();
-
- DLLEXPORT void setShowCursor(bool visible);
- #endif
- }
- #endif
|