12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- #ifndef Globals_H
- #define Globals_H
- #include "Critical.h"
- #include "Punkt.h"
- #ifdef WIN32
- # include "Maus.h"
- #endif
- #ifndef Global
- # define Global extern
- #endif
- struct HINSTANCE__;
- namespace Framework
- {
- class ThreadRegister;
- class Thread;
- class Model3DList;
- class TexturList;
- class Datei;
- class DLLRegister;
- namespace Logging
- {
- class LoggingHandler;
- }
- #ifdef WIN32
- class Maus;
- class WFensterArray;
- Global WFensterArray WFensterA;
- Global bool MausTrack;
- Global Maus MausZeiger;
- Global bool msgExit;
- #endif
- Global bool MausStand[3];
- Global bool istInitialisiert;
- Global ThreadRegister* thRegister;
- Global Critical logC;
- Global HINSTANCE__* _hinst;
- Global DLLRegister* dlls;
- Global bool debugDX;
- Global bool cursorVisible;
- Global Logging::LoggingHandler* loggingHandler;
- #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 initFramework(HINSTANCE__* hInst = 0);
-
-
- DLLEXPORT void releaseFramework();
-
-
-
-
- DLLEXPORT bool istThreadOk(Thread* t);
-
- DLLEXPORT ThreadRegister* getThreadRegister();
-
-
- DLLEXPORT DLLRegister* getDLLRegister();
-
- DLLEXPORT void setDebugDX(bool debug);
- #ifdef WIN32
-
- DLLEXPORT Maus& getMaus();
-
- DLLEXPORT void setShowCursor(bool visible);
- #endif
- }
- #endif
|