1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- #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;
- #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 bool logEnabled;
- Global Datei* logFile;
- Global Critical logC;
- Global HINSTANCE__* _hinst;
- Global DLLRegister* dlls;
- Global bool debugDX;
- Global bool cursorVisible;
- #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 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
|