123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #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;
- Global Punkt mausPos;
- #endif
- Global bool TastenStand[ 255 ];
- Global bool MausStand[ 3 ];
- Global Model3DList *m3dRegister;
- Global bool istInitialisiert;
- Global ThreadRegister *thRegister;
- Global bool logEnabled;
- Global Datei *logFile;
- Global Critical logC;
- Global HINSTANCE__ *_hinst;
- Global DLLRegister *dlls;
- #ifdef WIN32
-
- DLLEXPORT const Punkt &getMausPos();
- #endif
-
-
-
- DLLEXPORT bool getMausStand( int taste );
-
-
-
- DLLEXPORT bool getTastenStand( unsigned char taste );
-
-
-
-
- DLLEXPORT void setTastenStand( unsigned char taste, bool st );
-
- DLLEXPORT Model3DList *zM3DRegister();
-
-
- 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();
- #ifdef WIN32
-
- DLLEXPORT Maus &getMaus();
- #endif
- }
- #endif
|